[INFO] cloning repository https://github.com/louislatreille/AoC2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/louislatreille/AoC2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouislatreille%2FAoC2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouislatreille%2FAoC2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ce39abf74d7da85d6fd1ef988d753f3fa0edcc4 [INFO] checking louislatreille/AoC2020 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouislatreille%2FAoC2020" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/louislatreille/AoC2020 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/louislatreille/AoC2020 [INFO] finished tweaking git repo https://github.com/louislatreille/AoC2020 [INFO] tweaked toml for git repo https://github.com/louislatreille/AoC2020 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/louislatreille/AoC2020 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fb5c1a7edef336f4e3f5c3970eb73fc26ec21f7261a0c36a77c8abfd1a1de11 [INFO] running `Command { std: "docker" "start" "-a" "8fb5c1a7edef336f4e3f5c3970eb73fc26ec21f7261a0c36a77c8abfd1a1de11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fb5c1a7edef336f4e3f5c3970eb73fc26ec21f7261a0c36a77c8abfd1a1de11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fb5c1a7edef336f4e3f5c3970eb73fc26ec21f7261a0c36a77c8abfd1a1de11", kill_on_drop: false }` [INFO] [stdout] 8fb5c1a7edef336f4e3f5c3970eb73fc26ec21f7261a0c36a77c8abfd1a1de11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26f269a32e84a99eb59970cc3727e40d53495e666d0a842d9a37f5892c86ddab [INFO] running `Command { std: "docker" "start" "-a" "26f269a32e84a99eb59970cc3727e40d53495e666d0a842d9a37f5892c86ddab", kill_on_drop: false }` [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking aoc_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `cid` is never read [INFO] [stdout] --> src/day_four.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct PassportData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | cid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PassportData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree` is never used [INFO] [stdout] --> src/day_seven.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn build_tree(mut bag_nodes: LinkedList) -> LinkedList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree_other` is never used [INFO] [stdout] --> src/day_seven.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn build_tree_other(mut bag_nodes: LinkedList) -> LinkedList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is`, `find`, `find_all`, `find_contain_level`, and `find_can_contain` are never used [INFO] [stdout] --> src/day_seven.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 334 | impl BagNode { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 335 | fn is(&self, other: &BagType) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 351 | fn find(&mut self, bag_type: &BagType) -> Option<&mut BagNode> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | fn find_all(&mut self, bag_type: &BagType) -> Vec<&mut BagNode> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | fn find_contain_level<'a>(&mut self, bag_type: &BagType, inc: &'a mut i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | fn find_can_contain<'a>(&mut self, bag_type: &BagType, inc: &'a mut HashSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NavigableBagNode` is never constructed [INFO] [stdout] --> src/day_seven.rs:426:8 [INFO] [stdout] | [INFO] [stdout] 426 | struct NavigableBagNode<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `child` is never used [INFO] [stdout] --> src/day_seven.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 431 | impl<'a> NavigableBagNode<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 432 | fn child(&self, index: usize) -> NavigableBagNode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cid` is never read [INFO] [stdout] --> src/day_four.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct PassportData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | cid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PassportData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree` is never used [INFO] [stdout] --> src/day_seven.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn build_tree(mut bag_nodes: LinkedList) -> LinkedList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree_other` is never used [INFO] [stdout] --> src/day_seven.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn build_tree_other(mut bag_nodes: LinkedList) -> LinkedList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is`, `find`, `find_all`, `find_contain_level`, and `find_can_contain` are never used [INFO] [stdout] --> src/day_seven.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 334 | impl BagNode { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 335 | fn is(&self, other: &BagType) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 351 | fn find(&mut self, bag_type: &BagType) -> Option<&mut BagNode> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | fn find_all(&mut self, bag_type: &BagType) -> Vec<&mut BagNode> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | fn find_contain_level<'a>(&mut self, bag_type: &BagType, inc: &'a mut i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | fn find_can_contain<'a>(&mut self, bag_type: &BagType, inc: &'a mut HashSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NavigableBagNode` is never constructed [INFO] [stdout] --> src/day_seven.rs:426:8 [INFO] [stdout] | [INFO] [stdout] 426 | struct NavigableBagNode<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `child` is never used [INFO] [stdout] --> src/day_seven.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 431 | impl<'a> NavigableBagNode<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 432 | fn child(&self, index: usize) -> NavigableBagNode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "26f269a32e84a99eb59970cc3727e40d53495e666d0a842d9a37f5892c86ddab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26f269a32e84a99eb59970cc3727e40d53495e666d0a842d9a37f5892c86ddab", kill_on_drop: false }` [INFO] [stdout] 26f269a32e84a99eb59970cc3727e40d53495e666d0a842d9a37f5892c86ddab [INFO] checking louislatreille/AoC2020 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouislatreille%2FAoC2020" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/louislatreille/AoC2020 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/louislatreille/AoC2020 [INFO] finished tweaking git repo https://github.com/louislatreille/AoC2020 [INFO] tweaked toml for git repo https://github.com/louislatreille/AoC2020 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/louislatreille/AoC2020 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7b26ff2de5aabcea28171f9062b9f20d2ba451413b292fdb8efa18850d9a243 [INFO] running `Command { std: "docker" "start" "-a" "d7b26ff2de5aabcea28171f9062b9f20d2ba451413b292fdb8efa18850d9a243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7b26ff2de5aabcea28171f9062b9f20d2ba451413b292fdb8efa18850d9a243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7b26ff2de5aabcea28171f9062b9f20d2ba451413b292fdb8efa18850d9a243", kill_on_drop: false }` [INFO] [stdout] d7b26ff2de5aabcea28171f9062b9f20d2ba451413b292fdb8efa18850d9a243 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3643d8ef827d7cbd8dac3d8486699e58eb06f3186cfa90e6c2d6f5956f904725 [INFO] running `Command { std: "docker" "start" "-a" "3643d8ef827d7cbd8dac3d8486699e58eb06f3186cfa90e6c2d6f5956f904725", kill_on_drop: false }` [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking aoc_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `cid` is never read [INFO] [stdout] --> src/day_four.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct PassportData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | cid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PassportData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree` is never used [INFO] [stdout] --> src/day_seven.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn build_tree(mut bag_nodes: LinkedList) -> LinkedList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree_other` is never used [INFO] [stdout] --> src/day_seven.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn build_tree_other(mut bag_nodes: LinkedList) -> LinkedList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is`, `find`, `find_all`, `find_contain_level`, and `find_can_contain` are never used [INFO] [stdout] --> src/day_seven.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 334 | impl BagNode { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 335 | fn is(&self, other: &BagType) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 351 | fn find(&mut self, bag_type: &BagType) -> Option<&mut BagNode> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | fn find_all(&mut self, bag_type: &BagType) -> Vec<&mut BagNode> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | fn find_contain_level<'a>(&mut self, bag_type: &BagType, inc: &'a mut i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | fn find_can_contain<'a>(&mut self, bag_type: &BagType, inc: &'a mut HashSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NavigableBagNode` is never constructed [INFO] [stdout] --> src/day_seven.rs:426:8 [INFO] [stdout] | [INFO] [stdout] 426 | struct NavigableBagNode<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `child` is never used [INFO] [stdout] --> src/day_seven.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 431 | impl<'a> NavigableBagNode<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 432 | fn child(&self, index: usize) -> NavigableBagNode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cid` is never read [INFO] [stdout] --> src/day_four.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct PassportData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | cid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PassportData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree` is never used [INFO] [stdout] --> src/day_seven.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn build_tree(mut bag_nodes: LinkedList) -> LinkedList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree_other` is never used [INFO] [stdout] --> src/day_seven.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn build_tree_other(mut bag_nodes: LinkedList) -> LinkedList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is`, `find`, `find_all`, `find_contain_level`, and `find_can_contain` are never used [INFO] [stdout] --> src/day_seven.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 334 | impl BagNode { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 335 | fn is(&self, other: &BagType) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 351 | fn find(&mut self, bag_type: &BagType) -> Option<&mut BagNode> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | fn find_all(&mut self, bag_type: &BagType) -> Vec<&mut BagNode> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | fn find_contain_level<'a>(&mut self, bag_type: &BagType, inc: &'a mut i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | fn find_can_contain<'a>(&mut self, bag_type: &BagType, inc: &'a mut HashSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NavigableBagNode` is never constructed [INFO] [stdout] --> src/day_seven.rs:426:8 [INFO] [stdout] | [INFO] [stdout] 426 | struct NavigableBagNode<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `child` is never used [INFO] [stdout] --> src/day_seven.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 431 | impl<'a> NavigableBagNode<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 432 | fn child(&self, index: usize) -> NavigableBagNode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.53s [INFO] running `Command { std: "docker" "inspect" "3643d8ef827d7cbd8dac3d8486699e58eb06f3186cfa90e6c2d6f5956f904725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3643d8ef827d7cbd8dac3d8486699e58eb06f3186cfa90e6c2d6f5956f904725", kill_on_drop: false }` [INFO] [stdout] 3643d8ef827d7cbd8dac3d8486699e58eb06f3186cfa90e6c2d6f5956f904725