[INFO] cloning repository https://github.com/foxbot/snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/foxbot/snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoxbot%2Fsnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoxbot%2Fsnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c1314ca020f12bca80c83da9ca28713f1504f06 [INFO] checking foxbot/snake/5c1314ca020f12bca80c83da9ca28713f1504f06 against try#6d565b71a096078f59574161a2a382ec4a1eb751 for pr-132325 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoxbot%2Fsnake" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foxbot/snake on toolchain 6d565b71a096078f59574161a2a382ec4a1eb751 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6d565b71a096078f59574161a2a382ec4a1eb751" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/foxbot/snake [INFO] finished tweaking git repo https://github.com/foxbot/snake [INFO] tweaked toml for git repo https://github.com/foxbot/snake written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/foxbot/snake already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6d565b71a096078f59574161a2a382ec4a1eb751" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nix v0.8.1 [INFO] [stderr] Downloaded cfg-if v0.1.1 [INFO] [stderr] Downloaded libc v0.2.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+6d565b71a096078f59574161a2a382ec4a1eb751" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5f9e591d3a758379e6e1ffe5d6b893f82d4d454b2cf0d1864fe063175317368 [INFO] running `Command { std: "docker" "start" "-a" "c5f9e591d3a758379e6e1ffe5d6b893f82d4d454b2cf0d1864fe063175317368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5f9e591d3a758379e6e1ffe5d6b893f82d4d454b2cf0d1864fe063175317368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5f9e591d3a758379e6e1ffe5d6b893f82d4d454b2cf0d1864fe063175317368", kill_on_drop: false }` [INFO] [stdout] c5f9e591d3a758379e6e1ffe5d6b893f82d4d454b2cf0d1864fe063175317368 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+6d565b71a096078f59574161a2a382ec4a1eb751" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cad480c3f7beb2182ef036a662dd73bef6cb04e95f28e536c3c2674ce34c4929 [INFO] running `Command { std: "docker" "start" "-a" "cad480c3f7beb2182ef036a662dd73bef6cb04e95f28e536c3c2674ce34c4929", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.23 [INFO] [stderr] Checking cfg-if v0.1.1 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking nix v0.8.1 [INFO] [stderr] Checking snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/console.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 72 | 'Game: loop { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/console.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 72 | 'Game: loop { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `Arc` in the current scope [INFO] [stdout] --> src/main.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let input_thr = input.get_mut(); [INFO] [stdout] | ^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] = note: the candidate is defined in an impl for the type `Arc` [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 66 | let input_thr = Arc::::get_mut(&mut input); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider pinning the expression [INFO] [stdout] | [INFO] [stdout] 66 ~ let mut pinned = std::pin::pin!(input); [INFO] [stdout] 67 ~ let input_thr = pinned.as_mut().get_mut(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/input.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | let count = stdin.read(&mut buf[..]).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `Arc` in the current scope [INFO] [stdout] --> src/main.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let input_thr = input.get_mut(); [INFO] [stdout] | ^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] = note: the candidate is defined in an impl for the type `Arc` [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 66 | let input_thr = Arc::::get_mut(&mut input); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider pinning the expression [INFO] [stdout] | [INFO] [stdout] 66 ~ let mut pinned = std::pin::pin!(input); [INFO] [stdout] 67 ~ let input_thr = pinned.as_mut().get_mut(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snake` (bin "snake" test) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/input.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | let count = stdin.read(&mut buf[..]).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snake` (bin "snake") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cad480c3f7beb2182ef036a662dd73bef6cb04e95f28e536c3c2674ce34c4929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cad480c3f7beb2182ef036a662dd73bef6cb04e95f28e536c3c2674ce34c4929", kill_on_drop: false }` [INFO] [stdout] cad480c3f7beb2182ef036a662dd73bef6cb04e95f28e536c3c2674ce34c4929