[INFO] cloning repository https://github.com/nilsso/quadratic-sieve-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nilsso/quadratic-sieve-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsso%2Fquadratic-sieve-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsso%2Fquadratic-sieve-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b666ca8965fe6fb9337213aa732858aa10d264d4 [INFO] testing nilsso/quadratic-sieve-rs/b666ca8965fe6fb9337213aa732858aa10d264d4 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsso%2Fquadratic-sieve-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nilsso/quadratic-sieve-rs [INFO] finished tweaking git repo https://github.com/nilsso/quadratic-sieve-rs [INFO] tweaked toml for git repo https://github.com/nilsso/quadratic-sieve-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nilsso/quadratic-sieve-rs on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nilsso/quadratic-sieve-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded array-init v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbf6371fd5efaeefa44267a4c6fb60b5e3872fc212ad1821933d57e667658a93 [INFO] running `Command { std: "docker" "start" "-a" "fbf6371fd5efaeefa44267a4c6fb60b5e3872fc212ad1821933d57e667658a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbf6371fd5efaeefa44267a4c6fb60b5e3872fc212ad1821933d57e667658a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbf6371fd5efaeefa44267a4c6fb60b5e3872fc212ad1821933d57e667658a93", kill_on_drop: false }` [INFO] [stdout] fbf6371fd5efaeefa44267a4c6fb60b5e3872fc212ad1821933d57e667658a93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb05054549af406268a59837c1f08eeabc5b2841b2e78c337dbffb49ac890961 [INFO] running `Command { std: "docker" "start" "-a" "bb05054549af406268a59837c1f08eeabc5b2841b2e78c337dbffb49ac890961", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling array-init v2.0.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling quadratic-sieve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![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[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![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: generic parameters may not be used in const operations [INFO] [stdout] --> src/matrix.rs:252:45 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn augment(&self) -> Matrix { [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/matrix.rs:252:49 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn augment(&self) -> Matrix { [INFO] [stdout] | ^ cannot perform const operation using `M` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `M` [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/matrix.rs:253:56 [INFO] [stdout] | [INFO] [stdout] 253 | let mut rows = unsafe { MatrixBuffer::::new() }; [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/matrix.rs:253:60 [INFO] [stdout] | [INFO] [stdout] 253 | let mut rows = unsafe { MatrixBuffer::::new() }; [INFO] [stdout] | ^ cannot perform const operation using `M` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `M` [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/matrix.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | [T; N + M]: Sized, [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/matrix.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | [T; N + M]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `M` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `M` [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/quadratic_sieve.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | [(); B + 1]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [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/quadratic_sieve.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | let a: Matrix; [INFO] [stdout] | ^ cannot perform const operation using `B` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments here, i.e. `B` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bool_to_option` has been stable since 1.62.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(bool_to_option)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `maybe_uninit_uninit_array` [INFO] [stdout] --> src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(maybe_uninit_uninit_array)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `uninit_array` found for union `MaybeUninit` in the current scope [INFO] [stdout] --> src/matrix.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | rows.push(MaybeUninit::uninit_array()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `MaybeUninit<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `MaybeUninit<_>` consider using one of the following associated functions: [INFO] [stdout] MaybeUninit::::new [INFO] [stdout] MaybeUninit::::uninit [INFO] [stdout] MaybeUninit::::zeroed [INFO] [stdout] --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/mem/maybe_uninit.rs:307:5 [INFO] [stdout] help: there is an associated function `uninit` with a similar name [INFO] [stdout] | [INFO] [stdout] 26 - rows.push(MaybeUninit::uninit_array()); [INFO] [stdout] 26 + rows.push(MaybeUninit::uninit()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `uninit_array` found for union `MaybeUninit` in the current scope [INFO] [stdout] --> src/matrix.rs:36:65 [INFO] [stdout] | [INFO] [stdout] 36 | let mut buffer: [MaybeUninit<[T; N]>; M] = MaybeUninit::uninit_array(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `MaybeUninit<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `MaybeUninit<_>` consider using one of the following associated functions: [INFO] [stdout] MaybeUninit::::new [INFO] [stdout] MaybeUninit::::uninit [INFO] [stdout] MaybeUninit::::zeroed [INFO] [stdout] --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/mem/maybe_uninit.rs:307:5 [INFO] [stdout] help: there is an associated function `uninit` with a similar name [INFO] [stdout] | [INFO] [stdout] 36 - let mut buffer: [MaybeUninit<[T; N]>; M] = MaybeUninit::uninit_array(); [INFO] [stdout] 36 + let mut buffer: [MaybeUninit<[T; N]>; M] = MaybeUninit::uninit(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `quadratic-sieve` (lib) due to 13 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "bb05054549af406268a59837c1f08eeabc5b2841b2e78c337dbffb49ac890961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb05054549af406268a59837c1f08eeabc5b2841b2e78c337dbffb49ac890961", kill_on_drop: false }` [INFO] [stdout] bb05054549af406268a59837c1f08eeabc5b2841b2e78c337dbffb49ac890961