[INFO] cloning repository https://github.com/slightlyoutofphase/staticvec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/slightlyoutofphase/staticvec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslightlyoutofphase%2Fstaticvec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslightlyoutofphase%2Fstaticvec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d0634b1cd5b87e50afb8e5f2d077fd53e6d4231 [INFO] testing slightlyoutofphase/staticvec against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslightlyoutofphase%2Fstaticvec" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/slightlyoutofphase/staticvec on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/slightlyoutofphase/staticvec [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/slightlyoutofphase/staticvec [INFO] tweaked toml for git repo https://github.com/slightlyoutofphase/staticvec written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cool_asserts v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fd3a57071b85acd302870cf819d94a7f67f6f05223a90bda8aca44adacfbe99 [INFO] running `Command { std: "docker" "start" "-a" "3fd3a57071b85acd302870cf819d94a7f67f6f05223a90bda8aca44adacfbe99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fd3a57071b85acd302870cf819d94a7f67f6f05223a90bda8aca44adacfbe99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fd3a57071b85acd302870cf819d94a7f67f6f05223a90bda8aca44adacfbe99", kill_on_drop: false }` [INFO] [stdout] 3fd3a57071b85acd302870cf819d94a7f67f6f05223a90bda8aca44adacfbe99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9e7f63677d96e0d0482eecfe075a4911134f928e6f746f8831f9e44a8309ab8 [INFO] running `Command { std: "docker" "start" "-a" "a9e7f63677d96e0d0482eecfe075a4911134f928e6f746f8831f9e44a8309ab8", kill_on_drop: false }` [INFO] [stderr] Compiling staticvec v0.10.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | const_evaluatable_checked, [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:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | const_generics, [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:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | const_raw_ptr_to_usize_cast, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: at compile-time, pointers do not have an integer value, so these casts cannot be properly supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `MAY_HAVE_SIDE_EFFECT` is not a member of trait `TrustedRandomAccess` [INFO] [stdout] --> src/iterators.rs:238:3 [INFO] [stdout] | [INFO] [stdout] 238 | const MAY_HAVE_SIDE_EFFECT: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TrustedRandomAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `MAY_HAVE_SIDE_EFFECT` is not a member of trait `TrustedRandomAccess` [INFO] [stdout] --> src/iterators.rs:430:3 [INFO] [stdout] | [INFO] [stdout] 430 | const MAY_HAVE_SIDE_EFFECT: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TrustedRandomAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `MAY_HAVE_SIDE_EFFECT` is not a member of trait `TrustedRandomAccess` [INFO] [stdout] --> src/iterators.rs:630:3 [INFO] [stdout] | [INFO] [stdout] 630 | const MAY_HAVE_SIDE_EFFECT: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TrustedRandomAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `MAY_HAVE_SIDE_EFFECT` is not a member of trait `TrustedRandomAccess` [INFO] [stdout] --> src/iterators.rs:759:3 [INFO] [stdout] | [INFO] [stdout] 759 | const MAY_HAVE_SIDE_EFFECT: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TrustedRandomAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:1642:23 [INFO] [stdout] | [INFO] [stdout] 1642 | ) -> StaticVec [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/lib.rs:1642:27 [INFO] [stdout] | [INFO] [stdout] 1642 | ) -> StaticVec [INFO] [stdout] | ^^ cannot perform const operation using `N2` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:1681:23 [INFO] [stdout] | [INFO] [stdout] 1681 | ) -> StaticVec [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/lib.rs:1681:27 [INFO] [stdout] | [INFO] [stdout] 1681 | ) -> StaticVec [INFO] [stdout] | ^^ cannot perform const operation using `N2` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:1711:67 [INFO] [stdout] | [INFO] [stdout] 1711 | pub const fn intersperse(&self, separator: T) -> StaticVec [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/lib.rs:1760:67 [INFO] [stdout] | [INFO] [stdout] 1760 | pub fn intersperse_clone(&self, separator: T) -> StaticVec [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/lib.rs:2181:83 [INFO] [stdout] | [INFO] [stdout] 2181 | pub const fn split_at(self) -> (StaticVec, StaticVec) { [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/lib.rs:2181:87 [INFO] [stdout] | [INFO] [stdout] 2181 | pub const fn split_at(self) -> (StaticVec, StaticVec) { [INFO] [stdout] | ^ cannot perform const operation using `M` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `M` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:2188:39 [INFO] [stdout] | [INFO] [stdout] 2188 | let mut right = MaybeUninit::<[T; N - M]>::uninit(); [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/lib.rs:2188:43 [INFO] [stdout] | [INFO] [stdout] 2188 | let mut right = MaybeUninit::<[T; N - M]>::uninit(); [INFO] [stdout] | ^ cannot perform const operation using `M` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `M` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:2321:23 [INFO] [stdout] | [INFO] [stdout] 2321 | ) -> StaticVec [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/lib.rs:2321:27 [INFO] [stdout] | [INFO] [stdout] 2321 | ) -> StaticVec [INFO] [stdout] | ^^ cannot perform const operation using `N2` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:2411:84 [INFO] [stdout] | [INFO] [stdout] 2411 | pub fn union(&self, other: &StaticVec) -> StaticVec [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/lib.rs:2411:88 [INFO] [stdout] | [INFO] [stdout] 2411 | pub fn union(&self, other: &StaticVec) -> StaticVec [INFO] [stdout] | ^^ cannot perform const operation using `N2` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / #![feature( [INFO] [stdout] 32 | | const_assume, [INFO] [stdout] 33 | | const_evaluatable_checked, [INFO] [stdout] 34 | | const_fn_floating_point_arithmetic, [INFO] [stdout] ... | [INFO] [stdout] 69 | | untagged_unions [INFO] [stdout] 70 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: the feature `const_fn_union` has been stable since 1.56.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | #![cfg_attr(feature = "std", feature(read_initializer))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StaticVecIterConst<'a, T, N>: TrustedRandomAccessNoCoerce` is not satisfied [INFO] [stdout] --> src/iterators.rs:237:50 [INFO] [stdout] | [INFO] [stdout] 237 | unsafe impl<'a, T: 'a, const N: usize> /*const*/ TrustedRandomAccess for StaticVecIterConst<'a, T, N> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `TrustedRandomAccessNoCoerce` is not implemented for `StaticVecIterConst<'a, T, N>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `TrustedRandomAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StaticVecIterMut<'a, T, N>: TrustedRandomAccessNoCoerce` is not satisfied [INFO] [stdout] --> src/iterators.rs:429:50 [INFO] [stdout] | [INFO] [stdout] 429 | unsafe impl<'a, T: 'a, const N: usize> /*const*/ TrustedRandomAccess for StaticVecIterMut<'a, T, N> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `TrustedRandomAccessNoCoerce` is not implemented for `StaticVecIterMut<'a, T, N>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `TrustedRandomAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StaticVecIntoIter: TrustedRandomAccessNoCoerce` is not satisfied [INFO] [stdout] --> src/iterators.rs:629:48 [INFO] [stdout] | [INFO] [stdout] 629 | unsafe impl /*const*/ TrustedRandomAccess for StaticVecIntoIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `TrustedRandomAccessNoCoerce` is not implemented for `StaticVecIntoIter` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `TrustedRandomAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StaticVecDrain<'a, T, N>: TrustedRandomAccessNoCoerce` is not satisfied [INFO] [stdout] --> src/iterators.rs:756:57 [INFO] [stdout] | [INFO] [stdout] 756 | unsafe impl<'a, T: Copy + 'a, const N: usize> /*const*/ TrustedRandomAccess [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `TrustedRandomAccessNoCoerce` is not implemented for `StaticVecDrain<'a, T, N>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `TrustedRandomAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0438, E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticvec` due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "a9e7f63677d96e0d0482eecfe075a4911134f928e6f746f8831f9e44a8309ab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9e7f63677d96e0d0482eecfe075a4911134f928e6f746f8831f9e44a8309ab8", kill_on_drop: false }` [INFO] [stdout] a9e7f63677d96e0d0482eecfe075a4911134f928e6f746f8831f9e44a8309ab8