2 Checking hello v0.1.0 (file:///projects/hello)
3 error[E0382]: use of moved value: `receiver`
6 22 | let (sender, receiver) = mpsc::channel();
7 | -------- move occurs because `receiver` has type `std::sync::mpsc::Receiver<Job>`, which does not implement the `Copy` trait
9 27 | workers.push(Worker::new(id, receiver));
10 | ^^^^^^^^ value moved here, in previous iteration of loop
12 For more information about this error, try `rustc --explain E0382`.
13 error: could not compile `hello` due to previous error