[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 against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdkeriazisStuy%2FConnect4Manager" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dkeriazisStuy/Connect4Manager on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-13/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" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcb88d015706a07fb06856bffa69cb8e7510b88ff122b152dcf0fa07d4916a8d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dcb88d015706a07fb06856bffa69cb8e7510b88ff122b152dcf0fa07d4916a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcb88d015706a07fb06856bffa69cb8e7510b88ff122b152dcf0fa07d4916a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcb88d015706a07fb06856bffa69cb8e7510b88ff122b152dcf0fa07d4916a8d", kill_on_drop: false }` [INFO] [stdout] dcb88d015706a07fb06856bffa69cb8e7510b88ff122b152dcf0fa07d4916a8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d5a47fb7abb200e603ecb30813f78d5009d94cd384b3b43db7d31aa020295da [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2d5a47fb7abb200e603ecb30813f78d5009d94cd384b3b43db7d31aa020295da", kill_on_drop: false }` [INFO] [stderr] Compiling ncurses v5.98.0 [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 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] [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] [stderr] error: could not compile `battle_bots` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] running `Command { std: "docker" "inspect" "2d5a47fb7abb200e603ecb30813f78d5009d94cd384b3b43db7d31aa020295da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d5a47fb7abb200e603ecb30813f78d5009d94cd384b3b43db7d31aa020295da", kill_on_drop: false }` [INFO] [stdout] 2d5a47fb7abb200e603ecb30813f78d5009d94cd384b3b43db7d31aa020295da