[INFO] cloning repository https://github.com/Gipphe/advent-of-code-2017 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gipphe/advent-of-code-2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGipphe%2Fadvent-of-code-2017", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGipphe%2Fadvent-of-code-2017'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84c64926d4539c8632fe0b293c41c29fa4a5ffd3 [INFO] testing Gipphe/advent-of-code-2017 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGipphe%2Fadvent-of-code-2017" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Gipphe/advent-of-code-2017 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Gipphe/advent-of-code-2017 [INFO] finished tweaking git repo https://github.com/Gipphe/advent-of-code-2017 [INFO] tweaked toml for git repo https://github.com/Gipphe/advent-of-code-2017 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Gipphe/advent-of-code-2017 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53365a98c942444924e96dc26cce5e29123cac0d1b6c07ab43d5e121ff8bb83a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "53365a98c942444924e96dc26cce5e29123cac0d1b6c07ab43d5e121ff8bb83a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53365a98c942444924e96dc26cce5e29123cac0d1b6c07ab43d5e121ff8bb83a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53365a98c942444924e96dc26cce5e29123cac0d1b6c07ab43d5e121ff8bb83a", kill_on_drop: false }` [INFO] [stdout] 53365a98c942444924e96dc26cce5e29123cac0d1b6c07ab43d5e121ff8bb83a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ea42f33a87697ef0cc1b0fefdb8e9dcd8ec1c3b464b863db1a192af628d1199 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1ea42f33a87697ef0cc1b0fefdb8e9dcd8ec1c3b464b863db1a192af628d1199", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.9 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.5.3 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling advent-of-code-2017 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/day_7/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref CHILDREN: Regex = Regex::new(r"-> (?P.+)$").unwrap(); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/day_7/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref NAME: Regex = Regex::new(r"^(\w+)").unwrap(); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/day_7/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / lazy_static! { [INFO] [stdout] 84 | | static ref NAME_AND_WEIGHT: Regex = Regex::new(r"^(?P\w+) \((?P\d+)\)").unwrap(); [INFO] [stdout] 85 | | static ref CHILDREN: Regex = Regex::new(r"-> (?P.+)$").unwrap(); [INFO] [stdout] 86 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/day_7/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / lazy_static! { [INFO] [stdout] 84 | | static ref NAME_AND_WEIGHT: Regex = Regex::new(r"^(?P\w+) \((?P\d+)\)").unwrap(); [INFO] [stdout] 85 | | static ref CHILDREN: Regex = Regex::new(r"-> (?P.+)$").unwrap(); [INFO] [stdout] 86 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/day_7/mod.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | for child in root.children { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum_weight` [INFO] [stdout] --> src/day_7/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn sum_weight(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_wrong_weight` [INFO] [stdout] --> src/day_7/mod.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn find_wrong_weight(root: Program) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.20s [INFO] running `Command { std: "docker" "inspect" "1ea42f33a87697ef0cc1b0fefdb8e9dcd8ec1c3b464b863db1a192af628d1199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ea42f33a87697ef0cc1b0fefdb8e9dcd8ec1c3b464b863db1a192af628d1199", kill_on_drop: false }` [INFO] [stdout] 1ea42f33a87697ef0cc1b0fefdb8e9dcd8ec1c3b464b863db1a192af628d1199 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cbd8a4beddfc970637d0810d19557e91a2467ab3f06846e91825a9dc94457a23 [INFO] running `Command { std: "docker" "start" "-a" "cbd8a4beddfc970637d0810d19557e91a2467ab3f06846e91825a9dc94457a23", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code-2017 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/day_7/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref CHILDREN: Regex = Regex::new(r"-> (?P.+)$").unwrap(); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/day_7/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref NAME: Regex = Regex::new(r"^(\w+)").unwrap(); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/day_7/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / lazy_static! { [INFO] [stdout] 84 | | static ref NAME_AND_WEIGHT: Regex = Regex::new(r"^(?P\w+) \((?P\d+)\)").unwrap(); [INFO] [stdout] 85 | | static ref CHILDREN: Regex = Regex::new(r"-> (?P.+)$").unwrap(); [INFO] [stdout] 86 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/day_7/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / lazy_static! { [INFO] [stdout] 84 | | static ref NAME_AND_WEIGHT: Regex = Regex::new(r"^(?P\w+) \((?P\d+)\)").unwrap(); [INFO] [stdout] 85 | | static ref CHILDREN: Regex = Regex::new(r"-> (?P.+)$").unwrap(); [INFO] [stdout] 86 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/day_7/mod.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | for child in root.children { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum_weight` [INFO] [stdout] --> src/day_7/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn sum_weight(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_wrong_weight` [INFO] [stdout] --> src/day_7/mod.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn find_wrong_weight(root: Program) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "cbd8a4beddfc970637d0810d19557e91a2467ab3f06846e91825a9dc94457a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbd8a4beddfc970637d0810d19557e91a2467ab3f06846e91825a9dc94457a23", kill_on_drop: false }` [INFO] [stdout] cbd8a4beddfc970637d0810d19557e91a2467ab3f06846e91825a9dc94457a23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 14c72e24fe5cc32c998415455048080cb91de5800f893aee65e2fdf5afdb9ff4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "14c72e24fe5cc32c998415455048080cb91de5800f893aee65e2fdf5afdb9ff4", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/day_7/mod.rs:24:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 24 | / lazy_static! { [INFO] [stdout] [INFO] [stderr] 25 | | static ref CHILDREN: Regex = Regex::new(r"-> (?P.+)$").unwrap(); [INFO] [stderr] 26 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/day_7/mod.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | / lazy_static! { [INFO] [stderr] 40 | | static ref NAME: Regex = Regex::new(r"^(\w+)").unwrap(); [INFO] [stderr] 41 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/day_7/mod.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | / lazy_static! { [INFO] [stderr] 84 | | static ref NAME_AND_WEIGHT: Regex = Regex::new(r"^(?P\w+) \((?P\d+)\)").unwrap(); [INFO] [stderr] 85 | | static ref CHILDREN: Regex = Regex::new(r"-> (?P.+)$").unwrap(); [INFO] [stderr] 86 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/day_7/mod.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | / lazy_static! { [INFO] [stderr] 84 | | static ref NAME_AND_WEIGHT: Regex = Regex::new(r"^(?P\w+) \((?P\d+)\)").unwrap(); [INFO] [stderr] 85 | | static ref CHILDREN: Regex = Regex::new(r"-> (?P.+)$").unwrap(); [INFO] [stderr] 86 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `child` [INFO] [stderr] --> src/day_7/mod.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | for child in root.children { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sum_weight` [INFO] [stderr] --> src/day_7/mod.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | fn sum_weight(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `find_wrong_weight` [INFO] [stderr] --> src/day_7/mod.rs:134:4 [INFO] [stderr] | [INFO] [stderr] 134 | fn find_wrong_weight(root: Program) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent_of_code_2017-1db2e28bf12182e7) [INFO] running `Command { std: "docker" "inspect" "14c72e24fe5cc32c998415455048080cb91de5800f893aee65e2fdf5afdb9ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c72e24fe5cc32c998415455048080cb91de5800f893aee65e2fdf5afdb9ff4", kill_on_drop: false }` [INFO] [stdout] 14c72e24fe5cc32c998415455048080cb91de5800f893aee65e2fdf5afdb9ff4