[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#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouislatreille%2FAoC2020" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/louislatreille/AoC2020 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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-20/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: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9ea7bb288d294472630b1c83a71b97a6ed0133424e84edd446c6497b26f9b29 [INFO] running `Command { std: "docker" "start" "-a" "b9ea7bb288d294472630b1c83a71b97a6ed0133424e84edd446c6497b26f9b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9ea7bb288d294472630b1c83a71b97a6ed0133424e84edd446c6497b26f9b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ea7bb288d294472630b1c83a71b97a6ed0133424e84edd446c6497b26f9b29", kill_on_drop: false }` [INFO] [stdout] b9ea7bb288d294472630b1c83a71b97a6ed0133424e84edd446c6497b26f9b29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 848ca6289405ed65585b1e2ca6fcf2e1d5bc4fb9a96551e7d3258c685b6cd5bb [INFO] running `Command { std: "docker" "start" "-a" "848ca6289405ed65585b1e2ca6fcf2e1d5bc4fb9a96551e7d3258c685b6cd5bb", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking aoc_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `cid` [INFO] [stdout] --> src/day_four.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | cid: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_tree` [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 is never used: `build_tree_other` [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: associated function is never used: `is` [INFO] [stdout] --> src/day_seven.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | fn is(&self, other: &BagType) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/day_seven.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 351 | fn find(&mut self, bag_type: &BagType) -> Option<&mut BagNode> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_all` [INFO] [stdout] --> src/day_seven.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 369 | fn find_all(&mut self, bag_type: &BagType) -> Vec<&mut BagNode> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_contain_level` [INFO] [stdout] --> src/day_seven.rs:385:8 [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] [INFO] [stdout] warning: associated function is never used: `find_can_contain` [INFO] [stdout] --> src/day_seven.rs:406:8 [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 is never constructed: `NavigableBagNode` [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: associated function is never used: `child` [INFO] [stdout] --> src/day_seven.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | fn child(&self, index: usize) -> NavigableBagNode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cid` [INFO] [stdout] --> src/day_four.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | cid: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_tree` [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 is never used: `build_tree_other` [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: associated function is never used: `is` [INFO] [stdout] --> src/day_seven.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | fn is(&self, other: &BagType) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/day_seven.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 351 | fn find(&mut self, bag_type: &BagType) -> Option<&mut BagNode> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_all` [INFO] [stdout] --> src/day_seven.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 369 | fn find_all(&mut self, bag_type: &BagType) -> Vec<&mut BagNode> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_contain_level` [INFO] [stdout] --> src/day_seven.rs:385:8 [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] [INFO] [stdout] warning: associated function is never used: `find_can_contain` [INFO] [stdout] --> src/day_seven.rs:406:8 [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 is never constructed: `NavigableBagNode` [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: associated function is never used: `child` [INFO] [stdout] --> src/day_seven.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | fn child(&self, index: usize) -> NavigableBagNode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.91s [INFO] running `Command { std: "docker" "inspect" "848ca6289405ed65585b1e2ca6fcf2e1d5bc4fb9a96551e7d3258c685b6cd5bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "848ca6289405ed65585b1e2ca6fcf2e1d5bc4fb9a96551e7d3258c685b6cd5bb", kill_on_drop: false }` [INFO] [stdout] 848ca6289405ed65585b1e2ca6fcf2e1d5bc4fb9a96551e7d3258c685b6cd5bb