[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 84c64926d4539c8632fe0b293c41c29fa4a5ffd3 [INFO] checking Gipphe/advent-of-code-2017 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGipphe%2Fadvent-of-code-2017" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Gipphe/advent-of-code-2017 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "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-6/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" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+45d050cde277b22a755847338f2acc2c7b834141" "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] 946cb3fed65b2a3ec1b72ce3f09395c22219c66d4b96298646a9ca1d3658761b [INFO] running `"docker" "start" "-a" "946cb3fed65b2a3ec1b72ce3f09395c22219c66d4b96298646a9ca1d3658761b"` [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Compiling cc v1.0.9 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.7 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.5.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking regex v0.2.10 [INFO] [stderr] Checking backtrace v0.3.5 [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (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: 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: 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: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] 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: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 dev [unoptimized + debuginfo] target(s) in 25.95s [INFO] running `"docker" "inspect" "946cb3fed65b2a3ec1b72ce3f09395c22219c66d4b96298646a9ca1d3658761b"` [INFO] running `"docker" "rm" "-f" "946cb3fed65b2a3ec1b72ce3f09395c22219c66d4b96298646a9ca1d3658761b"` [INFO] [stdout] 946cb3fed65b2a3ec1b72ce3f09395c22219c66d4b96298646a9ca1d3658761b