[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] 0ba97fcd97a5386c4cd1c5d29206351e82b4fe9e [INFO] checking TartanLlama/advent-of-code-2020 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTartanLlama%2Fadvent-of-code-2020" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TartanLlama/advent-of-code-2020 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-2/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68a054d36218d2e35cdbd1106f26a98e4ac8ac1dbfd463f4f4673160fc91d7dd [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" "68a054d36218d2e35cdbd1106f26a98e4ac8ac1dbfd463f4f4673160fc91d7dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68a054d36218d2e35cdbd1106f26a98e4ac8ac1dbfd463f4f4673160fc91d7dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68a054d36218d2e35cdbd1106f26a98e4ac8ac1dbfd463f4f4673160fc91d7dd", kill_on_drop: false }` [INFO] [stdout] 68a054d36218d2e35cdbd1106f26a98e4ac8ac1dbfd463f4f4673160fc91d7dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 579168fceebb510df2ee5342de711756f3e51ece3455da4cbbad07fb6532acad [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" "579168fceebb510df2ee5342de711756f3e51ece3455da4cbbad07fb6532acad", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [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 thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [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 `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, AssemblyOffset, DynasmApi, DynasmLabelApi}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `dynasmrt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `modinverse` [INFO] [stdout] --> src/day13.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use modinverse::modinverse; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `modinverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `num_complex` [INFO] [stdout] --> src/day12.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_complex::Complex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `num_complex` [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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/day12.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day14.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/day14.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day14.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/day14.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day15.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/day15.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day16.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/day16.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day19.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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, AssemblyOffset, DynasmApi, DynasmLabelApi}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `dynasmrt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `modinverse` [INFO] [stdout] --> src/day13.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use modinverse::modinverse; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `modinverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `num_complex` [INFO] [stdout] --> src/day12.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_complex::Complex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `num_complex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `dynasm` [INFO] [stdout] --> src/day8.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | 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:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | "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:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | "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: cannot determine resolution for the macro `dynasm` [INFO] [stdout] --> src/day8.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | 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:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | 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:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | 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:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | "acc" => dynasm!(ops; add DWORD [rcx], 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:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | "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: cannot determine resolution for the macro `dynasm` [INFO] [stdout] --> src/day8.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | dynasm!( [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:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | let mut ops = dynasmrt::x64::Assembler::new().unwrap(); [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:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | 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:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | 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:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | 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:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cyk` in this scope [INFO] [stdout] --> src/day19.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | .filter(|input| cyk(&grammar, &input)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day19.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2020` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 23 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "579168fceebb510df2ee5342de711756f3e51ece3455da4cbbad07fb6532acad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "579168fceebb510df2ee5342de711756f3e51ece3455da4cbbad07fb6532acad", kill_on_drop: false }` [INFO] [stdout] 579168fceebb510df2ee5342de711756f3e51ece3455da4cbbad07fb6532acad