[INFO] fetching crate slice_ops 1.0.7...
[INFO] testing slice_ops-1.0.7 against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] extracting crate slice_ops 1.0.7 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate slice_ops 1.0.7
[INFO] finished tweaking crates.io crate slice_ops 1.0.7
[INFO] tweaked toml for crates.io crate slice_ops 1.0.7 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate slice_ops 1.0.7 on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate slice_ops 1.0.7 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded adler2 v2.0.0
[INFO] [stderr]   Downloaded tokio-test v0.4.4
[INFO] [stderr]   Downloaded async-stream-impl v0.3.6
[INFO] [stderr]   Downloaded backtrace v0.3.74
[INFO] [stderr]   Downloaded miniz_oxide v0.8.2
[INFO] [stderr]   Downloaded async-stream v0.3.6
[INFO] [stderr]   Downloaded slice_trait v0.1.9
[INFO] [stderr]   Downloaded moddef v0.2.6
[INFO] [stderr]   Downloaded proc-macro2 v1.0.92
[INFO] [stderr]   Downloaded bytes v1.9.0
[INFO] [stderr]   Downloaded syn v2.0.90
[INFO] [stderr]   Downloaded tokio v1.42.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 96e931d2b72c3c3e04bbb831a7d31de918a1e9913f8e56c56f20413f09f597cd
[INFO] running `Command { std: "docker" "start" "-a" "96e931d2b72c3c3e04bbb831a7d31de918a1e9913f8e56c56f20413f09f597cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "96e931d2b72c3c3e04bbb831a7d31de918a1e9913f8e56c56f20413f09f597cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96e931d2b72c3c3e04bbb831a7d31de918a1e9913f8e56c56f20413f09f597cd", kill_on_drop: false }`
[INFO] [stdout] 96e931d2b72c3c3e04bbb831a7d31de918a1e9913f8e56c56f20413f09f597cd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3cf79c36e764f11fb65efc05a88c4245fbf4e80f2833f728a18b24cca02c0fb4
[INFO] running `Command { std: "docker" "start" "-a" "3cf79c36e764f11fb65efc05a88c4245fbf4e80f2833f728a18b24cca02c0fb4", kill_on_drop: false }`
[INFO] [stderr]    Compiling moddef v0.2.6
[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<<Self as AsSlice>::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<<Self as AsSlice>::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<<Self as AsSlice>::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<<Self as AsSlice>::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<T> = ?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<T> 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<T, const N: usize> 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<T, A> const AsSlice for alloc::vec::Vec<T, A>
[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<T, A> const AsSlice for alloc::boxed::Box<T, A>
[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<T> 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<<Self as AsSlice>::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<T> 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<<Self as AsSlice>::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<<Self as AsSlice>::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<T> 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<<Self as AsSlice>::Item> + ~const IntoBoxedSlice
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const method `<T as as_slice::AsSlice>::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 `<T as as_slice::AsSlice>::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] error: could not compile `slice_trait` (lib) due to 22 previous errors
[INFO] running `Command { std: "docker" "inspect" "3cf79c36e764f11fb65efc05a88c4245fbf4e80f2833f728a18b24cca02c0fb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3cf79c36e764f11fb65efc05a88c4245fbf4e80f2833f728a18b24cca02c0fb4", kill_on_drop: false }`
[INFO] [stdout] 3cf79c36e764f11fb65efc05a88c4245fbf4e80f2833f728a18b24cca02c0fb4
