[INFO] fetching crate idealist 0.1.1... [INFO] testing idealist-0.1.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate idealist 0.1.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate idealist 0.1.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate idealist 0.1.1 [INFO] finished tweaking crates.io crate idealist 0.1.1 [INFO] tweaked toml for crates.io crate idealist 0.1.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ef2a06d6ae1521f8ae399de4534fb2cde38b69d623a89298ca01c20a689aefe7 [INFO] running `Command { std: "docker" "start" "-a" "ef2a06d6ae1521f8ae399de4534fb2cde38b69d623a89298ca01c20a689aefe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef2a06d6ae1521f8ae399de4534fb2cde38b69d623a89298ca01c20a689aefe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef2a06d6ae1521f8ae399de4534fb2cde38b69d623a89298ca01c20a689aefe7", kill_on_drop: false }` [INFO] [stdout] ef2a06d6ae1521f8ae399de4534fb2cde38b69d623a89298ca01c20a689aefe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6967ff569bf6c81f8dc2c6073ece26e92dd5f9384dc2305a73f2eec4b39d30de [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6967ff569bf6c81f8dc2c6073ece26e92dd5f9384dc2305a73f2eec4b39d30de", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling idealist v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_generics, const_evaluatable_checked, generic_associated_types, never_type, const_fn, const_trait_impl, arbitrary_self_ty... [INFO] [stdout] | ^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_generics, const_evaluatable_checked, generic_associated_types, never_type, const_fn, const_trait_impl, arbitrary_self_ty... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `generic_const_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:93 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_generics, const_evaluatable_checked, generic_associated_types, never_type, const_fn, const_trait_impl, arbitrary_self_ty... [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:34:84 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct IdealArray(pub(crate) [T; N.get()]) where [T; N.get()]: Sized; [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct IdealArray(pub(crate) [T; N.get()]) where [T; N.get()]: Sized; [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:36:59 [INFO] [stdout] | [INFO] [stdout] 36 | impl IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(array: [T; N.get()]) -> Self { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get(self) -> [T; N.get()] { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_ref<'a>(&'a self) -> &'a [T; N.get()] { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_mut<'a>(&'a mut self) -> &'a mut [T; N.get()] { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:54:74 [INFO] [stdout] | [INFO] [stdout] 54 | impl AsMut<[T]> for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:61:84 [INFO] [stdout] | [INFO] [stdout] 61 | impl AsMut> for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:68:74 [INFO] [stdout] | [INFO] [stdout] 68 | impl AsRef<[T]> for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:75:84 [INFO] [stdout] | [INFO] [stdout] 75 | impl AsRef> for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:82:75 [INFO] [stdout] | [INFO] [stdout] 82 | impl Borrow<[T]> for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:88:85 [INFO] [stdout] | [INFO] [stdout] 88 | impl Borrow> for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:94:78 [INFO] [stdout] | [INFO] [stdout] 94 | impl BorrowMut<[T]> for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:100:88 [INFO] [stdout] | [INFO] [stdout] 100 | impl BorrowMut> for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:107:76 [INFO] [stdout] | [INFO] [stdout] 107 | impl Clone for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:113:74 [INFO] [stdout] | [INFO] [stdout] 113 | impl Copy for IdealArray where [T; N.get()]: Sized {} [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:115:76 [INFO] [stdout] | [INFO] [stdout] 115 | impl Debug for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:122:69 [INFO] [stdout] | [INFO] [stdout] 122 | impl Deref for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:129:72 [INFO] [stdout] | [INFO] [stdout] 129 | impl DerefMut for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:135:70 [INFO] [stdout] | [INFO] [stdout] 135 | impl Eq for IdealArray where [T; N.get()]: Sized {} [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:137:74 [INFO] [stdout] | [INFO] [stdout] 137 | impl Hash for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:141:84 [INFO] [stdout] | [INFO] [stdout] 141 | impl<'a, T, const N: NonZeroUsize> IntoIterator for &'a IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:147:88 [INFO] [stdout] | [INFO] [stdout] 147 | impl<'a, T, const N: NonZeroUsize> IntoIterator for &'a mut IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:153:80 [INFO] [stdout] | [INFO] [stdout] 153 | impl<'a, T: Ord, const N: NonZeroUsize> Ord for &'a IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:158:103 [INFO] [stdout] | [INFO] [stdout] 158 | impl<'a, const N: NonZeroUsize, A, B: PartialEq> PartialEq<&'a [A]> for IdealArray where [B; N.get()]: Sized [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:166:107 [INFO] [stdout] | [INFO] [stdout] 166 | impl<'a, const N: NonZeroUsize, A, B: PartialEq> PartialEq<&'a mut [A]> for IdealArray where [B; N.get()]: Sized [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:174:113 [INFO] [stdout] | [INFO] [stdout] 174 | impl<'a, const N: NonZeroUsize, A, B: PartialEq> PartialEq<&'a IdealSlice> for IdealArray where [B; N.get()]: Sized [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:182:117 [INFO] [stdout] | [INFO] [stdout] 182 | impl<'a, const N: NonZeroUsize, A, B: PartialEq> PartialEq<&'a mut IdealSlice> for IdealArray where [B; N.get()]: Sized [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:190:63 [INFO] [stdout] | [INFO] [stdout] 190 | impl> PartialEq<[A; N.get()]> for IdealArray where [B; N.get()]: Sized [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:190:104 [INFO] [stdout] | [INFO] [stdout] 190 | impl> PartialEq<[A; N.get()]> for IdealArray where [B; N.get()]: Sized [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:193:27 [INFO] [stdout] | [INFO] [stdout] 193 | fn eq(&self, other: &[A; N.get()]) -> bool {self.0 == *other} [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:195:27 [INFO] [stdout] | [INFO] [stdout] 195 | fn ne(&self, other: &[A; N.get()]) -> bool {self.0 != *other} [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:198:108 [INFO] [stdout] | [INFO] [stdout] 198 | impl> PartialEq> for IdealArray where [B; N.get()]: Sized [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:206:95 [INFO] [stdout] | [INFO] [stdout] 206 | impl> PartialEq<[A]> for IdealArray where [B; N.get()]: Sized [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:214:105 [INFO] [stdout] | [INFO] [stdout] 214 | impl> PartialEq> for IdealArray where [B; N.get()]: Sized [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:222:62 [INFO] [stdout] | [INFO] [stdout] 222 | impl, const N: NonZeroUsize> PartialOrd<[T; N.get()]> for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:222:103 [INFO] [stdout] | [INFO] [stdout] 222 | impl, const N: NonZeroUsize> PartialOrd<[T; N.get()]> for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:224:36 [INFO] [stdout] | [INFO] [stdout] 224 | fn partial_cmp(&self, other: &[T; N.get()]) -> Option {self.0.partial_cmp(other)} [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | fn lt(&self, other: &[T; N.get()]) -> bool {self.0.lt(other)} [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:228:27 [INFO] [stdout] | [INFO] [stdout] 228 | fn le(&self, other: &[T; N.get()]) -> bool {self.0.le(other)} [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | fn ge(&self, other: &[T; N.get()]) -> bool {self.0.ge(other)} [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 232 | fn gt(&self, other: &[T; N.get()]) -> bool {self.0.gt(other)} [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:235:95 [INFO] [stdout] | [INFO] [stdout] 235 | impl, const N: NonZeroUsize> PartialOrd for IdealArray where [T; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:276:79 [INFO] [stdout] | [INFO] [stdout] 276 | impl TryFrom> for IdealArray where [T; N.get()]: Sized, T: Copy { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | <[T; N.get()] as TryFrom>>::try_from(vec).map(|ok| Self(ok)) [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/array.rs:283:84 [INFO] [stdout] | [INFO] [stdout] 283 | impl TryFrom> for IdealArray where [T; N.get()]: Sized, T: Copy { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/slice.rs:229:105 [INFO] [stdout] | [INFO] [stdout] 229 | impl> PartialEq> for IdealSlice where [A; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/slice.rs:243:113 [INFO] [stdout] | [INFO] [stdout] 243 | impl<'b, const N: NonZeroUsize, A, B: PartialEq> PartialEq> for &'b IdealSlice where [A; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/slice.rs:257:117 [INFO] [stdout] | [INFO] [stdout] 257 | impl<'b, const N: NonZeroUsize, A, B: PartialEq> PartialEq> for &'b mut IdealSlice where [A; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/vec.rs:195:81 [INFO] [stdout] | [INFO] [stdout] 195 | impl From> for IdealVec where [T; N.get()]: Sized{ [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/vec.rs:302:103 [INFO] [stdout] | [INFO] [stdout] 302 | impl, const N: NonZeroUsize> PartialEq> for IdealVec where [B; N.get()]: Sized { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_generics, const_evaluatable_checked, generic_associated_types, never_type, const_fn, const_trait_impl, arbitrary_self_types, const_option, toowned_clone_into, dropck_eyepatch, extend_one)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:143 [INFO] [stdout] | [INFO] [stdout] 2 | ...ever_type, const_fn, const_trait_impl, arbitrary_self_types, const_option, toowned_clone_into, dropck_eyepatch, extend_one)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:157 [INFO] [stdout] | [INFO] [stdout] 2 | ...fn, const_trait_impl, arbitrary_self_types, const_option, toowned_clone_into, dropck_eyepatch, extend_one)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:194 [INFO] [stdout] | [INFO] [stdout] 2 | ...elf_types, const_option, toowned_clone_into, dropck_eyepatch, extend_one)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0204]: the trait `Copy` may not be implemented for this type [INFO] [stdout] --> src/array.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct IdealArray(pub(crate) [T; N.get()]) where [T; N.get()]: Sized; [INFO] [stdout] | ----------------------- this field does not implement `Copy` [INFO] [stdout] ... [INFO] [stdout] 113 | impl Copy for IdealArray where [T; N.get()]: Sized {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0204, E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0204`. [INFO] [stdout] [INFO] [stderr] error: could not compile `idealist` due to 61 previous errors [INFO] running `Command { std: "docker" "inspect" "6967ff569bf6c81f8dc2c6073ece26e92dd5f9384dc2305a73f2eec4b39d30de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6967ff569bf6c81f8dc2c6073ece26e92dd5f9384dc2305a73f2eec4b39d30de", kill_on_drop: false }` [INFO] [stdout] 6967ff569bf6c81f8dc2c6073ece26e92dd5f9384dc2305a73f2eec4b39d30de