[INFO] cloning repository https://github.com/thallosaurus/snake-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thallosaurus/snake-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthallosaurus%2Fsnake-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthallosaurus%2Fsnake-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51aa01d15927e001d190211bd3030d3ff295ecdf [INFO] checking thallosaurus/snake-rs against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthallosaurus%2Fsnake-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thallosaurus/snake-rs on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thallosaurus/snake-rs [INFO] finished tweaking git repo https://github.com/thallosaurus/snake-rs [INFO] tweaked toml for git repo https://github.com/thallosaurus/snake-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thallosaurus/snake-rs 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking thallosaurus/snake-rs against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthallosaurus%2Fsnake-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thallosaurus/snake-rs on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thallosaurus/snake-rs [INFO] finished tweaking git repo https://github.com/thallosaurus/snake-rs [INFO] tweaked toml for git repo https://github.com/thallosaurus/snake-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thallosaurus/snake-rs 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3eec57e48087228f69aab5d92b2517e8ea828690e833462c5b366352f5cb4c61 [INFO] running `Command { std: "docker" "start" "-a" "3eec57e48087228f69aab5d92b2517e8ea828690e833462c5b366352f5cb4c61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3eec57e48087228f69aab5d92b2517e8ea828690e833462c5b366352f5cb4c61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eec57e48087228f69aab5d92b2517e8ea828690e833462c5b366352f5cb4c61", kill_on_drop: false }` [INFO] [stdout] 3eec57e48087228f69aab5d92b2517e8ea828690e833462c5b366352f5cb4c61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8af1c27bf651632440055dca3532d14b71752908acf5f6444a885049e2de2a67 [INFO] running `Command { std: "docker" "start" "-a" "8af1c27bf651632440055dca3532d14b71752908acf5f6444a885049e2de2a67", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.82 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling wasm-bindgen v0.2.82 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.32 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.82 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.82 [INFO] [stderr] Checking js-sys v0.3.59 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.32 [INFO] [stderr] Checking snake-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-bindgen-test v0.3.32 [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/snakemap.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | let cells = (0..w * h).map(|i| VecState::OFF).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `UP` is named the same as one of the variants of the type `enums::Direction` [INFO] [stdout] --> src/snakemap.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | UP => SnakePart { x: x, y: y - i }, [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `enums::Direction::UP` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `DOWN` is named the same as one of the variants of the type `enums::Direction` [INFO] [stdout] --> src/snakemap.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | DOWN => SnakePart { x: x, y: y + i }, [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `enums::Direction::DOWN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `LEFT` is named the same as one of the variants of the type `enums::Direction` [INFO] [stdout] --> src/snakemap.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | LEFT => SnakePart { x: x - i, y: y }, [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `enums::Direction::LEFT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `RIGHT` is named the same as one of the variants of the type `enums::Direction` [INFO] [stdout] --> src/snakemap.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | RIGHT => SnakePart { x: x + i, y: y }, [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `enums::Direction::RIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/snakemap.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 60 | UP => SnakePart { x: x, y: y - i }, [INFO] [stdout] | -- matches any value [INFO] [stdout] 61 | DOWN => SnakePart { x: x, y: y + i }, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/snakemap.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 60 | UP => SnakePart { x: x, y: y - i }, [INFO] [stdout] | -- matches any value [INFO] [stdout] 61 | DOWN => SnakePart { x: x, y: y + i }, [INFO] [stdout] 62 | LEFT => SnakePart { x: x - i, y: y }, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/snakemap.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 60 | UP => SnakePart { x: x, y: y - i }, [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 63 | RIGHT => SnakePart { x: x + i, y: y }, [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `UP` [INFO] [stdout] --> src/snakemap.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | UP => SnakePart { x: x, y: y - i }, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_UP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `DOWN` [INFO] [stdout] --> src/snakemap.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | DOWN => SnakePart { x: x, y: y + i }, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_DOWN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `LEFT` [INFO] [stdout] --> src/snakemap.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | LEFT => SnakePart { x: x - i, y: y }, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_LEFT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `RIGHT` [INFO] [stdout] --> src/snakemap.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | RIGHT => SnakePart { x: x + i, y: y }, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_RIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/snakemap.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let s = self.snake.iter().enumerate().find(|&(i, part)| part.x == self.x && part.y == self.y && i != 0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `snackX` should have a snake case name [INFO] [stdout] --> src/snakemap.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | snackX: u32, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `snack_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `snackY` should have a snake case name [INFO] [stdout] --> src/snakemap.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | snackY: u32, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `snack_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UP` should have a snake case name [INFO] [stdout] --> src/snakemap.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | UP => SnakePart { x: x, y: y - i }, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DOWN` should have a snake case name [INFO] [stdout] --> src/snakemap.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | DOWN => SnakePart { x: x, y: y + i }, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LEFT` should have a snake case name [INFO] [stdout] --> src/snakemap.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | LEFT => SnakePart { x: x - i, y: y }, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RIGHT` should have a snake case name [INFO] [stdout] --> src/snakemap.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | RIGHT => SnakePart { x: x + i, y: y }, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snake-rs` (lib) due to 5 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8af1c27bf651632440055dca3532d14b71752908acf5f6444a885049e2de2a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af1c27bf651632440055dca3532d14b71752908acf5f6444a885049e2de2a67", kill_on_drop: false }` [INFO] [stdout] 8af1c27bf651632440055dca3532d14b71752908acf5f6444a885049e2de2a67