[INFO] fetching crate pia 0.2.0... [INFO] checking pia-0.2.0 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate pia 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate pia 0.2.0 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 692ef0cbbeb9338a0ea3a1ca6d01577dd06a166155df8ae5fcd095bb966e8387 [INFO] running `Command { std: "docker" "start" "-a" "692ef0cbbeb9338a0ea3a1ca6d01577dd06a166155df8ae5fcd095bb966e8387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "692ef0cbbeb9338a0ea3a1ca6d01577dd06a166155df8ae5fcd095bb966e8387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692ef0cbbeb9338a0ea3a1ca6d01577dd06a166155df8ae5fcd095bb966e8387", kill_on_drop: false }` [INFO] [stdout] 692ef0cbbeb9338a0ea3a1ca6d01577dd06a166155df8ae5fcd095bb966e8387 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd5d313b9cae6f268e1597779bfe2fdf60efce1317819e2f59029babb1b9b1cb [INFO] running `Command { std: "docker" "start" "-a" "cd5d313b9cae6f268e1597779bfe2fdf60efce1317819e2f59029babb1b9b1cb", kill_on_drop: false }` [INFO] [stderr] Checking 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[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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: 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/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: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PackedIntegerArray` is not an iterator [INFO] [stdout] --> src/lib.rs:253:58 [INFO] [stdout] | [INFO] [stdout] 253 | impl IntoIterator for PackedIntegerArray [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PackedIntegerArray` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `PackedIntegerArray` [INFO] [stdout] = help: the trait `IntoIterator` is implemented for `PackedIntegerArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PackedIntegerArray` is not an iterator [INFO] [stdout] --> src/lib.rs:253:58 [INFO] [stdout] | [INFO] [stdout] 253 | impl IntoIterator for PackedIntegerArray [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PackedIntegerArray` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `PackedIntegerArray` [INFO] [stdout] = help: the trait `IntoIterator` is implemented for `PackedIntegerArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PackedIntegerArray` is not an iterator [INFO] [stdout] --> src/lib.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | type Item = u8; [INFO] [stdout] | ^^ `PackedIntegerArray` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `PackedIntegerArray` [INFO] [stdout] = help: the trait `IntoIterator` is implemented for `PackedIntegerArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PackedIntegerArray` is not an iterator [INFO] [stdout] --> src/lib.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | type Item = u8; [INFO] [stdout] | ^^ `PackedIntegerArray` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `PackedIntegerArray` [INFO] [stdout] = help: the trait `IntoIterator` is implemented for `PackedIntegerArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PackedIntegerArray` is not an iterator [INFO] [stdout] --> src/lib.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | type IntoIter = PackedIntegerArrayIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PackedIntegerArray` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `PackedIntegerArray` [INFO] [stdout] = help: the trait `IntoIterator` is implemented for `PackedIntegerArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PackedIntegerArray` is not an iterator [INFO] [stdout] --> src/lib.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | type IntoIter = PackedIntegerArrayIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PackedIntegerArray` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `PackedIntegerArray` [INFO] [stdout] = help: the trait `IntoIterator` is implemented for `PackedIntegerArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PackedIntegerArray` is not an iterator [INFO] [stdout] --> src/lib.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | fn into_iter(self) -> ::IntoIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PackedIntegerArray` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `PackedIntegerArray` [INFO] [stdout] = help: the trait `IntoIterator` is implemented for `PackedIntegerArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PackedIntegerArray` is not an iterator [INFO] [stdout] --> src/lib.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | fn into_iter(self) -> ::IntoIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PackedIntegerArray` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `PackedIntegerArray` [INFO] [stdout] = help: the trait `IntoIterator` is implemented for `PackedIntegerArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PackedIntegerArray` is not an iterator [INFO] [stdout] --> src/lib.rs:258:27 [INFO] [stdout] | [INFO] [stdout] 258 | fn into_iter(self) -> ::IntoIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PackedIntegerArray` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `PackedIntegerArray` [INFO] [stdout] = help: the trait `IntoIterator` is implemented for `PackedIntegerArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PackedIntegerArray` is not an iterator [INFO] [stdout] --> src/lib.rs:258:27 [INFO] [stdout] | [INFO] [stdout] 258 | fn into_iter(self) -> ::IntoIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PackedIntegerArray` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `PackedIntegerArray` [INFO] [stdout] = help: the trait `IntoIterator` is implemented for `PackedIntegerArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `default` exists for struct `PackedIntegerArray`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct PackedIntegerArray [INFO] [stdout] | --------------------------------------------------------------- function or associated item `default` not found for this struct because it doesn't satisfy `PackedIntegerArray: Default` [INFO] [stdout] ... [INFO] [stdout] 72 | Self::default() [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `PackedIntegerArray` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `PackedIntegerArray`, consider using `PackedIntegerArray::::new` which returns `PackedIntegerArray<_, _>` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: trait bound `[u8; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/lib.rs:219:42 [INFO] [stdout] | [INFO] [stdout] 218 | impl Default for PackedIntegerArray [INFO] [stdout] | ------- ----------------------------- [INFO] [stdout] 219 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `default` exists for struct `PackedIntegerArray`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct PackedIntegerArray [INFO] [stdout] | --------------------------------------------------------------- function or associated item `default` not found for this struct because it doesn't satisfy `PackedIntegerArray: Default` [INFO] [stdout] ... [INFO] [stdout] 72 | Self::default() [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `PackedIntegerArray` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `PackedIntegerArray`, consider using `PackedIntegerArray::::new` which returns `PackedIntegerArray<_, _>` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: trait bound `[u8; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/lib.rs:219:42 [INFO] [stdout] | [INFO] [stdout] 218 | impl Default for PackedIntegerArray [INFO] [stdout] | ------- ----------------------------- [INFO] [stdout] 219 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for struct `PackedIntegerArray`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct PackedIntegerArray [INFO] [stdout] | --------------------------------------------------------------- method `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 210 | items[i] = self.get(i) [INFO] [stdout] | ^^^ method cannot be called on `PackedIntegerArray` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[u8; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/lib.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 59 | impl PackedIntegerArray [INFO] [stdout] | ----------------------------- [INFO] [stdout] 60 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for struct `PackedIntegerArray`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct PackedIntegerArray [INFO] [stdout] | --------------------------------------------------------------- method `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 210 | items[i] = self.get(i) [INFO] [stdout] | ^^^ method cannot be called on `PackedIntegerArray` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[u8; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/lib.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 59 | impl PackedIntegerArray [INFO] [stdout] | ----------------------------- [INFO] [stdout] 60 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PackedIntegerArray` is not an iterator [INFO] [stdout] --> src/lib.rs:258:60 [INFO] [stdout] | [INFO] [stdout] 258 | fn into_iter(self) -> ::IntoIter { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 259 | | PackedIntegerArrayIterator { [INFO] [stdout] 260 | | index: 0, [INFO] [stdout] 261 | | array: self [INFO] [stdout] 262 | | } [INFO] [stdout] 263 | | } [INFO] [stdout] | |_____^ `PackedIntegerArray` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `PackedIntegerArray` [INFO] [stdout] = help: the trait `IntoIterator` is implemented for `PackedIntegerArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PackedIntegerArray` is not an iterator [INFO] [stdout] --> src/lib.rs:258:60 [INFO] [stdout] | [INFO] [stdout] 258 | fn into_iter(self) -> ::IntoIter { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 259 | | PackedIntegerArrayIterator { [INFO] [stdout] 260 | | index: 0, [INFO] [stdout] 261 | | array: self [INFO] [stdout] 262 | | } [INFO] [stdout] 263 | | } [INFO] [stdout] | |_____^ `PackedIntegerArray` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `PackedIntegerArray` [INFO] [stdout] = help: the trait `IntoIterator` is implemented for `PackedIntegerArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for reference `&PackedIntegerArray`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:279:33 [INFO] [stdout] | [INFO] [stdout] 279 | if other[i] != self.get(i) { [INFO] [stdout] | ^^^ method cannot be called on `&PackedIntegerArray` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[u8; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/lib.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 59 | impl PackedIntegerArray [INFO] [stdout] | ----------------------------- [INFO] [stdout] 60 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for reference `&PackedIntegerArray`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:279:33 [INFO] [stdout] | [INFO] [stdout] 279 | if other[i] != self.get(i) { [INFO] [stdout] | ^^^ method cannot be called on `&PackedIntegerArray` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[u8; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/lib.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 59 | impl PackedIntegerArray [INFO] [stdout] | ----------------------------- [INFO] [stdout] 60 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for struct `PackedIntegerArray`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct PackedIntegerArray [INFO] [stdout] | --------------------------------------------------------------- method `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 318 | let val = self.array.get(self.index); [INFO] [stdout] | ^^^ method cannot be called on `PackedIntegerArray` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[u8; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/lib.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 59 | impl PackedIntegerArray [INFO] [stdout] | ----------------------------- [INFO] [stdout] 60 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for struct `PackedIntegerArray`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct PackedIntegerArray [INFO] [stdout] | --------------------------------------------------------------- method `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 318 | let val = self.array.get(self.index); [INFO] [stdout] | ^^^ method cannot be called on `PackedIntegerArray` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `[u8; {const error}]: Sized` was not satisfied [INFO] [stdout] --> src/lib.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 59 | impl PackedIntegerArray [INFO] [stdout] | ----------------------------- [INFO] [stdout] 60 | where [u8; get_array_length(BITS, LEN)]: Sized { [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pia` (lib) due to 39 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pia` (lib test) due to 39 previous errors [INFO] running `Command { std: "docker" "inspect" "cd5d313b9cae6f268e1597779bfe2fdf60efce1317819e2f59029babb1b9b1cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd5d313b9cae6f268e1597779bfe2fdf60efce1317819e2f59029babb1b9b1cb", kill_on_drop: false }` [INFO] [stdout] cd5d313b9cae6f268e1597779bfe2fdf60efce1317819e2f59029babb1b9b1cb [INFO] checking pia-0.2.0 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate pia 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate pia 0.2.0 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 684185f59c691a1346cbc1bfd0b3463d4fdaf065281791c820263e3678c44b7f [INFO] running `Command { std: "docker" "start" "-a" "684185f59c691a1346cbc1bfd0b3463d4fdaf065281791c820263e3678c44b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "684185f59c691a1346cbc1bfd0b3463d4fdaf065281791c820263e3678c44b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "684185f59c691a1346cbc1bfd0b3463d4fdaf065281791c820263e3678c44b7f", kill_on_drop: false }` [INFO] [stdout] 684185f59c691a1346cbc1bfd0b3463d4fdaf065281791c820263e3678c44b7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb188dad4ccec161c682cc3d9ac1653aa1c4347a8335d952b4c3b8ddf7508eb0 [INFO] running `Command { std: "docker" "start" "-a" "eb188dad4ccec161c682cc3d9ac1653aa1c4347a8335d952b4c3b8ddf7508eb0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "eb188dad4ccec161c682cc3d9ac1653aa1c4347a8335d952b4c3b8ddf7508eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb188dad4ccec161c682cc3d9ac1653aa1c4347a8335d952b4c3b8ddf7508eb0", kill_on_drop: false }` [INFO] [stdout] eb188dad4ccec161c682cc3d9ac1653aa1c4347a8335d952b4c3b8ddf7508eb0