[INFO] cloning repository https://github.com/halfbeep/workers
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/halfbeep/workers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhalfbeep%2Fworkers", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhalfbeep%2Fworkers'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 606eacbb835dc291424f2aa00435d8b77ff51078
[INFO] testing halfbeep/workers against 1.98.0-beta.1 for beta-1.98-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhalfbeep%2Fworkers" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/halfbeep/workers
[INFO] finished tweaking git repo https://github.com/halfbeep/workers
[INFO] tweaked toml for git repo https://github.com/halfbeep/workers written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/halfbeep/workers on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/halfbeep/workers already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0325f2d39fd78f3102994293009004750299efbca3e6c13d21fe33dcebd93091
[INFO] running `Command { std: "docker" "start" "0325f2d39fd78f3102994293009004750299efbca3e6c13d21fe33dcebd93091", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0325f2d39fd78f3102994293009004750299efbca3e6c13d21fe33dcebd93091", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0325f2d39fd78f3102994293009004750299efbca3e6c13d21fe33dcebd93091" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0325f2d39fd78f3102994293009004750299efbca3e6c13d21fe33dcebd93091", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0325f2d39fd78f3102994293009004750299efbca3e6c13d21fe33dcebd93091" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tokio v1.39.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling workers v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `tokio::task`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::task;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: future cannot be sent between threads safely
[INFO] [stdout]    --> src/main.rs:104:42
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let worker_handle = tokio::spawn(worker(i, task_receiver, result_sender));  // Spawning tasks
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future returned by `worker` is not `Send`
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `impl Future<Output = ()>`, the trait `Send` is not implemented for `Rc<UnsafeCell<ReseedingRng<rand_chacha::chacha::ChaCha12Core, OsRng>>>`
[INFO] [stdout] note: future is not `Send` as this value is used across an await
[INFO] [stdout]    --> src/main.rs:31:62
[INFO] [stdout]     |
[INFO] [stdout]  29 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |         ------- has type `ThreadRng` which is not `Send`
[INFO] [stdout]  30 |     let processing_time = rng.gen_range(1..5);
[INFO] [stdout]  31 |     tokio::time::sleep(Duration::from_secs(processing_time)).await;
[INFO] [stdout]     |                                                              ^^^^^ await occurs here, with `mut rng` maybe used later
[INFO] [stdout] note: required by a bound in `tokio::spawn`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/task/spawn.rs:167:21
[INFO] [stdout]     |
[INFO] [stdout] 165 |     pub fn spawn<F>(future: F) -> JoinHandle<F::Output>
[INFO] [stdout]     |            ----- required by a bound in this function
[INFO] [stdout] 166 |     where
[INFO] [stdout] 167 |         F: Future + Send + 'static,
[INFO] [stdout]     |                     ^^^^ required by this bound in `spawn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `workers` (bin "workers") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "0325f2d39fd78f3102994293009004750299efbca3e6c13d21fe33dcebd93091", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0325f2d39fd78f3102994293009004750299efbca3e6c13d21fe33dcebd93091", kill_on_drop: false }`
[INFO] [stdout] 0325f2d39fd78f3102994293009004750299efbca3e6c13d21fe33dcebd93091
