[INFO] updating cached repository https://github.com/dkeriazisStuy/Connect4Manager [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ab85dbb24b2d93d74acc7abcf588ba3b587dcc6f [INFO] testing dkeriazisStuy/Connect4Manager against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdkeriazisStuy%2FConnect4Manager" "/workspace/builds/worker-1/source"` [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.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9e7b34f49ec8fcdc32d621b17e97012738975b3411e72b6f6bb7f5b3b0fa22e0 [INFO] running `"docker" "start" "-a" "9e7b34f49ec8fcdc32d621b17e97012738975b3411e72b6f6bb7f5b3b0fa22e0"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling ncurses v5.98.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling battle_bots v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `std::str` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/main.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | let s = thread::spawn(move || { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0597]: `cmd` does not live long enough [INFO] [stderr] --> src/main.rs:53:17 [INFO] [stderr] | [INFO] [stderr] 41 | let (tx, rx) = mpsc::channel(); [INFO] [stderr] | -- lifetime `'1` appears in the type of `tx` [INFO] [stderr] ... [INFO] [stderr] 53 | tx.send(&mut cmd).unwrap(); [INFO] [stderr] | --------^^^^^^^^- [INFO] [stderr] | | | [INFO] [stderr] | | borrowed value does not live long enough [INFO] [stderr] | argument requires that `cmd` is borrowed for `'1` [INFO] [stderr] ... [INFO] [stderr] 56 | }); [INFO] [stderr] | - `cmd` dropped here while still borrowed [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `cmd` as mutable more than once at a time [INFO] [stderr] --> src/main.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 41 | let (tx, rx) = mpsc::channel(); [INFO] [stderr] | -- lifetime `'1` appears in the type of `tx` [INFO] [stderr] ... [INFO] [stderr] 53 | tx.send(&mut cmd).unwrap(); [INFO] [stderr] | ----------------- [INFO] [stderr] | | | [INFO] [stderr] | | first mutable borrow occurs here [INFO] [stderr] | argument requires that `cmd` is borrowed for `'1` [INFO] [stderr] 54 | cmd.wait(); [INFO] [stderr] | ^^^ second mutable borrow occurs here [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `cmd` as mutable more than once at a time [INFO] [stderr] --> src/main.rs:55:17 [INFO] [stderr] | [INFO] [stderr] 41 | let (tx, rx) = mpsc::channel(); [INFO] [stderr] | -- lifetime `'1` appears in the type of `tx` [INFO] [stderr] ... [INFO] [stderr] 53 | tx.send(&mut cmd).unwrap(); [INFO] [stderr] | ----------------- [INFO] [stderr] | | | [INFO] [stderr] | | first mutable borrow occurs here [INFO] [stderr] | argument requires that `cmd` is borrowed for `'1` [INFO] [stderr] 54 | cmd.wait(); [INFO] [stderr] 55 | tx.send(&mut cmd).unwrap(); [INFO] [stderr] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | let mut child = rx.recv().unwrap(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0499, E0597. [INFO] [stderr] For more information about an error, try `rustc --explain E0499`. [INFO] [stderr] error: could not compile `battle_bots`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "9e7b34f49ec8fcdc32d621b17e97012738975b3411e72b6f6bb7f5b3b0fa22e0"` [INFO] running `"docker" "rm" "-f" "9e7b34f49ec8fcdc32d621b17e97012738975b3411e72b6f6bb7f5b3b0fa22e0"` [INFO] [stdout] 9e7b34f49ec8fcdc32d621b17e97012738975b3411e72b6f6bb7f5b3b0fa22e0