[INFO] fetching crate staticvec 0.10.2... [INFO] testing staticvec-0.10.2 against 1.45.2 for beta-1.46-1 [INFO] extracting crate staticvec 0.10.2 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate staticvec 0.10.2 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 crates.io crate staticvec 0.10.2 [INFO] removed 3 missing examples [INFO] removed 3 missing tests [INFO] finished tweaking crates.io crate staticvec 0.10.2 [INFO] tweaked toml for crates.io crate staticvec 0.10.2 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate staticvec 0.10.2 already has a lockfile, it will not be regenerated [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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] [stdout] 1ee43a137045f364ab87f643a4af17db8a7ff3051ec791fa4667221c8bfac853 [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" "1ee43a137045f364ab87f643a4af17db8a7ff3051ec791fa4667221c8bfac853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ee43a137045f364ab87f643a4af17db8a7ff3051ec791fa4667221c8bfac853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ee43a137045f364ab87f643a4af17db8a7ff3051ec791fa4667221c8bfac853", kill_on_drop: false }` [INFO] [stdout] 1ee43a137045f364ab87f643a4af17db8a7ff3051ec791fa4667221c8bfac853 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] [stdout] 88823b82ccd4716d415b9e9edcdad056990a20bf5c5de32a66ea51700e9354f4 [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" "88823b82ccd4716d415b9e9edcdad056990a20bf5c5de32a66ea51700e9354f4", 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" "88823b82ccd4716d415b9e9edcdad056990a20bf5c5de32a66ea51700e9354f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88823b82ccd4716d415b9e9edcdad056990a20bf5c5de32a66ea51700e9354f4", kill_on_drop: false }` [INFO] [stdout] 88823b82ccd4716d415b9e9edcdad056990a20bf5c5de32a66ea51700e9354f4