[INFO] fetching crate pnm 0.1.1... [INFO] testing pnm-0.1.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate pnm 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate pnm 0.1.1 [INFO] finished tweaking crates.io crate pnm 0.1.1 [INFO] tweaked toml for crates.io crate pnm 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pnm 0.1.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pnm 0.1.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12ad495ca7bccb753f49752f99337745e1be55f98291d1d53b22cbc931e46b6c [INFO] running `Command { std: "docker" "start" "-a" "12ad495ca7bccb753f49752f99337745e1be55f98291d1d53b22cbc931e46b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12ad495ca7bccb753f49752f99337745e1be55f98291d1d53b22cbc931e46b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ad495ca7bccb753f49752f99337745e1be55f98291d1d53b22cbc931e46b6c", kill_on_drop: false }` [INFO] [stdout] 12ad495ca7bccb753f49752f99337745e1be55f98291d1d53b22cbc931e46b6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d03497983172707d60a9fb0ee54ec0b9f8b42f9b1c3e6b2bb8d780575b3473c [INFO] running `Command { std: "docker" "start" "-a" "0d03497983172707d60a9fb0ee54ec0b9f8b42f9b1c3e6b2bb8d780575b3473c", kill_on_drop: false }` [INFO] [stderr] Compiling umath v0.0.7 [INFO] [stderr] Compiling hinted v1.0.0 [INFO] [stderr] Compiling mattr v0.0.2 [INFO] [stderr] Compiling clipline v0.4.0 [INFO] [stderr] Compiling atools v0.1.10 [INFO] [stderr] Compiling array_chunks v1.0.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling vecto v0.1.1 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 363 | T: [const] Destruct; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this function is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | fn take(self) -> [T; AT] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 367 | T: [const] Destruct; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this function is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 365 | fn drop(self) -> [T; N - AT] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/slice.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/slice.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:221:3 [INFO] [stdout] | [INFO] [stdout] 221 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:235:3 [INFO] [stdout] | [INFO] [stdout] 235 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:281:3 [INFO] [stdout] | [INFO] [stdout] 281 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:311:3 [INFO] [stdout] | [INFO] [stdout] 311 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:343:3 [INFO] [stdout] | [INFO] [stdout] 343 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_trait` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:390:3 [INFO] [stdout] | [INFO] [stdout] 390 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Ranged` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/slice.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl const Ranged for core::ops::Range { [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `Ranged` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 31 | pub const trait Ranged { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Ranged` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/slice.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl const Ranged for RangeInclusive { [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `Ranged` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 31 | pub const trait Ranged { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Ranged` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/slice.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl const Ranged for RangeFrom { [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `Ranged` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 31 | pub const trait Ranged { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Ranged` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/slice.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl const Ranged for RangeTo { [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `Ranged` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 31 | pub const trait Ranged { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Ranged` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/slice.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl const Ranged for RangeToInclusive { [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `Ranged` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 31 | pub const trait Ranged { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` can only be applied to `const` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/slice.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | pub const fn r(x: T) -> Range { [INFO] [stdout] | ^^^^^^^ can't be applied to `Ranged` [INFO] [stdout] | [INFO] [stdout] help: mark `Ranged` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 31 | pub const trait Ranged { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Slice` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/slice.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | impl const Slice for [T; N] { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `Slice` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 70 | pub const trait Slice { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Deconstruct` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | impl const Deconstruct for [T; N] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `Deconstruct` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 130 | pub const trait Deconstruct { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Join` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 259 | impl const Join for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `Join` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 222 | pub const trait Join { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Join` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:265:31 [INFO] [stdout] | [INFO] [stdout] 265 | impl const Join for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `Join` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 222 | pub const trait Join { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Couple` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:246:47 [INFO] [stdout] | [INFO] [stdout] 246 | impl const Couple for [T; N] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `Couple` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 236 | pub const trait Couple { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Join` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:253:31 [INFO] [stdout] | [INFO] [stdout] 253 | impl const Join for [T; N] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `Join` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 222 | pub const trait Join { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Chunked` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:297:31 [INFO] [stdout] | [INFO] [stdout] 297 | impl const Chunked for [T; N] { [INFO] [stdout] | ^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `Chunked` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 282 | pub const trait Chunked { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Flatten` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:336:48 [INFO] [stdout] | [INFO] [stdout] 336 | impl const Flatten for [[T; N]; N2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `Flatten` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 312 | pub const trait Flatten { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Split` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:370:31 [INFO] [stdout] | [INFO] [stdout] 370 | impl const Split for [T; N] { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `Split` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 345 | pub const trait Split { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Zip` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:397:31 [INFO] [stdout] | [INFO] [stdout] 397 | impl const Zip for [T; N] { [INFO] [stdout] | ^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `Zip` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 392 | pub const trait Zip { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::range` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/slice.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | Ranged::range(x) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `range` is not const because trait `Ranged` is not const [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/slice.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait Ranged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] 32 | fn range(self) -> Range; [INFO] [stdout] | ------------------------ this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `Ranged` const [INFO] [stdout] | [INFO] [stdout] 31 | pub const trait Ranged { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<[T; N] as Deconstruct>::uncons` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | self.uncons().1 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `uncons` is not const because trait `Deconstruct` is not const [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait Deconstruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 139 | fn uncons(self) -> (T, [T; N - 1]); [INFO] [stdout] | ----------------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `Deconstruct` const [INFO] [stdout] | [INFO] [stdout] 130 | pub const trait Deconstruct { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `(T, [T; N - 1])` cannot be evaluated at compile-time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | self.uncons().1 [INFO] [stdout] | ^^^^^^^^^^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] 200 | } [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<[T; N] as Deconstruct>::unsnoc` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | self.unsnoc().0 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `unsnoc` is not const because trait `Deconstruct` is not const [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait Deconstruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 148 | fn unsnoc(self) -> ([T; N - 1], T); [INFO] [stdout] | ----------------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `Deconstruct` const [INFO] [stdout] | [INFO] [stdout] 130 | pub const trait Deconstruct { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `([T; N - 1], T)` cannot be evaluated at compile-time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | self.unsnoc().0 [INFO] [stdout] | ^^^^^^^^^^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] 204 | } [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<[T; N] as Deconstruct>::unsnoc` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 209 | self.unsnoc().1 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `unsnoc` is not const because trait `Deconstruct` is not const [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait Deconstruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 148 | fn unsnoc(self) -> ([T; N - 1], T); [INFO] [stdout] | ----------------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `Deconstruct` const [INFO] [stdout] | [INFO] [stdout] 130 | pub const trait Deconstruct { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `([T; N - 1], T)` cannot be evaluated at compile-time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | self.unsnoc().1 [INFO] [stdout] | ^^^^^^^^^^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] 210 | } [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<[T; N] as Deconstruct>::uncons` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | self.uncons().0 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `uncons` is not const because trait `Deconstruct` is not const [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait Deconstruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 139 | fn uncons(self) -> (T, [T; N - 1]); [INFO] [stdout] | ----------------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `Deconstruct` const [INFO] [stdout] | [INFO] [stdout] 130 | pub const trait Deconstruct { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `(T, [T; N - 1])` cannot be evaluated at compile-time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | self.uncons().0 [INFO] [stdout] | ^^^^^^^^^^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] 217 | } [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<[T; N] as Couple>::couple` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | self.couple([with]) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `couple` is not const because trait `Couple` is not const [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Couple { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 243 | fn couple(self, with: [T; O]) -> [T; N + O]; [INFO] [stdout] | -------------------------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `Couple` const [INFO] [stdout] | [INFO] [stdout] 236 | pub const trait Couple { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<[T; 1] as Couple>::couple` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:267:16 [INFO] [stdout] | [INFO] [stdout] 267 | [self].couple(with) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `couple` is not const because trait `Couple` is not const [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Couple { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 243 | fn couple(self, with: [T; O]) -> [T; N + O]; [INFO] [stdout] | -------------------------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `Couple` const [INFO] [stdout] | [INFO] [stdout] 236 | pub const trait Couple { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<[T; N] as Split>::split::` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:381:14 [INFO] [stdout] | [INFO] [stdout] 381 | self.split::().0 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `split` is not const because trait `Split` is not const [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | pub trait Split { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 353 | fn split(self) -> ([T; AT], [T; N - AT]); [INFO] [stdout] | ---------------------------------------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `Split` const [INFO] [stdout] | [INFO] [stdout] 345 | pub const trait Split { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `([T; M], [T; N - AT])` cannot be evaluated at compile-time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | self.split::().0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] 382 | } [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<[T; N] as Split>::split::` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:387:14 [INFO] [stdout] | [INFO] [stdout] 387 | self.split::().1 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `split` is not const because trait `Split` is not const [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | pub trait Split { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 353 | fn split(self) -> ([T; AT], [T; N - AT]); [INFO] [stdout] | ---------------------------------------------------------- this method is not const [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: consider making trait `Split` const [INFO] [stdout] | [INFO] [stdout] 345 | pub const trait Split { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `([T; M], [T; N - AT])` cannot be evaluated at compile-time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atools-0.1.10/src/lib.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | self.split::().1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] 388 | } [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0493. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atools` (lib) due to 42 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0d03497983172707d60a9fb0ee54ec0b9f8b42f9b1c3e6b2bb8d780575b3473c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d03497983172707d60a9fb0ee54ec0b9f8b42f9b1c3e6b2bb8d780575b3473c", kill_on_drop: false }` [INFO] [stdout] 0d03497983172707d60a9fb0ee54ec0b9f8b42f9b1c3e6b2bb8d780575b3473c