[INFO] cloning repository https://github.com/bgotink/advent-of-code-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bgotink/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgotink%2Fadvent-of-code-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgotink%2Fadvent-of-code-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3025e37fc30a965e828e48e77aa1ca3220691d29 [INFO] building bgotink/advent-of-code-2021 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgotink%2Fadvent-of-code-2021" "/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/bgotink/advent-of-code-2021 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bgotink/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/bgotink/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/bgotink/advent-of-code-2021 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bgotink/advent-of-code-2021 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37f05d857ed964ebc4427ceb84249e5b84f40eb3ba6bbaae19d56d92cb039ff4 [INFO] running `Command { std: "docker" "start" "-a" "37f05d857ed964ebc4427ceb84249e5b84f40eb3ba6bbaae19d56d92cb039ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37f05d857ed964ebc4427ceb84249e5b84f40eb3ba6bbaae19d56d92cb039ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37f05d857ed964ebc4427ceb84249e5b84f40eb3ba6bbaae19d56d92cb039ff4", kill_on_drop: false }` [INFO] [stdout] 37f05d857ed964ebc4427ceb84249e5b84f40eb3ba6bbaae19d56d92cb039ff4 [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=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8dcaae11b30421e1a7a8239547e35f83123e2dfb5db883fd4d90bcd8203492c1 [INFO] running `Command { std: "docker" "start" "-a" "8dcaae11b30421e1a7a8239547e35f83123e2dfb5db883fd4d90bcd8203492c1", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> 16/01/program.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | Literal(u8, u8, u32), [INFO] [stdout] | ------- ^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 | Literal(u8, (), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> 16/01/program.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | Operator(u8, u8, Vec), [INFO] [stdout] | -------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Operator(u8, (), Vec), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `corners` and `overlaps` are never used [INFO] [stdout] --> 22/01/program.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 42 | trait Cuboid { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 57 | fn corners(&self) -> [Point; 8] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn overlaps(&self, other: &dyn Cuboid) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_horizontal` and `is_vertical` are never used [INFO] [stdout] --> 05/02/program.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 37 | impl Vector { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 38 | fn is_horizontal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn is_vertical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_image` is never used [INFO] [stdout] --> 20/02/program.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn print_image(img: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `corners` and `overlaps` are never used [INFO] [stdout] --> 22/02/program.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 43 | trait Cuboid { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 58 | fn corners(&self) -> [Point; 8] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn overlaps(&self, other: &dyn Cuboid) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_image` is never used [INFO] [stdout] --> 20/01/program.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn print_image(img: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> 16/02/program.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | Literal(u8, u8, u64), [INFO] [stdout] | ------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 | Literal((), (), u64), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> 16/02/program.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Operator(u8, u8, Vec), [INFO] [stdout] | -------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Operator((), u8, Vec), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x_min`, `x_max`, and `y_max` are never read [INFO] [stdout] --> 17/01/program.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 6 | struct TargetArea { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 7 | x_min: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | x_max: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | y_max: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_vector` is never used [INFO] [stdout] --> 19/02/program.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl Point { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn as_vector(&self) -> Vector { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> 19/02/program.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 48 | impl Vector { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 49 | fn len(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> 19/02/program.rs:294:6 [INFO] [stdout] | [INFO] [stdout] 265 | impl Orientation { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 294 | fn map(&self, absolute_vector: &Vector) -> Vector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ORIGIN` and `as_vector` are never used [INFO] [stdout] --> 19/01/program.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl Point { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 16 | const ORIGIN: Point = Point { x: 0, y: 0, z: 0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn as_vector(&self) -> Vector { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> 19/01/program.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 44 | impl Vector { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 45 | fn len(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> 19/01/program.rs:290:6 [INFO] [stdout] | [INFO] [stdout] 261 | impl Orientation { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 290 | fn map(&self, absolute_vector: &Vector) -> Vector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_char` is never used [INFO] [stdout] --> 25/program.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | fn to_char(&self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.00s [INFO] running `Command { std: "docker" "inspect" "8dcaae11b30421e1a7a8239547e35f83123e2dfb5db883fd4d90bcd8203492c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dcaae11b30421e1a7a8239547e35f83123e2dfb5db883fd4d90bcd8203492c1", kill_on_drop: false }` [INFO] [stdout] 8dcaae11b30421e1a7a8239547e35f83123e2dfb5db883fd4d90bcd8203492c1 [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=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d339f3c835f602e3dc3bf6b572d5dcce1276abe8dc79ba59472ae6b4b6bf3774 [INFO] running `Command { std: "docker" "start" "-a" "d339f3c835f602e3dc3bf6b572d5dcce1276abe8dc79ba59472ae6b4b6bf3774", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `print_image` is never used [INFO] [stdout] --> 20/01/program.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn print_image(img: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x_min`, `x_max`, and `y_max` are never read [INFO] [stdout] --> 17/01/program.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 6 | struct TargetArea { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 7 | x_min: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | x_max: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | y_max: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_horizontal` and `is_vertical` are never used [INFO] [stdout] --> 05/02/program.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 37 | impl Vector { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 38 | fn is_horizontal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn is_vertical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_char` is never used [INFO] [stdout] --> 25/program.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | fn to_char(&self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ORIGIN` and `as_vector` are never used [INFO] [stdout] --> 19/01/program.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl Point { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 16 | const ORIGIN: Point = Point { x: 0, y: 0, z: 0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn as_vector(&self) -> Vector { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> 19/01/program.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 44 | impl Vector { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 45 | fn len(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> 19/01/program.rs:290:6 [INFO] [stdout] | [INFO] [stdout] 261 | impl Orientation { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 290 | fn map(&self, absolute_vector: &Vector) -> Vector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> 16/01/program.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | Literal(u8, u8, u32), [INFO] [stdout] | ------- ^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 | Literal(u8, (), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> 16/01/program.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | Operator(u8, u8, Vec), [INFO] [stdout] | -------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Operator(u8, (), Vec), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_image` is never used [INFO] [stdout] --> 20/02/program.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn print_image(img: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `corners` and `overlaps` are never used [INFO] [stdout] --> 22/01/program.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 42 | trait Cuboid { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 57 | fn corners(&self) -> [Point; 8] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn overlaps(&self, other: &dyn Cuboid) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> 16/02/program.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | Literal(u8, u8, u64), [INFO] [stdout] | ------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 | Literal((), (), u64), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> 16/02/program.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Operator(u8, u8, Vec), [INFO] [stdout] | -------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Operator((), u8, Vec), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `corners` and `overlaps` are never used [INFO] [stdout] --> 22/02/program.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 43 | trait Cuboid { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 58 | fn corners(&self) -> [Point; 8] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn overlaps(&self, other: &dyn Cuboid) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_vector` is never used [INFO] [stdout] --> 19/02/program.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl Point { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn as_vector(&self) -> Vector { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> 19/02/program.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 48 | impl Vector { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 49 | fn len(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> 19/02/program.rs:294:6 [INFO] [stdout] | [INFO] [stdout] 265 | impl Orientation { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 294 | fn map(&self, absolute_vector: &Vector) -> Vector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "d339f3c835f602e3dc3bf6b572d5dcce1276abe8dc79ba59472ae6b4b6bf3774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d339f3c835f602e3dc3bf6b572d5dcce1276abe8dc79ba59472ae6b4b6bf3774", kill_on_drop: false }` [INFO] [stdout] d339f3c835f602e3dc3bf6b572d5dcce1276abe8dc79ba59472ae6b4b6bf3774