[INFO] updating cached repository dkeriazisStuy/Connect4Manager [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/dkeriazisStuy/Connect4Manager [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/dkeriazisStuy/Connect4Manager" "work/ex/beta-1.38-1/sources/1.37.0/gh/dkeriazisStuy/Connect4Manager"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/dkeriazisStuy/Connect4Manager'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/dkeriazisStuy/Connect4Manager" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/dkeriazisStuy/Connect4Manager"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/dkeriazisStuy/Connect4Manager'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ab85dbb24b2d93d74acc7abcf588ba3b587dcc6f [INFO] sha for GitHub repo dkeriazisStuy/Connect4Manager: ab85dbb24b2d93d74acc7abcf588ba3b587dcc6f [INFO] validating manifest of dkeriazisStuy/Connect4Manager on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of dkeriazisStuy/Connect4Manager on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing dkeriazisStuy/Connect4Manager [INFO] finished frobbing dkeriazisStuy/Connect4Manager [INFO] frobbed toml for dkeriazisStuy/Connect4Manager written to work/ex/beta-1.38-1/sources/1.37.0/gh/dkeriazisStuy/Connect4Manager/Cargo.toml [INFO] started frobbing dkeriazisStuy/Connect4Manager [INFO] finished frobbing dkeriazisStuy/Connect4Manager [INFO] frobbed toml for dkeriazisStuy/Connect4Manager written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/dkeriazisStuy/Connect4Manager/Cargo.toml [INFO] crate dkeriazisStuy/Connect4Manager already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing dkeriazisStuy/Connect4Manager against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/dkeriazisStuy/Connect4Manager:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 88aad8a4ad2b9b1e0706b77975a6fa2270279c82bbd473f8f4a25256a2586ab7 [INFO] running `"docker" "start" "-a" "88aad8a4ad2b9b1e0706b77975a6fa2270279c82bbd473f8f4a25256a2586ab7"` [INFO] [stderr] Compiling ncurses v5.98.0 [INFO] [stderr] Compiling battle_bots v0.1.0 (/opt/crater/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: consider prefixing 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 [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" "88aad8a4ad2b9b1e0706b77975a6fa2270279c82bbd473f8f4a25256a2586ab7"` [INFO] running `"docker" "rm" "-f" "88aad8a4ad2b9b1e0706b77975a6fa2270279c82bbd473f8f4a25256a2586ab7"` [INFO] [stdout] 88aad8a4ad2b9b1e0706b77975a6fa2270279c82bbd473f8f4a25256a2586ab7