[INFO] fetching crate saturation 0.2.3... [INFO] testing saturation-0.2.3 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate saturation 0.2.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate saturation 0.2.3 [INFO] finished tweaking crates.io crate saturation 0.2.3 [INFO] tweaked toml for crates.io crate saturation 0.2.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate saturation 0.2.3 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate saturation 0.2.3 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded moddef v0.3.0 [INFO] [stderr] Downloaded plotters-bitmap v0.3.7 [INFO] [stderr] Downloaded pathfinder_geometry v0.5.1 [INFO] [stderr] Downloaded slice_trait v0.2.5 [INFO] [stderr] Downloaded numscale v0.1.0 [INFO] [stderr] Downloaded flate2 v1.1.0 [INFO] [stderr] Downloaded windows-result v0.3.2 [INFO] [stderr] Downloaded linspace v0.2.3 [INFO] [stderr] Downloaded windows-core v0.61.0 [INFO] [stderr] Downloaded pathfinder_simd v0.5.4 [INFO] [stderr] Downloaded cc v1.2.17 [INFO] [stderr] Downloaded core-text v20.1.0 [INFO] [stderr] Downloaded dwrote v0.11.3 [INFO] [stderr] Downloaded array_trait v1.1.4 [INFO] [stderr] Downloaded real_time_fir_iir_filters v1.4.3 [INFO] [stderr] Downloaded windows-strings v0.4.0 [INFO] [stderr] Downloaded wio v0.2.2 [INFO] [stderr] Downloaded float-ord v0.3.2 [INFO] [stderr] Downloaded font-kit v0.14.2 [INFO] [stderr] Downloaded jpeg-decoder v0.3.1 [INFO] [stderr] Downloaded freetype-sys v0.20.1 [INFO] [stderr] Downloaded ttf-parser v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54452105d3ea67755ae025cd8939fdde8f906b011f9bb7105303f05acc9d442d [INFO] running `Command { std: "docker" "start" "-a" "54452105d3ea67755ae025cd8939fdde8f906b011f9bb7105303f05acc9d442d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54452105d3ea67755ae025cd8939fdde8f906b011f9bb7105303f05acc9d442d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54452105d3ea67755ae025cd8939fdde8f906b011f9bb7105303f05acc9d442d", kill_on_drop: false }` [INFO] [stdout] 54452105d3ea67755ae025cd8939fdde8f906b011f9bb7105303f05acc9d442d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89fb900597a1799849587744a138992a97d60c2e716a9312c524b48cdf798ece [INFO] running `Command { std: "docker" "start" "-a" "89fb900597a1799849587744a138992a97d60c2e716a9312c524b48cdf798ece", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling moddef v0.3.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling slice_trait v0.2.5 [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/into_boxed_slice.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait IntoBoxedSlice: ~const AsSlice + Sized [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this trait is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/into_boxed_slice.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub trait IntoBoxedSlice: ~const AsSlice + Sized [INFO] [stdout] 8 | | { [INFO] [stdout] 9 | | /// Yields boxed slice from generic [INFO] [stdout] 10 | | fn into_boxed_slice(self) -> Box<[Self::Elem]>; [INFO] [stdout] 11 | | } [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/slice_trait-0.2.5/src/slice.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Slice: private::Slice + ~const AsSlice + Pointee [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this trait is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/slice.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub trait Slice: private::Slice + ~const AsSlice + Pointee [INFO] [stdout] 8 | | + ~const IndexMut::Elem] as Index>::Output> [INFO] [stdout] 9 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] 10 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [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/slice_trait-0.2.5/src/slice.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | + ~const IndexMut::Elem] as Index>::Output> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this trait is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/slice.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub trait Slice: private::Slice + ~const AsSlice + Pointee [INFO] [stdout] 8 | | + ~const IndexMut::Elem] as Index>::Output> [INFO] [stdout] 9 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] 10 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [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/slice_trait-0.2.5/src/slice.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this trait is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/slice.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub trait Slice: private::Slice + ~const AsSlice + Pointee [INFO] [stdout] 8 | | + ~const IndexMut::Elem] as Index>::Output> [INFO] [stdout] 9 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] 10 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [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/slice_trait-0.2.5/src/slice.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this trait is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/slice.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub trait Slice: private::Slice + ~const AsSlice + Pointee [INFO] [stdout] 8 | | + ~const IndexMut::Elem] as Index>::Output> [INFO] [stdout] 9 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] 10 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [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/slice_trait-0.2.5/src/slice.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this trait is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/slice.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub trait Slice: private::Slice + ~const AsSlice + Pointee [INFO] [stdout] 8 | | + ~const IndexMut::Elem] as Index>::Output> [INFO] [stdout] 9 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] 10 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [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/slice_trait-0.2.5/src/slice.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this trait is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/slice.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub trait Slice: private::Slice + ~const AsSlice + Pointee [INFO] [stdout] 8 | | + ~const IndexMut::Elem] as Index>::Output> [INFO] [stdout] 9 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] 10 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [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/slice_trait-0.2.5/src/slice.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this trait is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/slice.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub trait Slice: private::Slice + ~const AsSlice + Pointee [INFO] [stdout] 8 | | + ~const IndexMut::Elem] as Index>::Output> [INFO] [stdout] 9 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] 10 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [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/slice_trait-0.2.5/src/slice.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | + ~const IndexMut::Elem] as Index>::Output> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this trait is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/slice.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub trait Slice: private::Slice + ~const AsSlice + Pointee [INFO] [stdout] 8 | | + ~const IndexMut::Elem] as Index>::Output> [INFO] [stdout] 9 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] 10 | | + ~const IndexMut, Output = <[::Elem] as Index>>::Output> [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [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/slice_trait-0.2.5/src/boxed_slice.rs:9:103 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait BoxedSlice: private::BoxedSlice + /*~const*/ DerefMut::Elem]> + ~const IntoBoxedSlice [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this trait is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/boxed_slice.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / pub trait BoxedSlice: private::BoxedSlice + /*~const*/ DerefMut::Elem]> + ~const IntoBoxedSlice [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [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/slice_trait-0.2.5/src/as_slice.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[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/slice_trait-0.2.5/src/into_boxed_slice.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[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/slice_trait-0.2.5/src/slice.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[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/slice_trait-0.2.5/src/boxed_slice.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `AsSlice` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/as_slice.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | impl const AsSlice 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 `AsSlice` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 3 | pub const trait AsSlice [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `AsSlice` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/as_slice.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | impl const AsSlice 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 `AsSlice` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 3 | pub const trait AsSlice [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `AsSlice` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/as_slice.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | impl const AsSlice for alloc::vec::Vec [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 `AsSlice` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 3 | pub const trait AsSlice [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `AsSlice` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/as_slice.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | impl const AsSlice for alloc::boxed::Box [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 `AsSlice` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 3 | pub const trait AsSlice [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/slice_trait-0.2.5/src/as_slice.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | T: ~const AsSlice + ?Sized [INFO] [stdout] | ^^^^^^ can't be applied to `as_slice::AsSlice` [INFO] [stdout] | [INFO] [stdout] help: mark `as_slice::AsSlice` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 3 | pub const trait AsSlice [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/slice_trait-0.2.5/src/into_boxed_slice.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait IntoBoxedSlice: ~const AsSlice + Sized [INFO] [stdout] | ^^^^^^ can't be applied to `as_slice::AsSlice` [INFO] [stdout] | [INFO] [stdout] help: mark `as_slice::AsSlice` as `const` to allow it to have `const` implementations [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/as_slice.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub const trait AsSlice [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `IntoBoxedSlice` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/into_boxed_slice.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | impl const IntoBoxedSlice for Box<[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 `IntoBoxedSlice` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 7 | pub const trait IntoBoxedSlice: ~const AsSlice + Sized [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/slice_trait-0.2.5/src/slice.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Slice: private::Slice + ~const AsSlice + Pointee [INFO] [stdout] | ^^^^^^ can't be applied to `as_slice::AsSlice` [INFO] [stdout] | [INFO] [stdout] help: mark `as_slice::AsSlice` as `const` to allow it to have `const` implementations [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/as_slice.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub const trait AsSlice [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/slice_trait-0.2.5/src/slice.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | impl const Slice 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 `Slice` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 7 | pub const trait Slice: private::Slice + ~const AsSlice + Pointee [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/slice_trait-0.2.5/src/boxed_slice.rs:9:103 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait BoxedSlice: private::BoxedSlice + /*~const*/ DerefMut::Elem]> + ~const IntoBoxedSlice [INFO] [stdout] | ^^^^^^ can't be applied to `into_boxed_slice::IntoBoxedSlice` [INFO] [stdout] | [INFO] [stdout] help: mark `into_boxed_slice::IntoBoxedSlice` as `const` to allow it to have `const` implementations [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/into_boxed_slice.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub const trait IntoBoxedSlice: ~const AsSlice + Sized [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `BoxedSlice` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/boxed_slice.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | impl const BoxedSlice for Box<[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 `BoxedSlice` as `const` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 9 | pub const trait BoxedSlice: private::BoxedSlice + /*~const*/ DerefMut::Elem]> + ~const IntoBoxedSlice [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::as_slice` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/as_slice.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | (**self).as_slice() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `as_slice` is not const because trait `AsSlice` is not const [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/as_slice.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait AsSlice [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 8 | fn as_slice(&self) -> &[Self::Elem]; [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 `AsSlice` const [INFO] [stdout] | [INFO] [stdout] 3 | pub const trait AsSlice [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::as_mut_slice` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/as_slice.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | (**self).as_mut_slice() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `as_mut_slice` is not const because trait `AsSlice` is not const [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.2.5/src/as_slice.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait AsSlice [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 11 | fn as_mut_slice(&mut self) -> &mut [Self::Elem]; [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 `AsSlice` const [INFO] [stdout] | [INFO] [stdout] 3 | pub const trait AsSlice [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `slice_trait` (lib) due to 27 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "89fb900597a1799849587744a138992a97d60c2e716a9312c524b48cdf798ece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89fb900597a1799849587744a138992a97d60c2e716a9312c524b48cdf798ece", kill_on_drop: false }` [INFO] [stdout] 89fb900597a1799849587744a138992a97d60c2e716a9312c524b48cdf798ece