[INFO] cloning repository https://github.com/TartanLlama/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/TartanLlama/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTartanLlama%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTartanLlama%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f679305e792ff716aeaeed32e80f0af2adb5609 [INFO] checking TartanLlama/advent-of-code-2020 against master#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTartanLlama%2Fadvent-of-code-2020" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TartanLlama/advent-of-code-2020 on toolchain 39b841dfe36f90a7cd111e7f0c55f32594f6e578 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TartanLlama/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/TartanLlama/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/TartanLlama/advent-of-code-2020 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/TartanLlama/advent-of-code-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "metadata" "--no-deps" "--format-version=1", 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] 40cbd87e1e5545731910d0ca50339656ced46e337be28083fda25dbb42908a1e [INFO] running `Command { std: "docker" "start" "-a" "40cbd87e1e5545731910d0ca50339656ced46e337be28083fda25dbb42908a1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40cbd87e1e5545731910d0ca50339656ced46e337be28083fda25dbb42908a1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40cbd87e1e5545731910d0ca50339656ced46e337be28083fda25dbb42908a1e", kill_on_drop: false }` [INFO] [stdout] 40cbd87e1e5545731910d0ca50339656ced46e337be28083fda25dbb42908a1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "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] 70a7ebe3dece213a9f6cafbef324500dfcd2dd6255bae0fb087633d8736f86ee [INFO] running `Command { std: "docker" "start" "-a" "70a7ebe3dece213a9f6cafbef324500dfcd2dd6255bae0fb087633d8736f86ee", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking aoc2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dynasmrt` [INFO] [stdout] --> src/day8.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dynasmrt::{dynasm, relocations::Relocation, AssemblyOffset, DynasmApi, DynasmLabelApi}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `dynasmrt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/day8.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::memoryapi::VirtualProtect; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/day8.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dynasmrt` [INFO] [stdout] --> src/day8.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use dynasmrt::x64::X64Relocation; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `dynasmrt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dynasmrt` [INFO] [stdout] --> src/day8.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dynasmrt::{dynasm, relocations::Relocation, AssemblyOffset, DynasmApi, DynasmLabelApi}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `dynasmrt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `dynasm` [INFO] [stdout] --> src/day8.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | dynasm!(ops; xor rax, rax); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `dynasm` [INFO] [stdout] --> src/day8.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | dynasm!(ops; =>instr_labels[line_num]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `dynasm` [INFO] [stdout] --> src/day8.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | dynasm!(ops; mov DWORD [rip - 10], DWORD 0xc3); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `dynasm` [INFO] [stdout] --> src/day8.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | "acc" => dynasm!(ops; add rax, DWORD operand), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `dynasm` [INFO] [stdout] --> src/day8.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | "jmp" => dynasm!(ops; jmp =>instr_labels[(line_num as i32 + operand) as usize]), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dynasmrt` [INFO] [stdout] --> src/day8.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dynasmrt::{dynasm, relocations::Relocation, AssemblyOffset, DynasmApi, DynasmLabelApi}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `dynasmrt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/day8.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::memoryapi::VirtualProtect; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/day8.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dynasmrt` [INFO] [stdout] --> src/day8.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dynasmrt::{dynasm, relocations::Relocation, AssemblyOffset, DynasmApi, DynasmLabelApi}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `dynasmrt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dynasmrt` [INFO] [stdout] --> src/day8.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | let mut ops = dynasmrt::x64::Assembler::new().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `dynasmrt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/day8.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | VirtualProtect( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/day8.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_to_string` [INFO] [stdout] --> src/day1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::read_to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/day1.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day1.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/day8.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | (buf.ptr(AssemblyOffset(0)) as *mut c_void), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_to_string` [INFO] [stdout] --> src/day1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::read_to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/day1.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day1.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryHeap`, `HashSet` [INFO] [stdout] --> src/day7.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BinaryHeap, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2020` [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 13 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "70a7ebe3dece213a9f6cafbef324500dfcd2dd6255bae0fb087633d8736f86ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70a7ebe3dece213a9f6cafbef324500dfcd2dd6255bae0fb087633d8736f86ee", kill_on_drop: false }` [INFO] [stdout] 70a7ebe3dece213a9f6cafbef324500dfcd2dd6255bae0fb087633d8736f86ee