[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 try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGipphe%2Fadvent-of-code-2017" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Gipphe/advent-of-code-2017 on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-demangle v0.1.7 [INFO] [stderr] Downloaded regex-syntax v0.5.3 [INFO] [stderr] Downloaded regex v0.2.10 [INFO] [stderr] Downloaded backtrace v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a660f7efdb168c32cc1e16de1b7d009300aedbbde73e30c6b9bf0cecea6db7c0 [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" "a660f7efdb168c32cc1e16de1b7d009300aedbbde73e30c6b9bf0cecea6db7c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a660f7efdb168c32cc1e16de1b7d009300aedbbde73e30c6b9bf0cecea6db7c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a660f7efdb168c32cc1e16de1b7d009300aedbbde73e30c6b9bf0cecea6db7c0", kill_on_drop: false }` [INFO] [stdout] a660f7efdb168c32cc1e16de1b7d009300aedbbde73e30c6b9bf0cecea6db7c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3443191d8ebe9690cd35b5759dc4cb6680832c207ca0eb1b36e6ce9221ba24a5 [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" "3443191d8ebe9690cd35b5759dc4cb6680832c207ca0eb1b36e6ce9221ba24a5", kill_on_drop: false }` [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.5.3 [INFO] [stderr] Compiling thread_local v0.3.5 [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 a macro (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 a macro (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 a macro (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 a macro (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 27.08s [INFO] running `Command { std: "docker" "inspect" "3443191d8ebe9690cd35b5759dc4cb6680832c207ca0eb1b36e6ce9221ba24a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3443191d8ebe9690cd35b5759dc4cb6680832c207ca0eb1b36e6ce9221ba24a5", kill_on_drop: false }` [INFO] [stdout] 3443191d8ebe9690cd35b5759dc4cb6680832c207ca0eb1b36e6ce9221ba24a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75808f42c74af927f45ea43229322ea3d942693da09a85bfa10d57e6ac5e15a2 [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" "75808f42c74af927f45ea43229322ea3d942693da09a85bfa10d57e6ac5e15a2", 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 a macro (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 a macro (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 a macro (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 a macro (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.01s [INFO] running `Command { std: "docker" "inspect" "75808f42c74af927f45ea43229322ea3d942693da09a85bfa10d57e6ac5e15a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75808f42c74af927f45ea43229322ea3d942693da09a85bfa10d57e6ac5e15a2", kill_on_drop: false }` [INFO] [stdout] 75808f42c74af927f45ea43229322ea3d942693da09a85bfa10d57e6ac5e15a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b2b815e5a45d841bff1200d1c86bb776069e5410045364b7fe588e901d8375ba [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" "b2b815e5a45d841bff1200d1c86bb776069e5410045364b7fe588e901d8375ba", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/day_7/mod.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | / lazy_static! { [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 a macro (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 a macro (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 a macro (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 a macro (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 /opt/rustwide/target/debug/deps/advent_of_code_2017-5bcbc1c91faa730c [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b2b815e5a45d841bff1200d1c86bb776069e5410045364b7fe588e901d8375ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2b815e5a45d841bff1200d1c86bb776069e5410045364b7fe588e901d8375ba", kill_on_drop: false }` [INFO] [stdout] b2b815e5a45d841bff1200d1c86bb776069e5410045364b7fe588e901d8375ba