[INFO] cloning repository https://github.com/Riari/aoc-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Riari/aoc-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiari%2Faoc-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiari%2Faoc-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 183ab24242c4ae20970979f2ee8ac5f87ab2b586 [INFO] checking Riari/aoc-2020 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiari%2Faoc-2020" "/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/Riari/aoc-2020 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Riari/aoc-2020 [INFO] finished tweaking git repo https://github.com/Riari/aoc-2020 [INFO] tweaked toml for git repo https://github.com/Riari/aoc-2020 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Riari/aoc-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42e7a4cc0de416591fa2cc16a83044e0a5e46f07490611ac54b4576d859d4d6a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "42e7a4cc0de416591fa2cc16a83044e0a5e46f07490611ac54b4576d859d4d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42e7a4cc0de416591fa2cc16a83044e0a5e46f07490611ac54b4576d859d4d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42e7a4cc0de416591fa2cc16a83044e0a5e46f07490611ac54b4576d859d4d6a", kill_on_drop: false }` [INFO] [stdout] 42e7a4cc0de416591fa2cc16a83044e0a5e46f07490611ac54b4576d859d4d6a [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3354f9b664b665f2d33252edd1a98b3d2421eed615efe34632d57140ecf498ab [INFO] running `Command { std: "docker" "start" "-a" "3354f9b664b665f2d33252edd1a98b3d2421eed615efe34632d57140ecf498ab", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking aoc-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `fold_first` found for struct `std::slice::Iter` in the current scope [INFO] [stdout] --> src/bin/20.rs:208:30 [INFO] [stdout] | [INFO] [stdout] 208 | corners.push(grid.iter().fold_first(|a, b| if a.pos.x <= b.pos.x && a.pos.y <= b.pos.y { a } else { b }).unwrap().id); [INFO] [stdout] | ^^^^^^^^^^ method not found in `std::slice::Iter<'_, Tile>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fold_first` found for struct `std::slice::Iter` in the current scope [INFO] [stdout] --> src/bin/20.rs:209:30 [INFO] [stdout] | [INFO] [stdout] 209 | corners.push(grid.iter().fold_first(|a, b| if a.pos.x <= b.pos.x && a.pos.y >= b.pos.y { a } else { b }).unwrap().id); [INFO] [stdout] | ^^^^^^^^^^ method not found in `std::slice::Iter<'_, Tile>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fold_first` found for struct `std::slice::Iter` in the current scope [INFO] [stdout] --> src/bin/20.rs:210:30 [INFO] [stdout] | [INFO] [stdout] 210 | corners.push(grid.iter().fold_first(|a, b| if a.pos.x >= b.pos.x && a.pos.y >= b.pos.y { a } else { b }).unwrap().id); [INFO] [stdout] | ^^^^^^^^^^ method not found in `std::slice::Iter<'_, Tile>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fold_first` found for struct `std::slice::Iter` in the current scope [INFO] [stdout] --> src/bin/20.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 211 | corners.push(grid.iter().fold_first(|a, b| if a.pos.x >= b.pos.x && a.pos.y <= b.pos.y { a } else { b }).unwrap().id); [INFO] [stdout] | ^^^^^^^^^^ method not found in `std::slice::Iter<'_, Tile>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2020` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `fold_first` found for struct `std::slice::Iter` in the current scope [INFO] [stdout] --> src/bin/20.rs:208:30 [INFO] [stdout] | [INFO] [stdout] 208 | corners.push(grid.iter().fold_first(|a, b| if a.pos.x <= b.pos.x && a.pos.y <= b.pos.y { a } else { b }).unwrap().id); [INFO] [stdout] | ^^^^^^^^^^ method not found in `std::slice::Iter<'_, Tile>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fold_first` found for struct `std::slice::Iter` in the current scope [INFO] [stdout] --> src/bin/20.rs:209:30 [INFO] [stdout] | [INFO] [stdout] 209 | corners.push(grid.iter().fold_first(|a, b| if a.pos.x <= b.pos.x && a.pos.y >= b.pos.y { a } else { b }).unwrap().id); [INFO] [stdout] | ^^^^^^^^^^ method not found in `std::slice::Iter<'_, Tile>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fold_first` found for struct `std::slice::Iter` in the current scope [INFO] [stdout] --> src/bin/20.rs:210:30 [INFO] [stdout] | [INFO] [stdout] 210 | corners.push(grid.iter().fold_first(|a, b| if a.pos.x >= b.pos.x && a.pos.y >= b.pos.y { a } else { b }).unwrap().id); [INFO] [stdout] | ^^^^^^^^^^ method not found in `std::slice::Iter<'_, Tile>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fold_first` found for struct `std::slice::Iter` in the current scope [INFO] [stdout] --> src/bin/20.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 211 | corners.push(grid.iter().fold_first(|a, b| if a.pos.x >= b.pos.x && a.pos.y <= b.pos.y { a } else { b }).unwrap().id); [INFO] [stdout] | ^^^^^^^^^^ method not found in `std::slice::Iter<'_, Tile>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3354f9b664b665f2d33252edd1a98b3d2421eed615efe34632d57140ecf498ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3354f9b664b665f2d33252edd1a98b3d2421eed615efe34632d57140ecf498ab", kill_on_drop: false }` [INFO] [stdout] 3354f9b664b665f2d33252edd1a98b3d2421eed615efe34632d57140ecf498ab