[INFO] updating cached repository https://github.com/dkeriazisStuy/Connect4Manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab85dbb24b2d93d74acc7abcf588ba3b587dcc6f [INFO] testing dkeriazisStuy/Connect4Manager against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdkeriazisStuy%2FConnect4Manager" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dkeriazisStuy/Connect4Manager on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-1/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a176d307bfd233c3f4f018aae482a797f705facdf775fcc1a81fcf8a70c0d12d [INFO] running `Command { std: "docker" "start" "-a" "a176d307bfd233c3f4f018aae482a797f705facdf775fcc1a81fcf8a70c0d12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a176d307bfd233c3f4f018aae482a797f705facdf775fcc1a81fcf8a70c0d12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a176d307bfd233c3f4f018aae482a797f705facdf775fcc1a81fcf8a70c0d12d", kill_on_drop: false }` [INFO] [stdout] a176d307bfd233c3f4f018aae482a797f705facdf775fcc1a81fcf8a70c0d12d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acd1b8c36c5cda358830f1068d96c290ad803f24c8a3581a8120922e784ea40d [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" "acd1b8c36c5cda358830f1068d96c290ad803f24c8a3581a8120922e784ea40d", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling semver v0.9.0 [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 rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling ncurses v5.98.0 [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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "acd1b8c36c5cda358830f1068d96c290ad803f24c8a3581a8120922e784ea40d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acd1b8c36c5cda358830f1068d96c290ad803f24c8a3581a8120922e784ea40d", kill_on_drop: false }` [INFO] [stdout] acd1b8c36c5cda358830f1068d96c290ad803f24c8a3581a8120922e784ea40d