[INFO] cloning repository https://github.com/lalamm/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/lalamm/aoc_2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flalamm%2Faoc_2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flalamm%2Faoc_2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f11b932ae1bd246fde5261e92e1cf008e59e612 [INFO] checking lalamm/aoc_2020 against master#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flalamm%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/lalamm/aoc_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/lalamm/aoc_2020 [INFO] finished tweaking git repo https://github.com/lalamm/aoc_2020 [INFO] tweaked toml for git repo https://github.com/lalamm/aoc_2020 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/lalamm/aoc_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-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: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] a1c3291b6063199a4b905224cb434b210eb595f2af0da8e14e3f80aed5dad7e9 [INFO] running `Command { std: "docker" "start" "-a" "a1c3291b6063199a4b905224cb434b210eb595f2af0da8e14e3f80aed5dad7e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1c3291b6063199a4b905224cb434b210eb595f2af0da8e14e3f80aed5dad7e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1c3291b6063199a4b905224cb434b210eb595f2af0da8e14e3f80aed5dad7e9", kill_on_drop: false }` [INFO] [stdout] a1c3291b6063199a4b905224cb434b210eb595f2af0da8e14e3f80aed5dad7e9 [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: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] 3bb5d886214ea4face722a544439fad9a21e9ee1d3e2d557c48c317b181cccfc [INFO] running `Command { std: "docker" "start" "-a" "3bb5d886214ea4face722a544439fad9a21e9ee1d3e2d557c48c317b181cccfc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Checking aoc-runner v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling aoc-runner-internal v0.1.0 [INFO] [stderr] Compiling aoc-runner-derive v0.3.0 [INFO] [stderr] Checking aoc_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | aoc_lib! { year = 2020 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: failed to write infos from lib: Os { code: 30, kind: Other, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `petgraph` [INFO] [stdout] --> src/day10.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use petgraph::dot::{Config, Dot}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `petgraph` [INFO] [stdout] --> src/day10.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use petgraph::algo; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `petgraph` [INFO] [stdout] --> src/day7.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use petgraph::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `petgraph` [INFO] [stdout] --> src/day10.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::Graph; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `petgraph` [INFO] [stdout] --> src/day7.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use petgraph::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day1.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[aoc(day1, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day1.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[aoc(day1, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day10.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[aoc(day10, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day10.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[aoc(day10, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day11.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[aoc(day11, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day11.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[aoc(day11, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day12.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[aoc(day12, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day12.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | #[aoc(day12, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day13.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[aoc(day13, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day13.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | #[aoc(day13, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day2.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[aoc(day2, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day2.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | #[aoc(day2, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day3.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[aoc(day3, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day3.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[aoc(day3, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day4.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | #[aoc(day4, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day4.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | #[aoc(day4, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day5.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | #[aoc(day5, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day6.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[aoc(day6, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day6.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[aoc(day6, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day7.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | #[aoc(day7, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day7.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | #[aoc(day7, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day8.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[aoc(day8, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day8.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | #[aoc(day8, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day9.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[aoc(day9, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day9.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[aoc(day9, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bfs` [INFO] [stdout] --> src/day7.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let mut bfs = Bfs::new(graph, shiny_gold_bag); [INFO] [stdout] | ^^^ use of undeclared type `Bfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | aoc_lib! { year = 2020 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: failed to write infos from lib: Os { code: 30, kind: Other, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Reversed` in this scope [INFO] [stdout] --> src/day7.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | let graph = Reversed(&graph); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `petgraph` [INFO] [stdout] --> src/day10.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use petgraph::dot::{Config, Dot}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `petgraph` [INFO] [stdout] --> src/day10.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use petgraph::algo; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `petgraph` [INFO] [stdout] --> src/day7.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use petgraph::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `petgraph` [INFO] [stdout] --> src/day10.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::Graph; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `petgraph` [INFO] [stdout] --> src/day7.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use petgraph::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day1.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[aoc(day1, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day1.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[aoc(day1, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day10.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[aoc(day10, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day10.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[aoc(day10, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day11.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[aoc(day11, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day11.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[aoc(day11, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day12.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[aoc(day12, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day12.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | #[aoc(day12, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day13.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[aoc(day13, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day13.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | #[aoc(day13, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day2.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[aoc(day2, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day2.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | #[aoc(day2, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day3.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[aoc(day3, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day3.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[aoc(day3, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day4.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | #[aoc(day4, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day4.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | #[aoc(day4, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day5.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | #[aoc(day5, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day6.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[aoc(day6, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day6.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[aoc(day6, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day7.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | #[aoc(day7, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day7.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | #[aoc(day7, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day8.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[aoc(day8, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/day12.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | / ({ [INFO] [stdout] 39 | | let mut steps = match amount { [INFO] [stdout] 40 | | 90 => 1, [INFO] [stdout] 41 | | 180 => 2, [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 | { [INFO] [stdout] 39 | let mut steps = match amount { [INFO] [stdout] 40 | 90 => 1, [INFO] [stdout] 41 | 180 => 2, [INFO] [stdout] 42 | 270 => 3, [INFO] [stdout] 43 | _ => unimplemented!(), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/day12.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | / ({ [INFO] [stdout] 70 | | match direction { [INFO] [stdout] 71 | | Direction::North => y += amount, [INFO] [stdout] 72 | | Direction::East => x += amount, [INFO] [stdout] ... | [INFO] [stdout] 75 | | }; [INFO] [stdout] 76 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 | { [INFO] [stdout] 70 | match direction { [INFO] [stdout] 71 | Direction::North => y += amount, [INFO] [stdout] 72 | Direction::East => x += amount, [INFO] [stdout] 73 | Direction::South => y -= amount, [INFO] [stdout] 74 | Direction::West => x -= amount, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/day12.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | / ({ [INFO] [stdout] 107 | | let mut steps = match amount { [INFO] [stdout] 108 | | 90 => 1, [INFO] [stdout] 109 | | 180 => 2, [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] 146 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 | { [INFO] [stdout] 107 | let mut steps = match amount { [INFO] [stdout] 108 | 90 => 1, [INFO] [stdout] 109 | 180 => 2, [INFO] [stdout] 110 | 270 => 3, [INFO] [stdout] 111 | _ => unimplemented!(), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/day12.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | / ({ [INFO] [stdout] 150 | | x += waypoint_x * amount; [INFO] [stdout] 151 | | y += waypoint_y * amount; [INFO] [stdout] 152 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 | { [INFO] [stdout] 150 | x += waypoint_x * amount; [INFO] [stdout] 151 | y += waypoint_y * amount; [INFO] [stdout] 152 | } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/day7.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day8.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | #[aoc(day8, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day9.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[aoc(day9, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day9.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[aoc(day9, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 5 warnings 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: could not compile `aoc_2020` [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[E0433]: failed to resolve: use of undeclared type `Bfs` [INFO] [stdout] --> src/day7.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let mut bfs = Bfs::new(graph, shiny_gold_bag); [INFO] [stdout] | ^^^ use of undeclared type `Bfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Reversed` in this scope [INFO] [stdout] --> src/day7.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | let graph = Reversed(&graph); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/day12.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | / ({ [INFO] [stdout] 39 | | let mut steps = match amount { [INFO] [stdout] 40 | | 90 => 1, [INFO] [stdout] 41 | | 180 => 2, [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 | { [INFO] [stdout] 39 | let mut steps = match amount { [INFO] [stdout] 40 | 90 => 1, [INFO] [stdout] 41 | 180 => 2, [INFO] [stdout] 42 | 270 => 3, [INFO] [stdout] 43 | _ => unimplemented!(), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/day12.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | / ({ [INFO] [stdout] 70 | | match direction { [INFO] [stdout] 71 | | Direction::North => y += amount, [INFO] [stdout] 72 | | Direction::East => x += amount, [INFO] [stdout] ... | [INFO] [stdout] 75 | | }; [INFO] [stdout] 76 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 | { [INFO] [stdout] 70 | match direction { [INFO] [stdout] 71 | Direction::North => y += amount, [INFO] [stdout] 72 | Direction::East => x += amount, [INFO] [stdout] 73 | Direction::South => y -= amount, [INFO] [stdout] 74 | Direction::West => x -= amount, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/day12.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | / ({ [INFO] [stdout] 107 | | let mut steps = match amount { [INFO] [stdout] 108 | | 90 => 1, [INFO] [stdout] 109 | | 180 => 2, [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] 146 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 | { [INFO] [stdout] 107 | let mut steps = match amount { [INFO] [stdout] 108 | 90 => 1, [INFO] [stdout] 109 | 180 => 2, [INFO] [stdout] 110 | 270 => 3, [INFO] [stdout] 111 | _ => unimplemented!(), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/day12.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | / ({ [INFO] [stdout] 150 | | x += waypoint_x * amount; [INFO] [stdout] 151 | | y += waypoint_y * amount; [INFO] [stdout] 152 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 | { [INFO] [stdout] 150 | x += waypoint_x * amount; [INFO] [stdout] 151 | y += waypoint_y * amount; [INFO] [stdout] 152 | } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/day7.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 5 warnings 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" "3bb5d886214ea4face722a544439fad9a21e9ee1d3e2d557c48c317b181cccfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bb5d886214ea4face722a544439fad9a21e9ee1d3e2d557c48c317b181cccfc", kill_on_drop: false }` [INFO] [stdout] 3bb5d886214ea4face722a544439fad9a21e9ee1d3e2d557c48c317b181cccfc