[INFO] fetching crate pia 0.2.0... [INFO] testing pia-0.2.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate pia 0.2.0 into /workspace/builds/worker-30/source [INFO] validating manifest of crates.io crate pia 0.2.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pia 0.2.0 [INFO] finished tweaking crates.io crate pia 0.2.0 [INFO] tweaked toml for crates.io crate pia 0.2.0 written to /workspace/builds/worker-30/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41f6eb5b2ec9b5528494db684356685c10873aaecbec7e393624dc4182307090 [INFO] running `Command { std: "docker" "start" "-a" "41f6eb5b2ec9b5528494db684356685c10873aaecbec7e393624dc4182307090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41f6eb5b2ec9b5528494db684356685c10873aaecbec7e393624dc4182307090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41f6eb5b2ec9b5528494db684356685c10873aaecbec7e393624dc4182307090", kill_on_drop: false }` [INFO] [stdout] 41f6eb5b2ec9b5528494db684356685c10873aaecbec7e393624dc4182307090 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a568154daea16096d8a7631a541204d9c0dd210f36dcfc14c6095ac7d26af155 [INFO] running `Command { std: "docker" "start" "-a" "a568154daea16096d8a7631a541204d9c0dd210f36dcfc14c6095ac7d26af155", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pia v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [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:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [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/lib.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] = help: use `#![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/lib.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] = help: use `#![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/lib.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | content: [u8; get_array_length(BITS, LEN)] [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] = help: use `#![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/lib.rs:56:42 [INFO] [stdout] | [INFO] [stdout] 56 | content: [u8; get_array_length(BITS, LEN)] [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] = help: use `#![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/lib.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] = help: use `#![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/lib.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] = help: use `#![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/lib.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] = help: use `#![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/lib.rs:219:35 [INFO] [stdout] | [INFO] [stdout] 219 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] = help: use `#![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/lib.rs:222:43 [INFO] [stdout] | [INFO] [stdout] 222 | content: [0; get_array_length(BITS, LEN)] [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] = help: use `#![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/lib.rs:222:49 [INFO] [stdout] | [INFO] [stdout] 222 | content: [0; get_array_length(BITS, LEN)] [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] = help: use `#![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/lib.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] = help: use `#![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/lib.rs:229:35 [INFO] [stdout] | [INFO] [stdout] 229 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] = help: use `#![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/lib.rs:237:29 [INFO] [stdout] | [INFO] [stdout] 237 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] = help: use `#![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/lib.rs:237:35 [INFO] [stdout] | [INFO] [stdout] 237 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] = help: use `#![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/lib.rs:246:29 [INFO] [stdout] | [INFO] [stdout] 246 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] = help: use `#![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/lib.rs:246:35 [INFO] [stdout] | [INFO] [stdout] 246 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] = help: use `#![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/lib.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 254 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] = help: use `#![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/lib.rs:254:35 [INFO] [stdout] | [INFO] [stdout] 254 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] = help: use `#![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/lib.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] = help: use `#![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/lib.rs:268:35 [INFO] [stdout] | [INFO] [stdout] 268 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] = help: use `#![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/lib.rs:288:29 [INFO] [stdout] | [INFO] [stdout] 288 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] = help: use `#![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/lib.rs:288:35 [INFO] [stdout] | [INFO] [stdout] 288 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] = help: use `#![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/lib.rs:307:29 [INFO] [stdout] | [INFO] [stdout] 307 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] = help: use `#![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/lib.rs:307:35 [INFO] [stdout] | [INFO] [stdout] 307 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] = help: use `#![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/lib.rs:313:29 [INFO] [stdout] | [INFO] [stdout] 313 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^ cannot perform const operation using `BITS` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `BITS` [INFO] [stdout] = help: use `#![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/lib.rs:313:35 [INFO] [stdout] | [INFO] [stdout] 313 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^ cannot perform const operation using `LEN` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `LEN` [INFO] [stdout] = help: use `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pia` due to 29 previous errors [INFO] running `Command { std: "docker" "inspect" "a568154daea16096d8a7631a541204d9c0dd210f36dcfc14c6095ac7d26af155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a568154daea16096d8a7631a541204d9c0dd210f36dcfc14c6095ac7d26af155", kill_on_drop: false }` [INFO] [stdout] a568154daea16096d8a7631a541204d9c0dd210f36dcfc14c6095ac7d26af155