[INFO] fetching crate pia 0.2.0... [INFO] checking pia-0.2.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate pia 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate pia 0.2.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32c77b4640ff953cceaa2589c39e9a823888292b8b7f5df77181ef2bc61f45de [INFO] running `Command { std: "docker" "start" "-a" "32c77b4640ff953cceaa2589c39e9a823888292b8b7f5df77181ef2bc61f45de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32c77b4640ff953cceaa2589c39e9a823888292b8b7f5df77181ef2bc61f45de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32c77b4640ff953cceaa2589c39e9a823888292b8b7f5df77181ef2bc61f45de", kill_on_drop: false }` [INFO] [stdout] 32c77b4640ff953cceaa2589c39e9a823888292b8b7f5df77181ef2bc61f45de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b34bbd9f9ea63bb004bc473f1013b145ede64de7fa4c83c5fe094c969d8e9c78 [INFO] running `Command { std: "docker" "start" "-a" "b34bbd9f9ea63bb004bc473f1013b145ede64de7fa4c83c5fe094c969d8e9c78", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.22 [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: 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: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: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: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: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: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: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: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: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: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: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[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: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: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: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: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: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: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: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: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: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: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: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: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: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: 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: 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" "b34bbd9f9ea63bb004bc473f1013b145ede64de7fa4c83c5fe094c969d8e9c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b34bbd9f9ea63bb004bc473f1013b145ede64de7fa4c83c5fe094c969d8e9c78", kill_on_drop: false }` [INFO] [stdout] b34bbd9f9ea63bb004bc473f1013b145ede64de7fa4c83c5fe094c969d8e9c78