[INFO] cloning repository https://github.com/krcz/advent-of-code-2020.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krcz/advent-of-code-2020.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrcz%2Fadvent-of-code-2020.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrcz%2Fadvent-of-code-2020.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fad6552319dcf7a498e1344bfddd8021a9d4d9bd [INFO] testing krcz/advent-of-code-2020.rs against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrcz%2Fadvent-of-code-2020.rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/krcz/advent-of-code-2020.rs [INFO] finished tweaking git repo https://github.com/krcz/advent-of-code-2020.rs [INFO] tweaked toml for git repo https://github.com/krcz/advent-of-code-2020.rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/krcz/advent-of-code-2020.rs on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/krcz/advent-of-code-2020.rs 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d6775d3e192a225c8ce263156f207376aa76cc84e0d1124f2c0ad516cab556f [INFO] running `Command { std: "docker" "start" "-a" "7d6775d3e192a225c8ce263156f207376aa76cc84e0d1124f2c0ad516cab556f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d6775d3e192a225c8ce263156f207376aa76cc84e0d1124f2c0ad516cab556f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d6775d3e192a225c8ce263156f207376aa76cc84e0d1124f2c0ad516cab556f", kill_on_drop: false }` [INFO] [stdout] 7d6775d3e192a225c8ce263156f207376aa76cc84e0d1124f2c0ad516cab556f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 842901e33900ab0c2751f78bd10a960d2b1af5113f7cec488cd167520218f1d3 [INFO] running `Command { std: "docker" "start" "-a" "842901e33900ab0c2751f78bd10a960d2b1af5113f7cec488cd167520218f1d3", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling fixedbitset v0.3.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling advent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day19a.rs:68:95 [INFO] [stdout] | [INFO] [stdout] 68 | let mut unsorted_rules: Vec<(usize, Vec>>)> = lines.iter().enumerate().map(|(i, l)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/day16b.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_ticket` [INFO] [stdout] --> src/day16a.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let my_ticket = parse_ticket(&(&mut lines).dropping(1).next().unwrap()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_ticket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day14b.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day13b.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FoldWhile` [INFO] [stdout] --> src/day09b.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use itertools::{FoldWhile, Itertools}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `map_entry_replace` [INFO] [stdout] --> src/day09b.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(map_entry_replace)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `option_result_contains` [INFO] [stdout] --> src/day09b.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(option_result_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day17b.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let mut flat_board: Vec> = stdin.lock().lines().map(|line| { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day13b.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let (g, (x, y)) = egcd(a as i64, n as i64); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `replace_entry` found for struct `std::collections::hash_map::OccupiedEntry<'a, K, V, A>` in the current scope [INFO] [stdout] --> src/day09b.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | e.replace_entry(vv - 1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `remove_entry` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/collections/hash/map.rs:2695:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent` (bin "day09b") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day17a.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut flat_board: Vec> = stdin.lock().lines().map(|line| { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/day16b.rs:136:46 [INFO] [stdout] | [INFO] [stdout] 136 | let res: u64 = mmatch.iter().filter(|(k, v)| k.starts_with("departure")).fold(1, |acc, (_, &v)| acc * my_ticket[v]); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "842901e33900ab0c2751f78bd10a960d2b1af5113f7cec488cd167520218f1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "842901e33900ab0c2751f78bd10a960d2b1af5113f7cec488cd167520218f1d3", kill_on_drop: false }` [INFO] [stdout] 842901e33900ab0c2751f78bd10a960d2b1af5113f7cec488cd167520218f1d3