[INFO] cloning repository https://github.com/nrayamajhee/Advent-of-Code-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nrayamajhee/Advent-of-Code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnrayamajhee%2FAdvent-of-Code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnrayamajhee%2FAdvent-of-Code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 347c94be054fef748de77d6750b7b6bf50a53154 [INFO] checking nrayamajhee/Advent-of-Code-2020 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnrayamajhee%2FAdvent-of-Code-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/nrayamajhee/Advent-of-Code-2020 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nrayamajhee/Advent-of-Code-2020 [INFO] finished tweaking git repo https://github.com/nrayamajhee/Advent-of-Code-2020 [INFO] tweaked toml for git repo https://github.com/nrayamajhee/Advent-of-Code-2020 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/nrayamajhee/Advent-of-Code-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae1bbc96aa1db9be1cb4fe3a4c37bc0a57d1bf710b63fa5027de3a828694e06c [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" "ae1bbc96aa1db9be1cb4fe3a4c37bc0a57d1bf710b63fa5027de3a828694e06c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae1bbc96aa1db9be1cb4fe3a4c37bc0a57d1bf710b63fa5027de3a828694e06c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae1bbc96aa1db9be1cb4fe3a4c37bc0a57d1bf710b63fa5027de3a828694e06c", kill_on_drop: false }` [INFO] [stdout] ae1bbc96aa1db9be1cb4fe3a4c37bc0a57d1bf710b63fa5027de3a828694e06c [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34042b13aa25bfab9f636da007e8831bc6de367bca86c28c28543c3e46d79ac5 [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" "34042b13aa25bfab9f636da007e8831bc6de367bca86c28c28543c3e46d79ac5", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `num` in this scope [INFO] [stdout] --> src/day9.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | num = Some(current); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/day8.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `num` in this scope [INFO] [stdout] --> src/day9.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | num = Some(current); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/day8.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sort_unstable` found for reference `&(&[usize], &[usize])` in the current scope [INFO] [stdout] --> src/day9.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | buffer.sort_unstable(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&(&[usize], &[usize])` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day9.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 18 | if crate::day1::get_pairs_fast(&buffer, line) == None { [INFO] [stdout] | ^^^^^^^ expected slice `[u16]`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u16]` [INFO] [stdout] found reference `&&(&[usize], &[usize])` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sort_unstable` found for reference `&(&[usize], &[usize])` in the current scope [INFO] [stdout] --> src/day9.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | buffer.sort_unstable(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&(&[usize], &[usize])` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day9.rs:18:53 [INFO] [stdout] | [INFO] [stdout] 18 | if crate::day1::get_pairs_fast(&buffer, line) == None { [INFO] [stdout] | ^^^^ expected `u16`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u16` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day9.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 18 | if crate::day1::get_pairs_fast(&buffer, line) == None { [INFO] [stdout] | ^^^^^^^ expected slice `[u16]`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u16]` [INFO] [stdout] found reference `&&(&[usize], &[usize])` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day9.rs:18:53 [INFO] [stdout] | [INFO] [stdout] 18 | if crate::day1::get_pairs_fast(&buffer, line) == None { [INFO] [stdout] | ^^^^ expected `u16`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u16` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "34042b13aa25bfab9f636da007e8831bc6de367bca86c28c28543c3e46d79ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34042b13aa25bfab9f636da007e8831bc6de367bca86c28c28543c3e46d79ac5", kill_on_drop: false }` [INFO] [stdout] 34042b13aa25bfab9f636da007e8831bc6de367bca86c28c28543c3e46d79ac5