[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] checking dkeriazisStuy/Connect4Manager/ab85dbb24b2d93d74acc7abcf588ba3b587dcc6f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdkeriazisStuy%2FConnect4Manager" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dkeriazisStuy/Connect4Manager on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_os v0.1.1 [INFO] [stderr] Downloaded ncurses v5.98.0 [INFO] [stderr] Downloaded rand v0.6.4 [INFO] [stderr] Downloaded libc v0.2.47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64fe06da8af48e247d892b0bf2bef29cf1d2434141f3dfe0895b1c1eede53dfa [INFO] running `Command { std: "docker" "start" "-a" "64fe06da8af48e247d892b0bf2bef29cf1d2434141f3dfe0895b1c1eede53dfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64fe06da8af48e247d892b0bf2bef29cf1d2434141f3dfe0895b1c1eede53dfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64fe06da8af48e247d892b0bf2bef29cf1d2434141f3dfe0895b1c1eede53dfa", kill_on_drop: false }` [INFO] [stdout] 64fe06da8af48e247d892b0bf2bef29cf1d2434141f3dfe0895b1c1eede53dfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c121866a6389e1a31fad4cc935cb866a62bc2c47bceb6d30d62ba7e4d22269f2 [INFO] running `Command { std: "docker" "start" "-a" "c121866a6389e1a31fad4cc935cb866a62bc2c47bceb6d30d62ba7e4d22269f2", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling semver-parser v0.7.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] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling ncurses v5.98.0 [INFO] [stderr] Checking rand_os v0.1.1 [INFO] [stderr] Checking 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 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] 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] 42 | let s = thread::spawn(move || { [INFO] [stdout] 43 | let mut cmd = Command::new(c) [INFO] [stdout] | ------- binding `cmd` declared here [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[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] 42 | let s = thread::spawn(move || { [INFO] [stdout] 43 | let mut cmd = Command::new(c) [INFO] [stdout] | ------- binding `cmd` declared here [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: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] 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] 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] [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` (bin "battle_bots") due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `battle_bots` (bin "battle_bots" test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c121866a6389e1a31fad4cc935cb866a62bc2c47bceb6d30d62ba7e4d22269f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c121866a6389e1a31fad4cc935cb866a62bc2c47bceb6d30d62ba7e4d22269f2", kill_on_drop: false }` [INFO] [stdout] c121866a6389e1a31fad4cc935cb866a62bc2c47bceb6d30d62ba7e4d22269f2