[INFO] fetching crate float_approx_math 0.1.9... [INFO] testing float_approx_math-0.1.9 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate float_approx_math 0.1.9 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate float_approx_math 0.1.9 [INFO] finished tweaking crates.io crate float_approx_math 0.1.9 [INFO] tweaked toml for crates.io crate float_approx_math 0.1.9 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate float_approx_math 0.1.9 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 113 packages to latest compatible versions [INFO] [stderr] Adding array__ops v0.1.20 (available: v1.0.3) [INFO] [stderr] Adding fn_zip v0.1.2 (available: v0.2.4) [INFO] [stderr] Adding linspace v0.1.1 (available: v0.2.7) [INFO] [stderr] Adding moddef v0.2.6 (available: v0.3.0) [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d90eb8006b7747e838818c308c43f5c16d733f94f226b1df00a92a184422a2a2 [INFO] running `Command { std: "docker" "start" "-a" "d90eb8006b7747e838818c308c43f5c16d733f94f226b1df00a92a184422a2a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d90eb8006b7747e838818c308c43f5c16d733f94f226b1df00a92a184422a2a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d90eb8006b7747e838818c308c43f5c16d733f94f226b1df00a92a184422a2a2", kill_on_drop: false }` [INFO] [stdout] d90eb8006b7747e838818c308c43f5c16d733f94f226b1df00a92a184422a2a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 9f2a29817073d3c80f02d4b0a1274cb2ceffcf578783bf631246c9fddab8b240 [INFO] running `Command { std: "docker" "start" "-a" "9f2a29817073d3c80f02d4b0a1274cb2ceffcf578783bf631246c9fddab8b240", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling moddef v0.2.6 [INFO] [stderr] Compiling tupleops-generator v0.1.0 [INFO] [stderr] Compiling moddef v0.3.0 [INFO] [stderr] Compiling slice_trait v0.1.9 [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.1.9/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.1.9/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::Item]>; [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.1.9/src/slice.rs:5:74 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Slice: private::Slice + SlicePrereq<::Item> + ~const AsSlice [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.1.9/src/slice.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / pub trait Slice: private::Slice + SlicePrereq<::Item> + ~const AsSlice [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [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.1.9/src/boxed_slice.rs:7:89 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait BoxedSlice: private::BoxedSlice + BoxedSlicePrereq<::Item> + ~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.1.9/src/boxed_slice.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub trait BoxedSlice: private::BoxedSlice + BoxedSlicePrereq<::Item> + ~const IntoBoxedSlice [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [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.1.9/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.1.9/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.1.9/src/slice.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[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.1.9/src/boxed_slice.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relaxed bounds are not permitted in trait alias bounds [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.1.9/src/prereq.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait SlicePrereq = ?Sized [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: trait aliases are not implicitly bounded by `Sized`, so there is nothing to relax [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_deref` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/slice_trait-0.1.9/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_deref)] [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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/src/slice.rs:5:74 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Slice: private::Slice + SlicePrereq<::Item> + ~const AsSlice [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.1.9/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.1.9/src/slice.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | 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] 5 | pub const trait Slice: private::Slice + SlicePrereq<::Item> + ~const 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.1.9/src/boxed_slice.rs:7:89 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait BoxedSlice: private::BoxedSlice + BoxedSlicePrereq<::Item> + ~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.1.9/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.1.9/src/boxed_slice.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 7 | pub const trait BoxedSlice: private::BoxedSlice + BoxedSlicePrereq<::Item> + ~const IntoBoxedSlice [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling slice_trait v0.3.14 [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.1.9/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.1.9/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::Item]; [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.1.9/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.1.9/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::Item]; [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] Some errors have detailed explanations: E0015, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] Compiling array_trait v1.1.20 [INFO] [stderr] error: could not compile `slice_trait` (lib) due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9f2a29817073d3c80f02d4b0a1274cb2ceffcf578783bf631246c9fddab8b240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f2a29817073d3c80f02d4b0a1274cb2ceffcf578783bf631246c9fddab8b240", kill_on_drop: false }` [INFO] [stdout] 9f2a29817073d3c80f02d4b0a1274cb2ceffcf578783bf631246c9fddab8b240