[INFO] cloning repository https://github.com/Jaco26/rust_chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jaco26/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco26%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco26%2Frust_chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4c05ab414c477ff5397a791321b97f018e5b10f [INFO] testing Jaco26/rust_chess against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco26%2Frust_chess" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jaco26/rust_chess on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jaco26/rust_chess [INFO] finished tweaking git repo https://github.com/Jaco26/rust_chess [INFO] tweaked toml for git repo https://github.com/Jaco26/rust_chess written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate git repo https://github.com/Jaco26/rust_chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8847d77267aa8bf05b06c31f8c4068aeb67005d3b2eb36386ab2e23e1a741222 [INFO] running `Command { std: "docker" "start" "-a" "8847d77267aa8bf05b06c31f8c4068aeb67005d3b2eb36386ab2e23e1a741222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8847d77267aa8bf05b06c31f8c4068aeb67005d3b2eb36386ab2e23e1a741222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8847d77267aa8bf05b06c31f8c4068aeb67005d3b2eb36386ab2e23e1a741222", kill_on_drop: false }` [INFO] [stdout] 8847d77267aa8bf05b06c31f8c4068aeb67005d3b2eb36386ab2e23e1a741222 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d92a1bef9f3e862e62b27830066f755274c518286747c9e8990b9672bffca9e [INFO] running `Command { std: "docker" "start" "-a" "7d92a1bef9f3e862e62b27830066f755274c518286747c9e8990b9672bffca9e", kill_on_drop: false }` [INFO] [stderr] Compiling chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `counter` does not live long enough [INFO] [stdout] --> src/concurrent_scan.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | println!("{}", *counter.lock().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] 121 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `counter` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `MutexGuard` [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chess` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "7d92a1bef9f3e862e62b27830066f755274c518286747c9e8990b9672bffca9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d92a1bef9f3e862e62b27830066f755274c518286747c9e8990b9672bffca9e", kill_on_drop: false }` [INFO] [stdout] 7d92a1bef9f3e862e62b27830066f755274c518286747c9e8990b9672bffca9e