Spin-orbit-free Weyl-loop and Weyl-point semimetals in a stable three-dimensional carbon allotrope