[INFO] cloning repository https://github.com/Naalunth/aoc_2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Naalunth/aoc_2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaalunth%2Faoc_2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaalunth%2Faoc_2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c9f812159d1c1fd5d10d7c21ffb1862350e3ac0 [INFO] checking Naalunth/aoc_2019 against master#a874956d940ecb3ed524b6176a171219ac4787ea for pr-76104 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaalunth%2Faoc_2019" "/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/Naalunth/aoc_2019 on toolchain a874956d940ecb3ed524b6176a171219ac4787ea [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Naalunth/aoc_2019 [INFO] finished tweaking git repo https://github.com/Naalunth/aoc_2019 [INFO] tweaked toml for git repo https://github.com/Naalunth/aoc_2019 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Naalunth/aoc_2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "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] 1720f0fc0acd7087d84e2d7f143dd2d752480f839ab7775d832e10a9eb61a638 [INFO] running `Command { std: "docker" "start" "-a" "1720f0fc0acd7087d84e2d7f143dd2d752480f839ab7775d832e10a9eb61a638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1720f0fc0acd7087d84e2d7f143dd2d752480f839ab7775d832e10a9eb61a638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1720f0fc0acd7087d84e2d7f143dd2d752480f839ab7775d832e10a9eb61a638", kill_on_drop: false }` [INFO] [stdout] 1720f0fc0acd7087d84e2d7f143dd2d752480f839ab7775d832e10a9eb61a638 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "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] f6964aaa1827a9ee261601efee8c3f2a3861c9e16d5ff4c70dddbd12275edee7 [INFO] running `Command { std: "docker" "start" "-a" "f6964aaa1827a9ee261601efee8c3f2a3861c9e16d5ff4c70dddbd12275edee7", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling packed_simd v0.3.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking smallvec v1.0.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking aoc-runner v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling nom v5.0.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking crossbeam-epoch v0.8.0 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rayon-core v1.6.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking btoi v0.4.1 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking alga v0.9.2 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking nalgebra v0.19.0 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling paste-impl v0.1.6 [INFO] [stderr] Checking paste v0.1.6 [INFO] [stderr] Compiling aoc-runner-internal v0.1.0 [INFO] [stderr] Compiling aoc-runner-derive v0.3.0 [INFO] [stderr] Checking simd_aligned v0.2.1 [INFO] [stderr] Checking aoc_naalunth_2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | aoc_lib! { year = 2019 } [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[E0432]: unresolved import `crate` [INFO] [stdout] --> src/solutions/day01.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[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/solutions/day01.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[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/solutions/day01.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[aoc(day1, part2, recursive)] [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/solutions/day01.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | #[aoc(day1, part2, iterative)] [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/solutions/day01.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | #[aoc(day1, part1, simd)] [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/solutions/day01.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | #[aoc(day1, part2, simd)] [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/solutions/day02.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[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/solutions/day02.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[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/solutions/day02.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | #[aoc(day2, part2, cheating)] [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/solutions/day03.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | #[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/solutions/day03.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | #[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/solutions/day03.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | #[aoc(day3, part1, segments)] [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/solutions/day04.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | #[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/solutions/day04.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | #[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: proc macro panicked [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | aoc_lib! { year = 2019 } [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[E0432]: unresolved import `crate` [INFO] [stdout] --> src/solutions/day04.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | #[aoc(day4, part1, stolen_from_ppraisethesun)] [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/solutions/day04.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 169 | #[aoc(day4, part2, stolen_from_ppraisethesun)] [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/solutions/day05.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[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/solutions/day05.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[aoc(day5, 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/solutions/day06.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | #[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/solutions/day06.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | #[aoc(day6, part1, recursive)] [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/solutions/day06.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[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/solutions/day06.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | #[aoc(day6, part2, in_place)] [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/solutions/day07.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[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/solutions/day07.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[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/solutions/day08.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[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/solutions/day08.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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/solutions/day09.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[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/solutions/day09.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[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[E0432]: unresolved import `crate` [INFO] [stdout] --> src/solutions/day10.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[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/solutions/day10.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[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/solutions/day01.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[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/solutions/day11.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/solutions/day01.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[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/solutions/day01.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[aoc(day1, part2, recursive)] [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/solutions/day11.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[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/solutions/day12.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[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/solutions/day12.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | #[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/solutions/day13.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[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/solutions/day13.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[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/solutions/day01.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | #[aoc(day1, part2, iterative)] [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/solutions/day14.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | #[aoc(day14, 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/solutions/day01.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | #[aoc(day1, part1, simd)] [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/solutions/day14.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | #[aoc(day14, 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/solutions/day01.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | #[aoc(day1, part2, simd)] [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/solutions/day15.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | #[aoc(day15, 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/solutions/day15.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | #[aoc(day15, 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/solutions/day02.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[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/solutions/day02.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[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/solutions/day02.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | #[aoc(day2, part2, cheating)] [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/solutions/day03.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | #[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/solutions/day03.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | #[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/solutions/day03.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | #[aoc(day3, part1, segments)] [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/solutions/day04.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | #[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/solutions/day04.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | #[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/solutions/day04.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | #[aoc(day4, part1, stolen_from_ppraisethesun)] [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/solutions/day04.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 169 | #[aoc(day4, part2, stolen_from_ppraisethesun)] [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/solutions/day05.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[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/solutions/day05.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[aoc(day5, 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/solutions/day06.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | #[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/solutions/day06.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | #[aoc(day6, part1, recursive)] [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/solutions/day06.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[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/solutions/day06.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | #[aoc(day6, part2, in_place)] [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/solutions/day07.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[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/solutions/day07.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[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/solutions/day08.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[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/solutions/day08.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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/solutions/day09.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[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/solutions/day09.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[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[E0432]: unresolved import `crate` [INFO] [stdout] --> src/solutions/day10.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[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/solutions/day10.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[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/solutions/day11.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/solutions/day11.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[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/solutions/day12.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[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/solutions/day12.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | #[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/solutions/day13.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[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/solutions/day13.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[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/solutions/day14.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | #[aoc(day14, 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/solutions/day14.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | #[aoc(day14, 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/solutions/day15.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | #[aoc(day15, 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/solutions/day15.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | #[aoc(day15, 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[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 149 | ... self.memory[write] = a + b; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `write` [INFO] [stdout] --> src/util/intcode.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | self.memory[write] = a + b; [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 149 | self.memory[write!] = a + b; [INFO] [stdout] | ^ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 2 | use nom::lib::std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/util/intcode.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | self.memory[write] = a + b; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 149 | ... self.memory[write] = a + b; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `write` [INFO] [stdout] --> src/util/intcode.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | self.memory[write] = a + b; [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 149 | self.memory[write!] = a + b; [INFO] [stdout] | ^ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 2 | use nom::lib::std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/util/intcode.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | self.memory[write] = a + b; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/util/intcode.rs:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | self.memory[write] = a + b; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 152 | ... self.memory[write] = a * b; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `write` [INFO] [stdout] --> src/util/intcode.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | self.memory[write] = a * b; [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 152 | self.memory[write!] = a * b; [INFO] [stdout] | ^ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 2 | use nom::lib::std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/util/intcode.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | self.memory[write] = a * b; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/util/intcode.rs:152:38 [INFO] [stdout] | [INFO] [stdout] 152 | self.memory[write] = a * b; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/util/intcode.rs:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | self.memory[write] = a + b; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 155 | ... self.state = State::RequestingInput(write.as_()); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 152 | ... self.memory[write] = a * b; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `write` [INFO] [stdout] --> src/util/intcode.rs:155:49 [INFO] [stdout] | [INFO] [stdout] 155 | self.state = State::RequestingInput(write.as_()); [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 155 | self.state = State::RequestingInput(write!.as_()); [INFO] [stdout] | ^ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 2 | use nom::lib::std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `write` [INFO] [stdout] --> src/util/intcode.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | self.memory[write] = a * b; [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 152 | self.memory[write!] = a * b; [INFO] [stdout] | ^ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 2 | use nom::lib::std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 158 | ... self.state = State::HoldingOutput(read); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/util/intcode.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | self.memory[write] = a * b; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/util/intcode.rs:152:38 [INFO] [stdout] | [INFO] [stdout] 152 | self.memory[write] = a * b; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `read` in this scope [INFO] [stdout] --> src/util/intcode.rs:158:47 [INFO] [stdout] | [INFO] [stdout] 158 | self.state = State::HoldingOutput(read); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::ptr::read; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::read; [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr::read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found attribute macro `test` [INFO] [stdout] --> src/util/intcode.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | match test.as_() { [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $crate... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mode>]);)* [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<__ $w... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |_______- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 162 | ... 0 => self.instruction_pointer += 3, [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $crate... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mode>]);)* [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<__ $w... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |_______- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 163 | ... _ => self.instruction_pointer = jump.as_(), [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `jump` in this scope [INFO] [stdout] --> src/util/intcode.rs:163:49 [INFO] [stdout] | [INFO] [stdout] 163 | _ => self.instruction_pointer = jump.as_(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found attribute macro `test` [INFO] [stdout] --> src/util/intcode.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | match test.as_() { [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $crate... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mode>]);)* [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<__ $w... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |_______- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 168 | ... 0 => self.instruction_pointer = jump.as_(), [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 155 | ... self.state = State::RequestingInput(write.as_()); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `write` [INFO] [stdout] --> src/util/intcode.rs:155:49 [INFO] [stdout] | [INFO] [stdout] 155 | self.state = State::RequestingInput(write.as_()); [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 155 | self.state = State::RequestingInput(write!.as_()); [INFO] [stdout] | ^ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 2 | use nom::lib::std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 158 | ... self.state = State::HoldingOutput(read); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `read` in this scope [INFO] [stdout] --> src/util/intcode.rs:158:47 [INFO] [stdout] | [INFO] [stdout] 158 | self.state = State::HoldingOutput(read); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::ptr::read; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::read; [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr::read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `jump` in this scope [INFO] [stdout] --> src/util/intcode.rs:168:49 [INFO] [stdout] | [INFO] [stdout] 168 | 0 => self.instruction_pointer = jump.as_(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found attribute macro `test` [INFO] [stdout] --> src/util/intcode.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | match test.as_() { [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $crate... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mode>]);)* [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<__ $w... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |_______- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 162 | ... 0 => self.instruction_pointer += 3, [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $crate... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mode>]);)* [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<__ $w... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |_______- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 169 | ... _ => self.instruction_pointer += 3, [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 173 | ... self.memory[write] = if a < b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `write` [INFO] [stdout] --> src/util/intcode.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | self.memory[write] = if a < b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 173 | self.memory[write!] = if a < b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 2 | use nom::lib::std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/util/intcode.rs:173:37 [INFO] [stdout] | [INFO] [stdout] 173 | self.memory[write] = if a < b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/util/intcode.rs:173:41 [INFO] [stdout] | [INFO] [stdout] 173 | self.memory[write] = if a < b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $crate... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mode>]);)* [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<__ $w... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |_______- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 163 | ... _ => self.instruction_pointer = jump.as_(), [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `jump` in this scope [INFO] [stdout] --> src/util/intcode.rs:163:49 [INFO] [stdout] | [INFO] [stdout] 163 | _ => self.instruction_pointer = jump.as_(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found attribute macro `test` [INFO] [stdout] --> src/util/intcode.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | match test.as_() { [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $crate... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mode>]);)* [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<__ $w... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |_______- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 168 | ... 0 => self.instruction_pointer = jump.as_(), [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `jump` in this scope [INFO] [stdout] --> src/util/intcode.rs:168:49 [INFO] [stdout] | [INFO] [stdout] 168 | 0 => self.instruction_pointer = jump.as_(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 176 | ... self.memory[write] = if a == b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $crate... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mode>]);)* [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<__ $w... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |_______- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 169 | ... _ => self.instruction_pointer += 3, [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 173 | ... self.memory[write] = if a < b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `write` [INFO] [stdout] --> src/util/intcode.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | self.memory[write] = if a == b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 176 | self.memory[write!] = if a == b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 2 | use nom::lib::std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/util/intcode.rs:176:37 [INFO] [stdout] | [INFO] [stdout] 176 | self.memory[write] = if a == b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/util/intcode.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | self.memory[write] = if a == b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 179 | ... self.relative_base_offset = (Word::from_usize(self.relative_base_offset).unwrap() + rbo).as_() [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:179:59 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 179 | ... self.relative_base_offset = (Word::from_usize(self.relative_base_offset).unwrap() + rbo).as_() [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rbo` in this scope [INFO] [stdout] --> src/util/intcode.rs:179:97 [INFO] [stdout] | [INFO] [stdout] 179 | self.relative_base_offset = (Word::from_usize(self.relative_base_offset).unwrap() + rbo).as_() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 182 | ... self.state = State::Halt; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `write` [INFO] [stdout] --> src/util/intcode.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | self.memory[write] = if a < b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 173 | self.memory[write!] = if a < b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 2 | use nom::lib::std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/util/intcode.rs:173:37 [INFO] [stdout] | [INFO] [stdout] 173 | self.memory[write] = if a < b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/util/intcode.rs:173:41 [INFO] [stdout] | [INFO] [stdout] 173 | self.memory[write] = if a < b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 176 | ... self.memory[write] = if a == b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `write` [INFO] [stdout] --> src/util/intcode.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | self.memory[write] = if a == b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 176 | self.memory[write!] = if a == b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 2 | use nom::lib::std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/util/intcode.rs:176:37 [INFO] [stdout] | [INFO] [stdout] 176 | self.memory[write] = if a == b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/util/intcode.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | self.memory[write] = if a == b {Word::one()} else {Word::zero()} [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 179 | ... self.relative_base_offset = (Word::from_usize(self.relative_base_offset).unwrap() + rbo).as_() [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:179:59 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 179 | ... self.relative_base_offset = (Word::from_usize(self.relative_base_offset).unwrap() + rbo).as_() [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rbo` in this scope [INFO] [stdout] --> src/util/intcode.rs:179:97 [INFO] [stdout] | [INFO] [stdout] 179 | self.relative_base_offset = (Word::from_usize(self.relative_base_offset).unwrap() + rbo).as_() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/util/intcode.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 108 | / ... fn $name( &mut self, $([<__ $operand_name _mode>]: $crate::util::intcode::OperandMode,)* $([<__ $write_operand_name _mode>]: $c... [INFO] [stdout] 109 | | ... $(let [<$operand_name>] = self.get_operand(self.memory[self.instruction_pointer + $operand_offset], [<__ $operand_name _mod... [INFO] [stdout] 110 | | ... $(let [<$write_operand_name>] = self.get_operand_address(self.memory[self.instruction_pointer + $write_operand_offset], [<_... [INFO] [stdout] 111 | | ... $code; [INFO] [stdout] 112 | | ... maybe_pointer_increment!(self $($ip_increment)*); [INFO] [stdout] 113 | | ... } [INFO] [stdout] | |___________- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 182 | ... self.state = State::Halt; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 73 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0424, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc_naalunth_2019` [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 73 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0424, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f6964aaa1827a9ee261601efee8c3f2a3861c9e16d5ff4c70dddbd12275edee7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6964aaa1827a9ee261601efee8c3f2a3861c9e16d5ff4c70dddbd12275edee7", kill_on_drop: false }` [INFO] [stdout] f6964aaa1827a9ee261601efee8c3f2a3861c9e16d5ff4c70dddbd12275edee7