Student or Learner
active voice : don't waste your time
passive voice : let your time not be wasted (or)
let your time not to be wasted (which is correct)
How about 'Don't let your time be wasted'? The first of your sentences is OK, the second is wrong because of 'to'.