[INFO] cloning repository https://github.com/drewtcraft/thrusty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drewtcraft/thrusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewtcraft%2Fthrusty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewtcraft%2Fthrusty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c47b99be7b216d924ee1fa1e18712a5a0d38a50a [INFO] testing drewtcraft/thrusty against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewtcraft%2Fthrusty" "/workspace/builds/worker-76/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-76/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drewtcraft/thrusty on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/drewtcraft/thrusty [INFO] finished tweaking git repo https://github.com/drewtcraft/thrusty [INFO] tweaked toml for git repo https://github.com/drewtcraft/thrusty written to /workspace/builds/worker-76/source/Cargo.toml [INFO] crate git repo https://github.com/drewtcraft/thrusty already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fc4afb651bb74144facfbfc8fc99064e4947389568d2be7766be3f9513a33df [INFO] running `Command { std: "docker" "start" "-a" "5fc4afb651bb74144facfbfc8fc99064e4947389568d2be7766be3f9513a33df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fc4afb651bb74144facfbfc8fc99064e4947389568d2be7766be3f9513a33df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fc4afb651bb74144facfbfc8fc99064e4947389568d2be7766be3f9513a33df", kill_on_drop: false }` [INFO] [stdout] 5fc4afb651bb74144facfbfc8fc99064e4947389568d2be7766be3f9513a33df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 982aee6e6e69c783b8ed34f39146d93873677a3a8bf005d45d3df1a274c5258f [INFO] running `Command { std: "docker" "start" "-a" "982aee6e6e69c783b8ed34f39146d93873677a3a8bf005d45d3df1a274c5258f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling thrusty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let d = Direction::TopLeft; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mass = Mass::new(p, vec![m]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Top` [INFO] [stdout] --> src/types/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Top, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TopRight` [INFO] [stdout] --> src/types/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | TopRight, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/types/types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BottomRight` [INFO] [stdout] --> src/types/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | BottomRight, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bottom` [INFO] [stdout] --> src/types/types.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Bottom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BottomLeft` [INFO] [stdout] --> src/types/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | BottomLeft, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/types/types.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "982aee6e6e69c783b8ed34f39146d93873677a3a8bf005d45d3df1a274c5258f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "982aee6e6e69c783b8ed34f39146d93873677a3a8bf005d45d3df1a274c5258f", kill_on_drop: false }` [INFO] [stdout] 982aee6e6e69c783b8ed34f39146d93873677a3a8bf005d45d3df1a274c5258f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b96662ab07f9c8fd90bd982cb1472a6f3dbc4010810cb08c2d72ffe6e941eed5 [INFO] running `Command { std: "docker" "start" "-a" "b96662ab07f9c8fd90bd982cb1472a6f3dbc4010810cb08c2d72ffe6e941eed5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling thrusty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let d = Direction::TopLeft; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mass = Mass::new(p, vec![m]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Top` [INFO] [stdout] --> src/types/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Top, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TopRight` [INFO] [stdout] --> src/types/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | TopRight, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/types/types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BottomRight` [INFO] [stdout] --> src/types/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | BottomRight, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bottom` [INFO] [stdout] --> src/types/types.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Bottom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BottomLeft` [INFO] [stdout] --> src/types/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | BottomLeft, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/types/types.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "b96662ab07f9c8fd90bd982cb1472a6f3dbc4010810cb08c2d72ffe6e941eed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b96662ab07f9c8fd90bd982cb1472a6f3dbc4010810cb08c2d72ffe6e941eed5", kill_on_drop: false }` [INFO] [stdout] b96662ab07f9c8fd90bd982cb1472a6f3dbc4010810cb08c2d72ffe6e941eed5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 17344be17b080e942a6d723eaf0a1279bcddfb299a0805d52917fd0c4ebd81a6 [INFO] running `Command { std: "docker" "start" "-a" "17344be17b080e942a6d723eaf0a1279bcddfb299a0805d52917fd0c4ebd81a6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `d` [INFO] [stderr] --> src/main.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | let d = Direction::TopLeft; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mass` [INFO] [stderr] --> src/main.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | let mass = Mass::new(p, vec![m]); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Top` [INFO] [stderr] --> src/types/types.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | Top, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/types/types.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TopRight` [INFO] [stderr] --> src/types/types.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | TopRight, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/types/types.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Right` [INFO] [stderr] --> src/types/types.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Right, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/types/types.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BottomRight` [INFO] [stderr] --> src/types/types.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | BottomRight, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/types/types.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Bottom` [INFO] [stderr] --> src/types/types.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Bottom, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/types/types.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BottomLeft` [INFO] [stderr] --> src/types/types.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | BottomLeft, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/types/types.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Left` [INFO] [stderr] --> src/types/types.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Left, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/types/types.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `thrusty` (bin "thrusty" test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.49s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/thrusty-7a372958a70593ae) [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" "17344be17b080e942a6d723eaf0a1279bcddfb299a0805d52917fd0c4ebd81a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17344be17b080e942a6d723eaf0a1279bcddfb299a0805d52917fd0c4ebd81a6", kill_on_drop: false }` [INFO] [stdout] 17344be17b080e942a6d723eaf0a1279bcddfb299a0805d52917fd0c4ebd81a6