[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] testing thallosaurus/snake-rs against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthallosaurus%2Fsnake-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thallosaurus/snake-rs on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "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-0-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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.32 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1e2f37b1fd8b7d08dd14852265548ad211cfa6e14d74d5be296bd82bf1126f0 [INFO] running `Command { std: "docker" "start" "-a" "e1e2f37b1fd8b7d08dd14852265548ad211cfa6e14d74d5be296bd82bf1126f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1e2f37b1fd8b7d08dd14852265548ad211cfa6e14d74d5be296bd82bf1126f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1e2f37b1fd8b7d08dd14852265548ad211cfa6e14d74d5be296bd82bf1126f0", kill_on_drop: false }` [INFO] [stdout] e1e2f37b1fd8b7d08dd14852265548ad211cfa6e14d74d5be296bd82bf1126f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] decb524dde0a8a3e41707e9ef19b0d2b047d8cb9983d4703d6a633b377ee4e95 [INFO] running `Command { std: "docker" "start" "-a" "decb524dde0a8a3e41707e9ef19b0d2b047d8cb9983d4703d6a633b377ee4e95", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [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] Compiling libc v0.2.126 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling wasm-bindgen v0.2.82 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling 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] Compiling js-sys v0.3.59 [INFO] [stderr] Compiling snake-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stdout] --> src/lib.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "wee_alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [stdout] warning: unexpected `cfg` condition value: `console_error_panic_hook` [INFO] [stdout] --> src/utils.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "console_error_panic_hook")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `console_error_panic_hook` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [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] warning[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: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[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] warning[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] warning[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] | ^^^^ no value can reach this [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] | ^^^^ no value can reach this [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] | ^^^^^ no value can reach this [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] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "decb524dde0a8a3e41707e9ef19b0d2b047d8cb9983d4703d6a633b377ee4e95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "decb524dde0a8a3e41707e9ef19b0d2b047d8cb9983d4703d6a633b377ee4e95", kill_on_drop: false }` [INFO] [stdout] decb524dde0a8a3e41707e9ef19b0d2b047d8cb9983d4703d6a633b377ee4e95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d591ab49e6d95cf256d1c30b5f224f28ba481a300a34f108853528a12c9eed5c [INFO] running `Command { std: "docker" "start" "-a" "d591ab49e6d95cf256d1c30b5f224f28ba481a300a34f108853528a12c9eed5c", kill_on_drop: false }` [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.32 [INFO] [stdout] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stdout] --> src/lib.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "wee_alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [stdout] warning: unexpected `cfg` condition value: `console_error_panic_hook` [INFO] [stdout] --> src/utils.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "console_error_panic_hook")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `console_error_panic_hook` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [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] warning[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: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[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] warning[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] warning[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] | ^^^^ no value can reach this [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] | ^^^^ no value can reach this [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] | ^^^^^ no value can reach this [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] [stderr] Compiling console_error_panic_hook v0.1.7 [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] [stderr] Compiling wasm-bindgen-futures v0.4.32 [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] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Compiling wasm-bindgen-test v0.3.32 [INFO] [stderr] Compiling snake-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stdout] --> src/lib.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "wee_alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [stdout] warning: unexpected `cfg` condition value: `console_error_panic_hook` [INFO] [stdout] --> src/utils.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "console_error_panic_hook")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `console_error_panic_hook` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [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] warning[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: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[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] warning[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] warning[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] | ^^^^ no value can reach this [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] | ^^^^ no value can reach this [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] | ^^^^^ no value can reach this [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] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.96s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d591ab49e6d95cf256d1c30b5f224f28ba481a300a34f108853528a12c9eed5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d591ab49e6d95cf256d1c30b5f224f28ba481a300a34f108853528a12c9eed5c", kill_on_drop: false }` [INFO] [stdout] d591ab49e6d95cf256d1c30b5f224f28ba481a300a34f108853528a12c9eed5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 892d086a2ab84f848ff628e951e73f91b2c686c7fd27b5ae84db8bce4921cb06 [INFO] running `Command { std: "docker" "start" "-a" "892d086a2ab84f848ff628e951e73f91b2c686c7fd27b5ae84db8bce4921cb06", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stderr] --> src/lib.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg(feature = "wee_alloc")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `wasm_bindgen::prelude::*` [INFO] [stderr] --> src/lib.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use wasm_bindgen::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `console_error_panic_hook` [INFO] [stderr] --> src/utils.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | #[cfg(feature = "console_error_panic_hook")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `console_error_panic_hook` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/snakemap.rs:46:37 [INFO] [stderr] | [INFO] [stderr] 46 | let cells = (0..w * h).map(|i| VecState::OFF).collect(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `UP` is named the same as one of the variants of the type `enums::Direction` [INFO] [stderr] --> src/snakemap.rs:60:25 [INFO] [stderr] | [INFO] [stderr] 60 | UP => SnakePart { x: x, y: y - i }, [INFO] [stderr] | ^^ help: to match on the variant, qualify the path: `enums::Direction::UP` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `DOWN` is named the same as one of the variants of the type `enums::Direction` [INFO] [stderr] --> src/snakemap.rs:61:25 [INFO] [stderr] | [INFO] [stderr] 61 | DOWN => SnakePart { x: x, y: y + i }, [INFO] [stderr] | ^^^^ help: to match on the variant, qualify the path: `enums::Direction::DOWN` [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `LEFT` is named the same as one of the variants of the type `enums::Direction` [INFO] [stderr] --> src/snakemap.rs:62:25 [INFO] [stderr] | [INFO] [stderr] 62 | LEFT => SnakePart { x: x - i, y: y }, [INFO] [stderr] | ^^^^ help: to match on the variant, qualify the path: `enums::Direction::LEFT` [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `RIGHT` is named the same as one of the variants of the type `enums::Direction` [INFO] [stderr] --> src/snakemap.rs:63:25 [INFO] [stderr] | [INFO] [stderr] 63 | RIGHT => SnakePart { x: x + i, y: y }, [INFO] [stderr] | ^^^^^ help: to match on the variant, qualify the path: `enums::Direction::RIGHT` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/snakemap.rs:61:25 [INFO] [stderr] | [INFO] [stderr] 60 | UP => SnakePart { x: x, y: y - i }, [INFO] [stderr] | -- matches any value [INFO] [stderr] 61 | DOWN => SnakePart { x: x, y: y + i }, [INFO] [stderr] | ^^^^ no value can reach this [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/snakemap.rs:62:25 [INFO] [stderr] | [INFO] [stderr] 60 | UP => SnakePart { x: x, y: y - i }, [INFO] [stderr] | -- matches any value [INFO] [stderr] 61 | DOWN => SnakePart { x: x, y: y + i }, [INFO] [stderr] 62 | LEFT => SnakePart { x: x - i, y: y }, [INFO] [stderr] | ^^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/snakemap.rs:63:25 [INFO] [stderr] | [INFO] [stderr] 60 | UP => SnakePart { x: x, y: y - i }, [INFO] [stderr] | -- matches any value [INFO] [stderr] ... [INFO] [stderr] 63 | RIGHT => SnakePart { x: x + i, y: y }, [INFO] [stderr] | ^^^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: unused variable: `UP` [INFO] [stderr] --> src/snakemap.rs:60:25 [INFO] [stderr] | [INFO] [stderr] 60 | UP => SnakePart { x: x, y: y - i }, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_UP` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `DOWN` [INFO] [stderr] --> src/snakemap.rs:61:25 [INFO] [stderr] | [INFO] [stderr] 61 | DOWN => SnakePart { x: x, y: y + i }, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_DOWN` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `LEFT` [INFO] [stderr] --> src/snakemap.rs:62:25 [INFO] [stderr] | [INFO] [stderr] 62 | LEFT => SnakePart { x: x - i, y: y }, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_LEFT` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `RIGHT` [INFO] [stderr] --> src/snakemap.rs:63:25 [INFO] [stderr] | [INFO] [stderr] 63 | RIGHT => SnakePart { x: x + i, y: y }, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_RIGHT` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/snakemap.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | let s = self.snake.iter().enumerate().find(|&(i, part)| part.x == self.x && part.y == self.y && i != 0); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: structure field `snackX` should have a snake case name [INFO] [stderr] --> src/snakemap.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | snackX: u32, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `snack_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `snackY` should have a snake case name [INFO] [stderr] --> src/snakemap.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | snackY: u32, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `snack_y` [INFO] [stderr] [INFO] [stderr] warning: variable `UP` should have a snake case name [INFO] [stderr] --> src/snakemap.rs:60:25 [INFO] [stderr] | [INFO] [stderr] 60 | UP => SnakePart { x: x, y: y - i }, [INFO] [stderr] | ^^ help: convert the identifier to snake case: `up` [INFO] [stderr] [INFO] [stderr] warning: variable `DOWN` should have a snake case name [INFO] [stderr] --> src/snakemap.rs:61:25 [INFO] [stderr] | [INFO] [stderr] 61 | DOWN => SnakePart { x: x, y: y + i }, [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `down` [INFO] [stderr] [INFO] [stderr] warning: variable `LEFT` should have a snake case name [INFO] [stderr] --> src/snakemap.rs:62:25 [INFO] [stderr] | [INFO] [stderr] 62 | LEFT => SnakePart { x: x - i, y: y }, [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `left` [INFO] [stderr] [INFO] [stderr] warning: variable `RIGHT` should have a snake case name [INFO] [stderr] --> src/snakemap.rs:63:25 [INFO] [stderr] | [INFO] [stderr] 63 | RIGHT => SnakePart { x: x + i, y: y }, [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `right` [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0170`. [INFO] [stderr] warning: `snake-rs` (lib) generated 22 warnings (run `cargo fix --lib -p snake-rs` to apply 5 suggestions) [INFO] [stderr] warning: `snake-rs` (lib test) generated 22 warnings (22 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/snake_rs-8e3fa2b00d41994c) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests snake_rs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "892d086a2ab84f848ff628e951e73f91b2c686c7fd27b5ae84db8bce4921cb06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "892d086a2ab84f848ff628e951e73f91b2c686c7fd27b5ae84db8bce4921cb06", kill_on_drop: false }` [INFO] [stdout] 892d086a2ab84f848ff628e951e73f91b2c686c7fd27b5ae84db8bce4921cb06