[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] 7e0d87cceb70cf414a39492aeaae91964c43f227 [INFO] testing slightlyoutofphase/staticvec against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslightlyoutofphase%2Fstaticvec" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/slightlyoutofphase/staticvec on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "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] 1de53015c1d741112d9c23ecc3a66851f0be7ff5258a56d07f4036b55d2cea90 [INFO] running `Command { std: "docker" "start" "-a" "1de53015c1d741112d9c23ecc3a66851f0be7ff5258a56d07f4036b55d2cea90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1de53015c1d741112d9c23ecc3a66851f0be7ff5258a56d07f4036b55d2cea90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1de53015c1d741112d9c23ecc3a66851f0be7ff5258a56d07f4036b55d2cea90", kill_on_drop: false }` [INFO] [stdout] 1de53015c1d741112d9c23ecc3a66851f0be7ff5258a56d07f4036b55d2cea90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", 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] ca167ce5fa13a1d90f5065942ba3be1a1314409e033899f27048f3f5abe88b03 [INFO] running `Command { std: "docker" "start" "-a" "ca167ce5fa13a1d90f5065942ba3be1a1314409e033899f27048f3f5abe88b03", kill_on_drop: false }` [INFO] [stderr] Compiling staticvec v0.10.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / #![feature( [INFO] [stdout] 31 | | const_fn, [INFO] [stdout] 32 | | const_fn_union, [INFO] [stdout] 33 | | const_generics, [INFO] [stdout] ... | [INFO] [stdout] 49 | | untagged_unions [INFO] [stdout] 50 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | #![cfg_attr(feature = "std", feature(read_initializer))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `while` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:2360:5 [INFO] [stdout] | [INFO] [stdout] 2360 | / while i < values.len() { [INFO] [stdout] 2361 | | // We've statically asserted that `values.len() <= N` before entering this overall function, [INFO] [stdout] 2362 | | // so there's no concern that we might go out of bounds here (although that would still just [INFO] [stdout] 2363 | | // result in compilation not actually succeeding at all due to the `const` index error). [INFO] [stdout] 2364 | | res[i] = MaybeUninit::new(values[i]); [INFO] [stdout] 2365 | | i += 1; [INFO] [stdout] 2366 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:2379:5 [INFO] [stdout] | [INFO] [stdout] 2379 | / assert!( [INFO] [stdout] 2380 | | values.len() <= N, [INFO] [stdout] 2381 | | // At the moment, I don't think this message is actually printed in any context when the [INFO] [stdout] 2382 | | // assertion gets triggered (currently it's just "could not evaluate static initializer") but [INFO] [stdout] ... | [INFO] [stdout] 2385 | | "Attempted to create a `StaticString` with insufficient capacity from an `&str` literal!" [INFO] [stdout] 2386 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/heap/mod.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | / if self.is_empty() { [INFO] [stdout] 153 | | None [INFO] [stdout] 154 | | } else { [INFO] [stdout] 155 | | Some(StaticHeapPeekMut { [INFO] [stdout] ... | [INFO] [stdout] 158 | | }) [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/utils.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | / match intrinsics::size_of::() { [INFO] [stdout] 12 | | 0 => unsafe { (dest as usize).wrapping_sub(origin as usize) }, [INFO] [stdout] 13 | | // Safety: this function is used strictly with linear inputs [INFO] [stdout] 14 | | // where dest is known to come after origin. [INFO] [stdout] 15 | | _ => unsafe { intrinsics::ptr_offset_from(dest, origin) as usize }, [INFO] [stdout] 16 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/utils.rs:172:3 [INFO] [stdout] | [INFO] [stdout] 172 | / debug_assert!( [INFO] [stdout] 173 | | core::mem::size_of::().saturating_mul(len) <= isize::MAX as usize, [INFO] [stdout] 174 | | "Attempted to create a slice covering at least half the address space!" [INFO] [stdout] 175 | | ); [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/utils.rs:172:3 [INFO] [stdout] | [INFO] [stdout] 172 | / debug_assert!( [INFO] [stdout] 173 | | core::mem::size_of::().saturating_mul(len) <= isize::MAX as usize, [INFO] [stdout] 174 | | "Attempted to create a slice covering at least half the address space!" [INFO] [stdout] 175 | | ); [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/utils.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 187 | / debug_assert!( [INFO] [stdout] 188 | | core::mem::size_of::().saturating_mul(len) <= isize::MAX as usize, [INFO] [stdout] 189 | | "Attempted to create a slice covering at least half the address space!" [INFO] [stdout] 190 | | ); [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/utils.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 187 | / debug_assert!( [INFO] [stdout] 188 | | core::mem::size_of::().saturating_mul(len) <= isize::MAX as usize, [INFO] [stdout] 189 | | "Attempted to create a slice covering at least half the address space!" [INFO] [stdout] 190 | | ); [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticvec`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ca167ce5fa13a1d90f5065942ba3be1a1314409e033899f27048f3f5abe88b03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca167ce5fa13a1d90f5065942ba3be1a1314409e033899f27048f3f5abe88b03", kill_on_drop: false }` [INFO] [stdout] ca167ce5fa13a1d90f5065942ba3be1a1314409e033899f27048f3f5abe88b03