[INFO] fetching crate dark-integers 0.0.1... [INFO] checking dark-integers-0.0.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate dark-integers 0.0.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate dark-integers 0.0.1 [INFO] finished tweaking crates.io crate dark-integers 0.0.1 [INFO] tweaked toml for crates.io crate dark-integers 0.0.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dark-integers 0.0.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 823cba235e9ba66fc2fd41c1d7c3aa65a1a1b864a3f100a96a5940361e5bae45 [INFO] running `Command { std: "docker" "start" "-a" "823cba235e9ba66fc2fd41c1d7c3aa65a1a1b864a3f100a96a5940361e5bae45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "823cba235e9ba66fc2fd41c1d7c3aa65a1a1b864a3f100a96a5940361e5bae45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "823cba235e9ba66fc2fd41c1d7c3aa65a1a1b864a3f100a96a5940361e5bae45", kill_on_drop: false }` [INFO] [stdout] 823cba235e9ba66fc2fd41c1d7c3aa65a1a1b864a3f100a96a5940361e5bae45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7560e9e6c2ff2434a80e2ac1c58eb8efc840f710caf57cb71a2dc694809bfdb1 [INFO] running `Command { std: "docker" "start" "-a" "7560e9e6c2ff2434a80e2ac1c58eb8efc840f710caf57cb71a2dc694809bfdb1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking dark-integers v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.54.0; see for more information [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.56.0; see for more information [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:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.56.0; see for more information [INFO] [stdout] = note: renamed to `generic_const_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/mluint.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_be_bytes(bytes: [u8; N * T::SIZE]) -> Self { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/mluint.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_be_bytes(bytes: [u8; N * T::SIZE]) -> Self { [INFO] [stdout] | ^^^^^^^ cannot perform const operation using `T` [INFO] [stdout] | [INFO] [stdout] = note: type parameters may not be used in const expressions [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/mluint.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn to_be_bytes(self) -> [u8; N * T::SIZE] { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/mluint.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn to_be_bytes(self) -> [u8; N * T::SIZE] { [INFO] [stdout] | ^^^^^^^ cannot perform const operation using `T` [INFO] [stdout] | [INFO] [stdout] = note: type parameters may not be used in const expressions [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/mluint.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | let mut res = [0u8; N * T::SIZE]; [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `N` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/utils.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | fn to_bytes(self) -> [u8; Self::SIZE]; [INFO] [stdout] | ^^^^^^^^^^ cannot perform const operation using `Self` [INFO] [stdout] | [INFO] [stdout] = note: type parameters may not be used in const expressions [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/utils.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | fn from_bytes(bytes: &[u8; Self::SIZE]) -> Self; [INFO] [stdout] | ^^^^^^^^^^ cannot perform const operation using `Self` [INFO] [stdout] | [INFO] [stdout] = note: type parameters may not be used in const expressions [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant expression depends on a generic parameter [INFO] [stdout] --> src/mluint.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | let mut limb_bytes = [0u8; T::SIZE]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this may fail depending on what value the parameter takes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mluint.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 15 | impl MLUInt { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 37 | let mut res = [0u8; N * T::SIZE]; [INFO] [stdout] | ^^^^^^^ expected type parameter `T`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dark-integers` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7560e9e6c2ff2434a80e2ac1c58eb8efc840f710caf57cb71a2dc694809bfdb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7560e9e6c2ff2434a80e2ac1c58eb8efc840f710caf57cb71a2dc694809bfdb1", kill_on_drop: false }` [INFO] [stdout] 7560e9e6c2ff2434a80e2ac1c58eb8efc840f710caf57cb71a2dc694809bfdb1