[INFO] cloning repository https://github.com/abrassel/aoc-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abrassel/aoc-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabrassel%2Faoc-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabrassel%2Faoc-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33d802a3395dfaa729d57be26750e1e8b661439e [INFO] checking abrassel/aoc-2021/33d802a3395dfaa729d57be26750e1e8b661439e against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabrassel%2Faoc-2021" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abrassel/aoc-2021 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/abrassel/aoc-2021 [INFO] finished tweaking git repo https://github.com/abrassel/aoc-2021 [INFO] tweaked toml for git repo https://github.com/abrassel/aoc-2021 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/abrassel/aoc-2021 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded keyed_priority_queue v0.4.1 [INFO] [stderr] Downloaded serde v1.0.138 [INFO] [stderr] Downloaded serde_scan v0.4.1 [INFO] [stderr] Downloaded wide v0.7.4 [INFO] [stderr] Downloaded simba v0.7.1 [INFO] [stderr] Downloaded serde_derive v1.0.138 [INFO] [stderr] Downloaded nalgebra v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97fe54f4a867ba74e54a6e745703d724394e9f632c04f152bf34db44275b146a [INFO] running `Command { std: "docker" "start" "-a" "97fe54f4a867ba74e54a6e745703d724394e9f632c04f152bf34db44275b146a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97fe54f4a867ba74e54a6e745703d724394e9f632c04f152bf34db44275b146a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97fe54f4a867ba74e54a6e745703d724394e9f632c04f152bf34db44275b146a", kill_on_drop: false }` [INFO] [stdout] 97fe54f4a867ba74e54a6e745703d724394e9f632c04f152bf34db44275b146a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27012d55970757f834007d9935dea20029903fbfdbaa4676a675793de97c99ca [INFO] running `Command { std: "docker" "start" "-a" "27012d55970757f834007d9935dea20029903fbfdbaa4676a675793de97c99ca", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking util v0.1.0 (/opt/rustwide/workdir/util) [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Checking day2 v0.1.0 (/opt/rustwide/workdir/day2) [INFO] [stderr] Checking day3 v0.1.0 (/opt/rustwide/workdir/day3) [INFO] [stderr] Checking day10 v0.1.0 (/opt/rustwide/workdir/day10) [INFO] [stderr] Checking day7 v0.1.0 (/opt/rustwide/workdir/day7) [INFO] [stderr] Checking day16 v0.1.0 (/opt/rustwide/workdir/day16) [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking keyed_priority_queue v0.4.1 [INFO] [stderr] Checking day9 v0.1.0 (/opt/rustwide/workdir/day9) [INFO] [stdout] warning: the feature `mixed_integer_ops` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> day9/src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(mixed_integer_ops)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `mixed_integer_ops` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> day9/src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(mixed_integer_ops)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking day18 v0.1.0 (/opt/rustwide/workdir/day18) [INFO] [stderr] Checking day8 v0.1.0 (/opt/rustwide/workdir/day8) [INFO] [stderr] Checking day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stderr] Checking day1 v0.1.0 (/opt/rustwide/workdir/day1) [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-bigint v0.4.3 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking simba v0.7.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking day15 v0.1.0 (/opt/rustwide/workdir/day15) [INFO] [stdout] warning: the feature `mixed_integer_ops` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> day15/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(mixed_integer_ops)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `mixed_integer_ops` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> day15/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(mixed_integer_ops)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking nalgebra v0.31.0 [INFO] [stderr] Checking serde_scan v0.4.1 [INFO] [stderr] Checking day5 v0.1.0 (/opt/rustwide/workdir/day5) [INFO] [stderr] Checking day17 v0.1.0 (/opt/rustwide/workdir/day17) [INFO] [stderr] Checking day13 v0.1.0 (/opt/rustwide/workdir/day13) [INFO] [stderr] Checking day19 v0.1.0 (/opt/rustwide/workdir/day19) [INFO] [stdout] error: expected expression, found `}` [INFO] [stdout] --> day19/src/rotate.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `}` [INFO] [stdout] --> day19/src/rotate.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `convert::Infallible` and `str::FromStr` [INFO] [stdout] --> day19/src/point_region.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, convert::Infallible, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `convert::Infallible` and `str::FromStr` [INFO] [stdout] --> day19/src/point_region.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, convert::Infallible, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `<[rotate::Rotation; 24] as Default>::default` in constant functions [INFO] [stdout] --> day19/src/rotate.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | let mut rotations: [Rotation; 24] = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `<[rotate::Rotation; 24] as Default>::default` in constant functions [INFO] [stdout] --> day19/src/rotate.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | let mut rotations: [Rotation; 24] = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot convert `std::ops::Range` into an iterator in constant functions [INFO] [stdout] --> day19/src/rotate.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | for dim in 0..3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/collect.rs:351:1 [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot convert `std::ops::Range` into an iterator in constant functions [INFO] [stdout] --> day19/src/rotate.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | for dim in 0..3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/collect.rs:351:1 [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn ` as Iterator>::next` in constant functions [INFO] [stdout] --> day19/src/rotate.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | for dim in 0..3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn ` as Iterator>::next` in constant functions [INFO] [stdout] --> day19/src/rotate.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | for dim in 0..3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn ` as Iterator>::step_by` in constant functions [INFO] [stdout] --> day19/src/rotate.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | for axis_angle in (0..360).step_by(90) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn ` as Iterator>::step_by` in constant functions [INFO] [stdout] --> day19/src/rotate.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | for axis_angle in (0..360).step_by(90) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot convert `StepBy>` into an iterator in constant functions [INFO] [stdout] --> day19/src/rotate.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | for axis_angle in (0..360).step_by(90) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/collect.rs:351:1 [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot convert `StepBy>` into an iterator in constant functions [INFO] [stdout] --> day19/src/rotate.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | for axis_angle in (0..360).step_by(90) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/collect.rs:351:1 [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `> as Iterator>::next` in constant functions [INFO] [stdout] --> day19/src/rotate.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | for axis_angle in (0..360).step_by(90) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `> as Iterator>::next` in constant functions [INFO] [stdout] --> day19/src/rotate.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | for axis_angle in (0..360).step_by(90) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn ` as Iterator>::step_by` in constant functions [INFO] [stdout] --> day19/src/rotate.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | for x_angle in (0..360).step_by(90) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn ` as Iterator>::step_by` in constant functions [INFO] [stdout] --> day19/src/rotate.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | for x_angle in (0..360).step_by(90) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot convert `StepBy>` into an iterator in constant functions [INFO] [stdout] --> day19/src/rotate.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | for x_angle in (0..360).step_by(90) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/collect.rs:351:1 [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot convert `StepBy>` into an iterator in constant functions [INFO] [stdout] --> day19/src/rotate.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | for x_angle in (0..360).step_by(90) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/collect.rs:351:1 [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `> as Iterator>::next` in constant functions [INFO] [stdout] --> day19/src/rotate.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | for x_angle in (0..360).step_by(90) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `> as Iterator>::next` in constant functions [INFO] [stdout] --> day19/src/rotate.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | for x_angle in (0..360).step_by(90) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> day19/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: evaluation of constant value failed [INFO] [stdout] --> day19/src/rotate.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | todo!() [INFO] [stdout] | ^^^^^^^ the evaluated program panicked at 'not yet implemented', day19/src/rotate.rs:60:5 [INFO] [stdout] | [INFO] [stdout] note: inside `map_rotations` [INFO] [stdout] --> day19/src/rotate.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | todo!() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: inside `CONCRETE_ROTATIONS` [INFO] [stdout] --> day19/src/rotate.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | const CONCRETE_ROTATIONS: [i64; 24] = map_rotations(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: evaluation of constant value failed [INFO] [stdout] --> day19/src/rotate.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | todo!() [INFO] [stdout] | ^^^^^^^ the evaluated program panicked at 'not yet implemented', day19/src/rotate.rs:60:5 [INFO] [stdout] | [INFO] [stdout] note: inside `map_rotations` [INFO] [stdout] --> day19/src/rotate.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | todo!() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: inside `CONCRETE_ROTATIONS` [INFO] [stdout] --> day19/src/rotate.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | const CONCRETE_ROTATIONS: [i64; 24] = map_rotations(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day19/src/point_region.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn find_other_orientation(&self, other: &Self) -> Option {} [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^ expected `Option`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day19/src/point_region.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn find_other_orientation(&self, other: &Self) -> Option {} [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^ expected `Option`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OPoint>: FromStr` is not satisfied [INFO] [stdout] --> day19/src/main.rs:27:49 [INFO] [stdout] | [INFO] [stdout] 27 | cur_point_region.points.insert(line.parse().unwrap()); [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `OPoint>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Complex [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] and 33 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/str/mod.rs:2397:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OPoint>: FromStr` is not satisfied [INFO] [stdout] --> day19/src/main.rs:27:49 [INFO] [stdout] | [INFO] [stdout] 27 | cur_point_region.points.insert(line.parse().unwrap()); [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `OPoint>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] Complex [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] NonZero [INFO] [stdout] and 33 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/str/mod.rs:2397:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0080, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0080, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day19` (bin "day19" test) due to 14 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `day19` (bin "day19") due to 14 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "27012d55970757f834007d9935dea20029903fbfdbaa4676a675793de97c99ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27012d55970757f834007d9935dea20029903fbfdbaa4676a675793de97c99ca", kill_on_drop: false }` [INFO] [stdout] 27012d55970757f834007d9935dea20029903fbfdbaa4676a675793de97c99ca