[INFO] cloning repository https://github.com/ronweikamp/aoc2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ronweikamp/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronweikamp%2Faoc2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronweikamp%2Faoc2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eea7d136c8ba6336e89246d42e5dcfdff3ef1d0a [INFO] checking ronweikamp/aoc2020 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronweikamp%2Faoc2020" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ronweikamp/aoc2020 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ronweikamp/aoc2020 [INFO] finished tweaking git repo https://github.com/ronweikamp/aoc2020 [INFO] tweaked toml for git repo https://github.com/ronweikamp/aoc2020 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ronweikamp/aoc2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 310128d5c29977a410245ecd54a61a7aad5c9a26975e96cf8a05044f9bbb4497 [INFO] running `Command { std: "docker" "start" "-a" "310128d5c29977a410245ecd54a61a7aad5c9a26975e96cf8a05044f9bbb4497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "310128d5c29977a410245ecd54a61a7aad5c9a26975e96cf8a05044f9bbb4497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "310128d5c29977a410245ecd54a61a7aad5c9a26975e96cf8a05044f9bbb4497", kill_on_drop: false }` [INFO] [stdout] 310128d5c29977a410245ecd54a61a7aad5c9a26975e96cf8a05044f9bbb4497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98fa0be53bb2918c2cac8089c036f72702f5aadc206c1e648961a53d7bf63cbb [INFO] running `Command { std: "docker" "start" "-a" "98fa0be53bb2918c2cac8089c036f72702f5aadc206c1e648961a53d7bf63cbb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking advent_of_code2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::day11::day11_part2` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::day11::day11_part2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::read` [INFO] [stdout] --> src/day5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::read; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::read` [INFO] [stdout] --> src/day6.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::read; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::graph::EdgeIndex` [INFO] [stdout] --> src/day7.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::graph::EdgeIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::graph::EdgeReference` [INFO] [stdout] --> src/day7.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use petgraph::graph::EdgeReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::stable_graph::StableGraph` [INFO] [stdout] --> src/day7.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use petgraph::stable_graph::StableGraph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::prelude::GraphMap` [INFO] [stdout] --> src/day7.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use petgraph::prelude::GraphMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day10.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/day13.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::day11::day11_part2` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::day11::day11_part2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::read` [INFO] [stdout] --> src/day6.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::read; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::graph::EdgeIndex` [INFO] [stdout] --> src/day7.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::graph::EdgeIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::graph::EdgeReference` [INFO] [stdout] --> src/day7.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use petgraph::graph::EdgeReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::stable_graph::StableGraph` [INFO] [stdout] --> src/day7.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use petgraph::stable_graph::StableGraph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::prelude::GraphMap` [INFO] [stdout] --> src/day7.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use petgraph::prelude::GraphMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day10.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/day13.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/utils.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(path: &str) -> EmptyLineIterator { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 16 | EmptyLineIterator { [INFO] [stdout] 17 | wrapped: Box::new(read(path)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/day4.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 170 | fn new(path: &str) -> PasspordLineIterator { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 171 | PasspordLineIterator { [INFO] [stdout] 172 | wrapped: Box::new(read(path)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/utils.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(path: &str) -> EmptyLineIterator { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 16 | EmptyLineIterator { [INFO] [stdout] 17 | wrapped: Box::new(read(path)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/day4.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 170 | fn new(path: &str) -> PasspordLineIterator { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 171 | PasspordLineIterator { [INFO] [stdout] 172 | wrapped: Box::new(read(path)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/day13.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let base = numbers.iter().nth(0).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day13.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let mut skip: usize = 0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code2020` (bin "advent_of_code2020") due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/day13.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let base = numbers.iter().nth(0).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day13.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let mut skip: usize = 0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code2020` (bin "advent_of_code2020" test) due to 3 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "98fa0be53bb2918c2cac8089c036f72702f5aadc206c1e648961a53d7bf63cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98fa0be53bb2918c2cac8089c036f72702f5aadc206c1e648961a53d7bf63cbb", kill_on_drop: false }` [INFO] [stdout] 98fa0be53bb2918c2cac8089c036f72702f5aadc206c1e648961a53d7bf63cbb