[INFO] cloning repository https://github.com/volyx/advent2020-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/volyx/advent2020-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolyx%2Fadvent2020-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolyx%2Fadvent2020-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2d22a37e8967a675e57273445a8e7c702e15f6d [INFO] checking volyx/advent2020-rust against master#9a42c6509d399fd205917ebce474b31315c5d3e9 for pr-97427 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolyx%2Fadvent2020-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/volyx/advent2020-rust on toolchain 9a42c6509d399fd205917ebce474b31315c5d3e9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9a42c6509d399fd205917ebce474b31315c5d3e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/volyx/advent2020-rust [INFO] finished tweaking git repo https://github.com/volyx/advent2020-rust [INFO] tweaked toml for git repo https://github.com/volyx/advent2020-rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/volyx/advent2020-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9a42c6509d399fd205917ebce474b31315c5d3e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+9a42c6509d399fd205917ebce474b31315c5d3e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4375cfb48052ee338b3248dc5d0688b0a9923e084d401c2fbe9dec87553c0be [INFO] running `Command { std: "docker" "start" "-a" "e4375cfb48052ee338b3248dc5d0688b0a9923e084d401c2fbe9dec87553c0be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4375cfb48052ee338b3248dc5d0688b0a9923e084d401c2fbe9dec87553c0be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4375cfb48052ee338b3248dc5d0688b0a9923e084d401c2fbe9dec87553c0be", kill_on_drop: false }` [INFO] [stdout] e4375cfb48052ee338b3248dc5d0688b0a9923e084d401c2fbe9dec87553c0be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+9a42c6509d399fd205917ebce474b31315c5d3e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ff6280a0f1cf9cd754408adddd47477c4189b3ebf6e460f241e302e5e96d1be [INFO] running `Command { std: "docker" "start" "-a" "4ff6280a0f1cf9cd754408adddd47477c4189b3ebf6e460f241e302e5e96d1be", kill_on_drop: false }` [INFO] [stderr] Checking rust-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `row_mid` is never read [INFO] [stdout] --> src/advent5/mod.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let mut row_mid = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `row_mid` is never read [INFO] [stdout] --> src/advent5/mod.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let mut row_mid = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `col_mid` is never read [INFO] [stdout] --> src/advent5/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut col_mid = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `program` is never read [INFO] [stdout] --> src/advent8/mod.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut program: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_index` is never read [INFO] [stdout] --> src/advent9/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut current_index = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent1/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent2/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent3/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent4/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent5/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent6/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `col_mid` is never read [INFO] [stdout] --> src/advent5/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut col_mid = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `program` is never read [INFO] [stdout] --> src/advent8/mod.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut program: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_index` is never read [INFO] [stdout] --> src/advent9/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut current_index = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent1/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent7/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent2/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_2` [INFO] [stdout] --> src/advent7/mod.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn part_2(bags: Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent3/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent4/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `topological_find` [INFO] [stdout] --> src/advent7/mod.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn topological_find(bags: &Vec, current_bag: &str, count: & mut Cell, level: usize, multiplier: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent5/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_1` [INFO] [stdout] --> src/advent7/mod.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn part_1(bags: Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent6/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_bag` [INFO] [stdout] --> src/advent7/mod.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn find_bag(bag: &Bag, bags_map: &Vec, name: &str, level: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent7/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_2` [INFO] [stdout] --> src/advent7/mod.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn part_2(bags: Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `topological_find` [INFO] [stdout] --> src/advent7/mod.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn topological_find(bags: &Vec, current_bag: &str, count: & mut Cell, level: usize, multiplier: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/advent7/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | children: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent7/mod.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_1` [INFO] [stdout] --> src/advent7/mod.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn part_1(bags: Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent8/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_bag` [INFO] [stdout] --> src/advent7/mod.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn find_bag(bag: &Bag, bags_map: &Vec, name: &str, level: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_program` [INFO] [stdout] --> src/advent8/mod.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn check_program(lines: Vec) -> (i32, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/advent7/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | children: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/advent7/mod.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution` [INFO] [stdout] --> src/advent8/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_program` [INFO] [stdout] --> src/advent8/mod.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn check_program(lines: Vec) -> (i32, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.66s [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "4ff6280a0f1cf9cd754408adddd47477c4189b3ebf6e460f241e302e5e96d1be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ff6280a0f1cf9cd754408adddd47477c4189b3ebf6e460f241e302e5e96d1be", kill_on_drop: false }` [INFO] [stdout] 4ff6280a0f1cf9cd754408adddd47477c4189b3ebf6e460f241e302e5e96d1be