[INFO] cloning repository https://github.com/dkeriazisStuy/Connect4Manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dkeriazisStuy/Connect4Manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdkeriazisStuy%2FConnect4Manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdkeriazisStuy%2FConnect4Manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab85dbb24b2d93d74acc7abcf588ba3b587dcc6f [INFO] testing dkeriazisStuy/Connect4Manager against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdkeriazisStuy%2FConnect4Manager" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dkeriazisStuy/Connect4Manager on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dkeriazisStuy/Connect4Manager [INFO] finished tweaking git repo https://github.com/dkeriazisStuy/Connect4Manager [INFO] tweaked toml for git repo https://github.com/dkeriazisStuy/Connect4Manager written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/dkeriazisStuy/Connect4Manager already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7479670e957a4212479e6809feada527e18339721546fc3496f4b2c6213c3126 [INFO] running `Command { std: "docker" "start" "-a" "7479670e957a4212479e6809feada527e18339721546fc3496f4b2c6213c3126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7479670e957a4212479e6809feada527e18339721546fc3496f4b2c6213c3126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7479670e957a4212479e6809feada527e18339721546fc3496f4b2c6213c3126", kill_on_drop: false }` [INFO] [stdout] 7479670e957a4212479e6809feada527e18339721546fc3496f4b2c6213c3126 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e63ea2c9b4e4232a2e2cd31cd549059b457f25e00f52916aeea61eb7a7754ec [INFO] running `Command { std: "docker" "start" "-a" "6e63ea2c9b4e4232a2e2cd31cd549059b457f25e00f52916aeea61eb7a7754ec", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling ncurses v5.98.0 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling battle_bots v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let s = thread::spawn(move || { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `cmd` does not live long enough [INFO] [stdout] --> src/main.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 41 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- lifetime `'1` appears in the type of `tx` [INFO] [stdout] ... [INFO] [stdout] 53 | tx.send(&mut cmd).unwrap(); [INFO] [stdout] | --------^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `cmd` is borrowed for `'1` [INFO] [stdout] ... [INFO] [stdout] 56 | }); [INFO] [stdout] | - `cmd` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `cmd` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 41 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- lifetime `'1` appears in the type of `tx` [INFO] [stdout] ... [INFO] [stdout] 53 | tx.send(&mut cmd).unwrap(); [INFO] [stdout] | ----------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `cmd` is borrowed for `'1` [INFO] [stdout] 54 | cmd.wait(); [INFO] [stdout] | ^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `cmd` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 41 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- lifetime `'1` appears in the type of `tx` [INFO] [stdout] ... [INFO] [stdout] 53 | tx.send(&mut cmd).unwrap(); [INFO] [stdout] | ----------------- [INFO] [stdout] | | | [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | argument requires that `cmd` is borrowed for `'1` [INFO] [stdout] 54 | cmd.wait(); [INFO] [stdout] 55 | tx.send(&mut cmd).unwrap(); [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut child = rx.recv().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `battle_bots` due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6e63ea2c9b4e4232a2e2cd31cd549059b457f25e00f52916aeea61eb7a7754ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e63ea2c9b4e4232a2e2cd31cd549059b457f25e00f52916aeea61eb7a7754ec", kill_on_drop: false }` [INFO] [stdout] 6e63ea2c9b4e4232a2e2cd31cd549059b457f25e00f52916aeea61eb7a7754ec