[INFO] cloning repository https://github.com/Gipphe/advent-of-code-2017 [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGipphe%2Fadvent-of-code-2017'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 84c64926d4539c8632fe0b293c41c29fa4a5ffd3 [INFO] checking Gipphe/advent-of-code-2017 against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGipphe%2Fadvent-of-code-2017" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Gipphe/advent-of-code-2017 on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [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-9/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 `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3dcbb14146b107b665c393fcf3fbca25232a1b3efd7dae04ab475ba4fde16d47 [INFO] running `"docker" "start" "-a" "3dcbb14146b107b665c393fcf3fbca25232a1b3efd7dae04ab475ba4fde16d47"` [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking advent-of-code-2017 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item '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 outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 outside of the current crate (in Nightly builds, run with -Z external-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: consider prefixing with an underscore: `_child` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `sum_weight` [INFO] [stderr] --> src/day_7/mod.rs:14:5 [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:1 [INFO] [stderr] | [INFO] [stderr] 134 | fn find_wrong_weight(root: Program) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: consider prefixing with an underscore: `_child` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `sum_weight` [INFO] [stderr] --> src/day_7/mod.rs:14:5 [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:1 [INFO] [stderr] | [INFO] [stderr] 134 | fn find_wrong_weight(root: Program) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.77s [INFO] running `"docker" "inspect" "3dcbb14146b107b665c393fcf3fbca25232a1b3efd7dae04ab475ba4fde16d47"` [INFO] running `"docker" "rm" "-f" "3dcbb14146b107b665c393fcf3fbca25232a1b3efd7dae04ab475ba4fde16d47"` [INFO] [stdout] 3dcbb14146b107b665c393fcf3fbca25232a1b3efd7dae04ab475ba4fde16d47