[INFO] cloning repository https://github.com/adek05/AdventOfCode2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adek05/AdventOfCode2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadek05%2FAdventOfCode2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadek05%2FAdventOfCode2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1064c9dab59d38219c57e8bd53ec863071969b51 [INFO] checking adek05/AdventOfCode2021 against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadek05%2FAdventOfCode2021" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adek05/AdventOfCode2021 on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adek05/AdventOfCode2021 [INFO] finished tweaking git repo https://github.com/adek05/AdventOfCode2021 [INFO] tweaked toml for git repo https://github.com/adek05/AdventOfCode2021 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/adek05/AdventOfCode2021 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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking adek05/AdventOfCode2021 against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadek05%2FAdventOfCode2021" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adek05/AdventOfCode2021 on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adek05/AdventOfCode2021 [INFO] finished tweaking git repo https://github.com/adek05/AdventOfCode2021 [INFO] tweaked toml for git repo https://github.com/adek05/AdventOfCode2021 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/adek05/AdventOfCode2021 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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itertools v0.4.19 [INFO] [stderr] Downloaded strcursor v0.2.5 [INFO] [stderr] Downloaded scan-rules v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2322b54aef40d4372802fed393f5cf4b29db9e18179af67d38a02319a8a59f1 [INFO] running `Command { std: "docker" "start" "-a" "c2322b54aef40d4372802fed393f5cf4b29db9e18179af67d38a02319a8a59f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2322b54aef40d4372802fed393f5cf4b29db9e18179af67d38a02319a8a59f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2322b54aef40d4372802fed393f5cf4b29db9e18179af67d38a02319a8a59f1", kill_on_drop: false }` [INFO] [stdout] c2322b54aef40d4372802fed393f5cf4b29db9e18179af67d38a02319a8a59f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df40e82eed9042f1414efd6b33d4ba5498364e82bc91c624a42c9fa28ac586b8 [INFO] running `Command { std: "docker" "start" "-a" "df40e82eed9042f1414efd6b33d4ba5498364e82bc91c624a42c9fa28ac586b8", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking unicode-segmentation v0.1.2 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling strcursor v0.2.5 [INFO] [stderr] Compiling scan-rules v0.2.0 [INFO] [stderr] Checking AdventOfCode2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `getDist` should have a snake case name [INFO] [stdout] --> src/chiton.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn getDist(p: &Coord, cavern: &Vec>, xlen: usize, ylen: usize) -> usize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/trench_map.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | readln! {(let x: Everything) => ()}; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `x` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trench_map.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | readln! {(let x: Everything) => ()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `readln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/extended_polymerization.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut pattern = readln! {(let p: Word) => p}; [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] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/reactor_reboot.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `iterator_fold_self` has been stable since 1.51.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/snailfish.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(iterator_fold_self)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Binary` [INFO] [stdout] --> src/packet_decoder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Binary; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/packet_decoder.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 60 | / match length_type { [INFO] [stdout] 61 | | '0' => { [INFO] [stdout] 62 | | let len_to_read = usize::from_str_radix(&read_bits(15, iter), 2).unwrap(); [INFO] [stdout] 63 | | let bits = read_bits(len_to_read, iter); [INFO] [stdout] ... | [INFO] [stdout] 87 | | x => panic!("Invalid lenght_type. Expected 0 or 1. Got {}", x), [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 89 | [INFO] [stdout] 90 | panic!() [INFO] [stdout] | ^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/extended_polymerization.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut pattern = readln! {(let p: Word) => p}; [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] warning: function `getDist` should have a snake case name [INFO] [stdout] --> src/chiton.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn getDist(p: &Coord, cavern: &Vec>, xlen: usize, ylen: usize) -> usize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fold_first` found for struct `Cloned` in the current scope [INFO] [stdout] --> src/snailfish.rs:213:46 [INFO] [stdout] | [INFO] [stdout] 213 | let res = reduce(numbers.iter().cloned().fold_first(add).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Cloned>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `AdventOfCode2021` (bin "day18") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/reactor_reboot.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "df40e82eed9042f1414efd6b33d4ba5498364e82bc91c624a42c9fa28ac586b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df40e82eed9042f1414efd6b33d4ba5498364e82bc91c624a42c9fa28ac586b8", kill_on_drop: false }` [INFO] [stdout] df40e82eed9042f1414efd6b33d4ba5498364e82bc91c624a42c9fa28ac586b8