[INFO] cloning repository https://github.com/Hosshii/aoc2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hosshii/aoc2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHosshii%2Faoc2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHosshii%2Faoc2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5fbd1c6d39bb5c1ced61e782f7b7e1c7fc61da8 [INFO] checking Hosshii/aoc2021/a5fbd1c6d39bb5c1ced61e782f7b7e1c7fc61da8 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHosshii%2Faoc2021" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hosshii/aoc2021 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Hosshii/aoc2021 [INFO] finished tweaking git repo https://github.com/Hosshii/aoc2021 [INFO] tweaked toml for git repo https://github.com/Hosshii/aoc2021 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Hosshii/aoc2021 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c701b9da988022997e326584d1a685f30dfefd393840059f66cb65f295d23e80 [INFO] running `Command { std: "docker" "start" "-a" "c701b9da988022997e326584d1a685f30dfefd393840059f66cb65f295d23e80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c701b9da988022997e326584d1a685f30dfefd393840059f66cb65f295d23e80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c701b9da988022997e326584d1a685f30dfefd393840059f66cb65f295d23e80", kill_on_drop: false }` [INFO] [stdout] c701b9da988022997e326584d1a685f30dfefd393840059f66cb65f295d23e80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a2c7ae4de87c0061d28ffa5924480a87fbdba513685018403d02681bdeb00e3 [INFO] running `Command { std: "docker" "start" "-a" "6a2c7ae4de87c0061d28ffa5924480a87fbdba513685018403d02681bdeb00e3", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking day16 v0.1.0 (/opt/rustwide/workdir/day16) [INFO] [stderr] Checking day13 v0.1.0 (/opt/rustwide/workdir/day13) [INFO] [stderr] Checking day15 v0.1.0 (/opt/rustwide/workdir/day15) [INFO] [stderr] Checking day01 v0.1.0 (/opt/rustwide/workdir/day01) [INFO] [stderr] Checking day17 v0.1.0 (/opt/rustwide/workdir/day17) [INFO] [stderr] Checking day23 v0.1.0 (/opt/rustwide/workdir/day23) [INFO] [stderr] Checking day09 v0.1.0 (/opt/rustwide/workdir/day09) [INFO] [stderr] Checking day10 v0.1.0 (/opt/rustwide/workdir/day10) [INFO] [stderr] Checking day18 v0.1.0 (/opt/rustwide/workdir/day18) [INFO] [stderr] Checking day22 v0.1.0 (/opt/rustwide/workdir/day22) [INFO] [stderr] Checking day11 v0.1.0 (/opt/rustwide/workdir/day11) [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/day03) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> day17/src/main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | let bunsi = (2 * a + t * (t + 1) * alpha - 2 * alpha * t); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - let bunsi = (2 * a + t * (t + 1) * alpha - 2 * alpha * t); [INFO] [stdout] 89 + let bunsi = 2 * a + t * (t + 1) * alpha - 2 * alpha * t; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> day17/src/main.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | let bunbo = (2 * t); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - let bunbo = (2 * t); [INFO] [stdout] 90 + let bunbo = 2 * t; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_min` is never used [INFO] [stdout] --> day15/src/main.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn find_min(map: &[Vec], set: &HashSet<(usize, usize)>) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ipt` [INFO] [stdout] --> day16/src/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | let (ipt, packet) = parse_packet(&input)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ipt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> day13/src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | paper.split_off(y as usize + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = paper.split_off(y as usize + 1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> day13/src/main.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | paper[y].split_off(line as usize + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = paper[y].split_off(line as usize + 1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_pair` is never used [INFO] [stdout] --> day18/src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn display_pair(p: &Pair) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisplayPair` is never constructed [INFO] [stdout] --> day18/src/main.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | struct DisplayPair<'a, T>(&'a Pair); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> day18/src/main.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 232 | / impl<'a, T> DisplayPair<'a, T> [INFO] [stdout] 233 | | where [INFO] [stdout] 234 | | T: Display, [INFO] [stdout] | |_______________- method in this implementation [INFO] [stdout] 235 | { [INFO] [stdout] 236 | fn display(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisplayPairKind` is never constructed [INFO] [stdout] --> day18/src/main.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | struct DisplayPairKind<'a, T>(&'a PairKind); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> day18/src/main.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 245 | / impl<'a, T> DisplayPairKind<'a, T> [INFO] [stdout] 246 | | where [INFO] [stdout] 247 | | T: Display, [INFO] [stdout] | |_______________- method in this implementation [INFO] [stdout] 248 | { [INFO] [stdout] 249 | fn display(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day02 v0.1.0 (/opt/rustwide/workdir/day02) [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> day23/src/main.rs:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | let kind = if let NodeKind::Amphipod(amphipod) = node { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Velocity` is never constructed [INFO] [stdout] --> day17/src/main.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | struct Velocity { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> day17/src/main.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl Velocity { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 116 | fn next(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> day17/src/main.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 131 | impl Position { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 132 | fn next(self, velocity: &Velocity) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step` is never used [INFO] [stdout] --> day17/src/main.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn step(pos: Position, vel: Velocity) -> (Position, Velocity) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stdout] warning: associated function `from_char` is never used [INFO] [stdout] --> day23/src/main.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 217 | impl NodeKind { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 218 | fn from_char(c: char) -> NodeKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ipt` [INFO] [stdout] --> day16/src/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | let (ipt, packet) = parse_packet(&input)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ipt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> day23/src/main.rs:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | let kind = if let NodeKind::Amphipod(amphipod) = node { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> day14/src/main.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap, LinkedList}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_char` is never used [INFO] [stdout] --> day23/src/main.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 217 | impl NodeKind { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 218 | fn from_char(c: char) -> NodeKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_min` is never used [INFO] [stdout] --> day15/src/main.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn find_min(map: &[Vec], set: &HashSet<(usize, usize)>) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> day17/src/main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | let bunsi = (2 * a + t * (t + 1) * alpha - 2 * alpha * t); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - let bunsi = (2 * a + t * (t + 1) * alpha - 2 * alpha * t); [INFO] [stdout] 89 + let bunsi = 2 * a + t * (t + 1) * alpha - 2 * alpha * t; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> day17/src/main.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | let bunbo = (2 * t); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - let bunbo = (2 * t); [INFO] [stdout] 90 + let bunbo = 2 * t; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_pair` is never used [INFO] [stdout] --> day18/src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn display_pair(p: &Pair) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisplayPair` is never constructed [INFO] [stdout] --> day18/src/main.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | struct DisplayPair<'a, T>(&'a Pair); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> day18/src/main.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 232 | / impl<'a, T> DisplayPair<'a, T> [INFO] [stdout] 233 | | where [INFO] [stdout] 234 | | T: Display, [INFO] [stdout] | |_______________- method in this implementation [INFO] [stdout] 235 | { [INFO] [stdout] 236 | fn display(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisplayPairKind` is never constructed [INFO] [stdout] --> day18/src/main.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | struct DisplayPairKind<'a, T>(&'a PairKind); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> day18/src/main.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 245 | / impl<'a, T> DisplayPairKind<'a, T> [INFO] [stdout] 246 | | where [INFO] [stdout] 247 | | T: Display, [INFO] [stdout] | |_______________- method in this implementation [INFO] [stdout] 248 | { [INFO] [stdout] 249 | fn display(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> day14/src/main.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap, LinkedList}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> day13/src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | paper.split_off(y as usize + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = paper.split_off(y as usize + 1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> day13/src/main.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | paper[y].split_off(line as usize + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = paper[y].split_off(line as usize + 1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cubes` [INFO] [stdout] --> day22/src/main.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | fn operation(mut cubes: Vec, op: &Operation) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cubes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day22/src/main.rs:198:14 [INFO] [stdout] | [INFO] [stdout] 198 | fn operation(mut cubes: Vec, op: &Operation) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operation` is never used [INFO] [stdout] --> day22/src/main.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn operation(mut cubes: Vec, op: &Operation) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Velocity` is never constructed [INFO] [stdout] --> day17/src/main.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | struct Velocity { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> day17/src/main.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl Velocity { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 116 | fn next(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> day17/src/main.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 131 | impl Position { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 132 | fn next(self, velocity: &Velocity) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step` is never used [INFO] [stdout] --> day17/src/main.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn step(pos: Position, vel: Velocity) -> (Position, Velocity) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cubes` [INFO] [stdout] --> day22/src/main.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | fn operation(mut cubes: Vec, op: &Operation) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cubes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day22/src/main.rs:198:14 [INFO] [stdout] | [INFO] [stdout] 198 | fn operation(mut cubes: Vec, op: &Operation) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operation` is never used [INFO] [stdout] --> day22/src/main.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn operation(mut cubes: Vec, op: &Operation) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "6a2c7ae4de87c0061d28ffa5924480a87fbdba513685018403d02681bdeb00e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a2c7ae4de87c0061d28ffa5924480a87fbdba513685018403d02681bdeb00e3", kill_on_drop: false }` [INFO] [stdout] 6a2c7ae4de87c0061d28ffa5924480a87fbdba513685018403d02681bdeb00e3