Sweep fails

 From:  Phiro
10385.9 
STEP 1 Extrude


STEP 2 Draw a line


STEP 3 Flow with your rail (don't miss the stretch option)



Is this what you want ?

Next delete the 2 solids done with extrude...