[INFO] fetching crate dark-integers 0.0.1... [INFO] checking dark-integers-0.0.1 against try#1463461488056994d1b84e8b752e7c11c7fae7aa for pr-154205 [INFO] extracting crate dark-integers 0.0.1 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dark-integers 0.0.1 on toolchain 1463461488056994d1b84e8b752e7c11c7fae7aa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "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" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 764e0e7416bee7b8425d76afc6bf5f0ea0c92b5fcca14f0741f134f4e81a6c7e [INFO] running `Command { std: "docker" "start" "-a" "764e0e7416bee7b8425d76afc6bf5f0ea0c92b5fcca14f0741f134f4e81a6c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "764e0e7416bee7b8425d76afc6bf5f0ea0c92b5fcca14f0741f134f4e81a6c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "764e0e7416bee7b8425d76afc6bf5f0ea0c92b5fcca14f0741f134f4e81a6c7e", kill_on_drop: false }` [INFO] [stdout] 764e0e7416bee7b8425d76afc6bf5f0ea0c92b5fcca14f0741f134f4e81a6c7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27d0ee4cbc4b3ee67cc24fce5bde31dae507303e6c16f45ff54d19000cd8c412 [INFO] running `Command { std: "docker" "start" "-a" "27d0ee4cbc4b3ee67cc24fce5bde31dae507303e6c16f45ff54d19000cd8c412", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking bit-set v0.8.0 [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] [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" "27d0ee4cbc4b3ee67cc24fce5bde31dae507303e6c16f45ff54d19000cd8c412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27d0ee4cbc4b3ee67cc24fce5bde31dae507303e6c16f45ff54d19000cd8c412", kill_on_drop: false }` [INFO] [stdout] 27d0ee4cbc4b3ee67cc24fce5bde31dae507303e6c16f45ff54d19000cd8c412