[INFO] fetching crate swiss-army-knife 0.0.37... [INFO] testing swiss-army-knife-0.0.37 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate swiss-army-knife 0.0.37 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate swiss-army-knife 0.0.37 [INFO] finished tweaking crates.io crate swiss-army-knife 0.0.37 [INFO] tweaked toml for crates.io crate swiss-army-knife 0.0.37 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swiss-army-knife 0.0.37 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.9.1 (available: v0.16.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded likely v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e107ca93e051d5b596a871a32a14ba29dd34543b6b4293dec4868b8ba5fba0dc [INFO] running `Command { std: "docker" "start" "-a" "e107ca93e051d5b596a871a32a14ba29dd34543b6b4293dec4868b8ba5fba0dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e107ca93e051d5b596a871a32a14ba29dd34543b6b4293dec4868b8ba5fba0dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e107ca93e051d5b596a871a32a14ba29dd34543b6b4293dec4868b8ba5fba0dc", kill_on_drop: false }` [INFO] [stdout] e107ca93e051d5b596a871a32a14ba29dd34543b6b4293dec4868b8ba5fba0dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffdec077ce8db43160167dbe5839a255da2a2ed0bb74ded2bd8b4bdc7cab7479 [INFO] running `Command { std: "docker" "start" "-a" "ffdec077ce8db43160167dbe5839a255da2a2ed0bb74ded2bd8b4bdc7cab7479", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling likely v0.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling ahash v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling swiss-army-knife v0.0.37 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | #![feature(untagged_unions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.64.0; see for more information [INFO] [stdout] = note: unions with `Copy` and `ManuallyDrop` fields are stable; there is no intent to stabilize more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::intrinsics::assert_uninit_valid` [INFO] [stdout] --> src/lib.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | use std::intrinsics::assert_uninit_valid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `assert_zero_valid` [INFO] [stdout] | no `assert_uninit_valid` in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::arch::asm` [INFO] [stdout] --> src/byte_swap/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/const_small_vec/ConstSmallVec.rs:553:17 [INFO] [stdout] | [INFO] [stdout] 553 | debug_assert!((allocation.len() >= (new_capacity * size_of::()))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 553 - debug_assert!((allocation.len() >= (new_capacity * size_of::()))); [INFO] [stdout] 553 + debug_assert!( allocation.len() >= (new_capacity * size_of::())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `non_fmt_panic` has been renamed to `non_fmt_panics` [INFO] [stdout] --> src/unreachable_code_const.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | #[allow(non_fmt_panic)] [INFO] [stdout] | ^^^^^^^^^^^^^ help: use the new name: `non_fmt_panics` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | #![feature(asm_const)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_refs_to_cell` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | #![feature(const_refs_to_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_intrinsic_copy` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | #![feature(const_intrinsic_copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_maybe_uninit_as_mut_ptr` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | #![feature(const_maybe_uninit_as_mut_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_ptr_is_null` has been stable since 1.84.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(const_ptr_is_null)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_ptr_offset` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | #![feature(const_ptr_offset)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_ptr_offset_from` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(const_ptr_offset_from)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_ptr_read` has been stable since 1.71.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | #![feature(const_ptr_read)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_ptr_write` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | #![feature(const_ptr_write)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_slice_from_raw_parts` has been stable since 1.64.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #![feature(const_slice_from_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_slice_ptr_len` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | #![feature(const_slice_ptr_len)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nonnull_slice_from_raw_parts` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | #![feature(nonnull_slice_from_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_ptr_len` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | #![feature(slice_ptr_len)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `maybe_uninit_uninit_array` [INFO] [stdout] --> src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | #![feature(maybe_uninit_uninit_array)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `stdarch` [INFO] [stdout] --> src/lib.rs:23:75 [INFO] [stdout] | [INFO] [stdout] 23 | #![cfg_attr(all(target_arch = "x86_64", target_feature = "sse2"), feature(stdarch))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_from` [INFO] [stdout] --> src/const_small_vec/ConstSmallVec.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | impl const From<[T; N]> for ConstSmallVec [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_from` [INFO] [stdout] --> src/const_small_vec/ConstSmallVec.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | impl const TryFrom> for [T; N] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_default` [INFO] [stdout] --> src/const_small_vec/ConstSmallVec.rs:246:31 [INFO] [stdout] | [INFO] [stdout] 246 | impl const Default for ConstSmallVec [INFO] [stdout] | ^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #143894 for more information [INFO] [stdout] = help: add `#![feature(const_default)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_default` [INFO] [stdout] --> src/const_small_vec/Heap.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | impl const Default for Heap [INFO] [stdout] | ^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #143894 for more information [INFO] [stdout] = help: add `#![feature(const_default)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_default` [INFO] [stdout] --> src/const_small_vec/StackWithoutLength.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | impl const Default for StackWithoutLength [INFO] [stdout] | ^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #143894 for more information [INFO] [stdout] = help: add `#![feature(const_default)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_from` [INFO] [stdout] --> src/const_small_vec/StackWithoutLength.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | impl const From> for StackWithoutLength [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_default` [INFO] [stdout] --> src/const_small_vec/StackWithoutLengthOrHeap.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | impl const Default for StackWithoutLengthOrHeap [INFO] [stdout] | ^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #143894 for more information [INFO] [stdout] = help: add `#![feature(const_default)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `stdarch_x86_mm_shuffle` [INFO] [stdout] --> src/simd_compatibility/x86_64/sse2/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::arch::x86_64::_MM_SHUFFLE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #111147 for more information [INFO] [stdout] = help: add `#![feature(stdarch_x86_mm_shuffle)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `stdarch_x86_mm_shuffle` [INFO] [stdout] --> src/simd_compatibility/x86_64/sse2/_mm_reduce_add_epu32.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | let upper_32_bits = _mm_shuffle_epi32(sum_64, _MM_SHUFFLE(2, 3, 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #111147 for more information [INFO] [stdout] = help: add `#![feature(stdarch_x86_mm_shuffle)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NewCapacityCalculator` which is not `const` [INFO] [stdout] --> src/const_small_vec/new_capacity_calculator/ExactNewCapacityCalculator.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl const NewCapacityCalculator for ExactNewCapacityCalculator [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 `NewCapacityCalculator` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/const_small_vec/new_capacity_calculator/NewCapacityCalculator.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NewCapacityCalculator [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Borrow` which is not `const` [INFO] [stdout] --> src/const_small_vec/ConstSmallVec.rs:314:31 [INFO] [stdout] | [INFO] [stdout] 314 | impl const Borrow<[T]> for ConstSmallVec [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] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `BorrowMut` which is not `const` [INFO] [stdout] --> src/const_small_vec/ConstSmallVec.rs:323:31 [INFO] [stdout] | [INFO] [stdout] 323 | impl const BorrowMut<[T]> for ConstSmallVec [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] [INFO] [stdout] [INFO] [stdout] error[E0740]: field must implement `Copy` or be wrapped in `ManuallyDrop<...>` to be used in a union [INFO] [stdout] --> src/const_small_vec/StackWithoutLengthOrHeap.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | stack_without_length: StackWithoutLength, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: union fields must not have drop side-effects, which is currently enforced via either `Copy` or `ManuallyDrop<...>` [INFO] [stdout] help: wrap the field type in `ManuallyDrop<...>` [INFO] [stdout] | [INFO] [stdout] 7 | stack_without_length: std::mem::ManuallyDrop>, [INFO] [stdout] | +++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ManuallyDrop>: [const] std::ops::Deref` is not satisfied [INFO] [stdout] --> src/const_small_vec/StackWithoutLength.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | self.0.as_ptr().cast::() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ManuallyDrop>: [const] std::ops::Deref` is not satisfied [INFO] [stdout] --> src/const_small_vec/StackWithoutLength.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | self.0.as_mut_ptr().cast::() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ManuallyDrop>: [const] std::ops::DerefMut` is not satisfied [INFO] [stdout] --> src/const_small_vec/StackWithoutLength.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | self.0.as_mut_ptr().cast::() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `_MM_SHUFFLE` is not yet stable as a const fn [INFO] [stdout] --> src/simd_compatibility/x86_64/sse2/_mm_reduce_add_epu32.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | let upper_32_bits = _mm_shuffle_epi32(sum_64, _MM_SHUFFLE(2, 3, 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(stdarch_x86_mm_shuffle)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 + #![feature(stdarch_x86_mm_shuffle)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/vec/VecExt.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut vec = Self::try_with_capacity(capacity)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `VecExt::try_with_capacity(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(try_with_capacity)]` to the crate attributes to enable `Vec::::try_with_capacity` [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 + #![feature(try_with_capacity)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/vec/VecExt.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut vec = Self::try_with_capacity(capacity)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `VecExt::try_with_capacity(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(try_with_capacity)]` to the crate attributes to enable `Vec::::try_with_capacity` [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 + #![feature(try_with_capacity)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `From` is not yet stable as a const trait [INFO] [stdout] --> src/const_small_vec/ConstSmallVec.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | stack_without_length: StackWithoutLength::from(MaybeUninit::new(array)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 + #![feature(const_from)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Default` is not yet stable as a const trait [INFO] [stdout] --> src/const_small_vec/ConstSmallVec.rs:255:34 [INFO] [stdout] | [INFO] [stdout] 255 | stack_without_length_or_heap: StackWithoutLengthOrHeap::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_default)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 + #![feature(const_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `From` is not yet stable as a const trait [INFO] [stdout] --> src/const_small_vec/ConstSmallVec.rs:437:27 [INFO] [stdout] | [INFO] [stdout] 437 | stack_without_length: StackWithoutLength::from(stack_without_length), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 + #![feature(const_from)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `From` is not yet stable as a const trait [INFO] [stdout] --> src/const_small_vec/StackWithoutLength.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | Self::from(MaybeUninit::uninit()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 + #![feature(const_from)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Default` is not yet stable as a const trait [INFO] [stdout] --> src/const_small_vec/StackWithoutLengthOrHeap.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | stack_without_length: StackWithoutLength::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_default)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 + #![feature(const_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/const_small_vec/StackWithoutLengthOrHeap.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe { self.heap = heap } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swiss-army-knife` (lib) due to 26 previous errors; 22 warnings emitted [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/unsafe_initialization/unsafe_zeroed.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe { assert_zero_valid::(); } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0557, E0635, E0658, E0740. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ffdec077ce8db43160167dbe5839a255da2a2ed0bb74ded2bd8b4bdc7cab7479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffdec077ce8db43160167dbe5839a255da2a2ed0bb74ded2bd8b4bdc7cab7479", kill_on_drop: false }` [INFO] [stdout] ffdec077ce8db43160167dbe5839a255da2a2ed0bb74ded2bd8b4bdc7cab7479