[INFO] cloning repository https://github.com/Rafferty97/asmgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rafferty97/asmgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafferty97%2Fasmgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafferty97%2Fasmgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 180ea0c14e13c4bd931ae4bb62d480d175cc70f7 [INFO] testing Rafferty97/asmgen against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafferty97%2Fasmgen" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Rafferty97/asmgen [INFO] finished tweaking git repo https://github.com/Rafferty97/asmgen [INFO] tweaked toml for git repo https://github.com/Rafferty97/asmgen written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Rafferty97/asmgen on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Rafferty97/asmgen already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded target-lexicon v0.13.5 [INFO] [stderr] Downloaded env_logger v0.11.11 [INFO] [stderr] Downloaded either v1.17.0 [INFO] [stderr] Downloaded rand_xoshiro v0.8.1 [INFO] [stderr] Downloaded plotters-backend v0.3.7 [INFO] [stderr] Downloaded is-terminal v0.4.17 [INFO] [stderr] Downloaded oorandom v11.1.5 [INFO] [stderr] Downloaded jiff-static v0.2.35 [INFO] [stderr] Downloaded env_filter v2.0.0 [INFO] [stderr] Downloaded cast v0.3.0 [INFO] [stderr] Downloaded cranelift-bitset v0.134.4 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.134.4 [INFO] [stderr] Downloaded ciborium-io v0.2.2 [INFO] [stderr] Downloaded wasmtime-internal-jit-icache-coherence v47.0.4 [INFO] [stderr] Downloaded cranelift-srcgen v0.134.4 [INFO] [stderr] Downloaded disarm64_defn v0.2.0 [INFO] [stderr] Downloaded cranelift-control v0.134.4 [INFO] [stderr] Downloaded defmt-parser v1.0.0 [INFO] [stderr] Downloaded derive_arbitrary v1.4.2 [INFO] [stderr] Downloaded cranelift-native v0.134.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.20 [INFO] [stderr] Downloaded strum v0.28.0 [INFO] [stderr] Downloaded strum_macros v0.28.0 [INFO] [stderr] Downloaded criterion-plot v0.5.0 [INFO] [stderr] Downloaded ciborium-ll v0.2.2 [INFO] [stderr] Downloaded itertools v0.15.0 [INFO] [stderr] Downloaded plotters-svg v0.3.7 [INFO] [stderr] Downloaded cranelift-entity v0.134.4 [INFO] [stderr] Downloaded defmt-macros v1.1.1 [INFO] [stderr] Downloaded crossbeam-deque v0.8.7 [INFO] [stderr] Downloaded anes v0.1.6 [INFO] [stderr] Downloaded cranelift-module v0.134.4 [INFO] [stderr] Downloaded cranelift-assembler-x64-meta v0.134.4 [INFO] [stderr] Downloaded cranelift-assembler-x64 v0.134.4 [INFO] [stderr] Downloaded cranelift-jit v0.134.4 [INFO] [stderr] Downloaded region v3.0.2 [INFO] [stderr] Downloaded mach2 v0.4.3 [INFO] [stderr] Downloaded defmt v1.1.1 [INFO] [stderr] Downloaded bitfield-struct v0.13.0 [INFO] [stderr] Downloaded tinytemplate v1.2.1 [INFO] [stderr] Downloaded ciborium v0.2.2 [INFO] [stderr] Downloaded arbitrary v1.4.2 [INFO] [stderr] Downloaded cranelift-bforest v0.134.4 [INFO] [stderr] Downloaded cranelift-frontend v0.134.4 [INFO] [stderr] Downloaded portable-atomic-util v0.2.7 [INFO] [stderr] Downloaded rayon-core v1.13.0 [INFO] [stderr] Downloaded clap v4.6.6 [INFO] [stderr] Downloaded half v2.7.1 [INFO] [stderr] Downloaded wasmtime-internal-core v47.0.4 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.134.4 [INFO] [stderr] Downloaded cranelift-isle v0.134.4 [INFO] [stderr] Downloaded zerocopy-derive v0.8.56 [INFO] [stderr] Downloaded hashbrown v0.16.1 [INFO] [stderr] Downloaded jiff-core v0.1.0 [INFO] [stderr] Downloaded criterion v0.5.1 [INFO] [stderr] Downloaded plotters v0.3.7 [INFO] [stderr] Downloaded regalloc2 v0.15.2 [INFO] [stderr] Downloaded rayon v1.12.0 [INFO] [stderr] Downloaded clap_builder v4.6.6 [INFO] [stderr] Downloaded libm v0.2.16 [INFO] [stderr] Downloaded disarm64 v0.2.0 [INFO] [stderr] Downloaded portable-atomic v1.15.0 [INFO] [stderr] Downloaded zerocopy v0.8.56 [INFO] [stderr] Downloaded gimli v0.33.0 [INFO] [stderr] Downloaded jiff v0.2.35 [INFO] [stderr] Downloaded cranelift-codegen v0.134.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6a362fdecef1c38950224b6b88bbe66144378c54fa6593068f689fd8daa47ba1 [INFO] running `Command { std: "docker" "start" "6a362fdecef1c38950224b6b88bbe66144378c54fa6593068f689fd8daa47ba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a362fdecef1c38950224b6b88bbe66144378c54fa6593068f689fd8daa47ba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6a362fdecef1c38950224b6b88bbe66144378c54fa6593068f689fd8daa47ba1" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a362fdecef1c38950224b6b88bbe66144378c54fa6593068f689fd8daa47ba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6a362fdecef1c38950224b6b88bbe66144378c54fa6593068f689fd8daa47ba1" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling cranelift-srcgen v0.134.4 [INFO] [stderr] Compiling wasmtime-internal-core v47.0.4 [INFO] [stderr] Compiling cranelift-isle v0.134.4 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling cranelift-codegen-shared v0.134.4 [INFO] [stderr] Compiling log v0.4.34 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.134.4 [INFO] [stderr] Compiling target-lexicon v0.13.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Compiling smallvec v1.15.2 [INFO] [stderr] Compiling bumpalo v3.20.3 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling rustc-hash v2.1.3 [INFO] [stderr] Compiling regalloc2 v0.15.2 [INFO] [stderr] Compiling cranelift-codegen-meta v0.134.4 [INFO] [stderr] Compiling gimli v0.33.0 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.134.4 [INFO] [stderr] Compiling cranelift-bitset v0.134.4 [INFO] [stderr] Compiling cranelift-entity v0.134.4 [INFO] [stderr] Compiling cranelift-bforest v0.134.4 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling anyhow v1.0.104 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling aho-corasick v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling cranelift-codegen v0.134.4 [INFO] [stderr] Compiling derive_arbitrary v1.4.2 [INFO] [stderr] Compiling strum_macros v0.28.0 [INFO] [stderr] Compiling arbitrary v1.4.2 [INFO] [stderr] Compiling cranelift-control v0.134.4 [INFO] [stderr] Compiling regex-automata v0.4.18 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling strum v0.28.0 [INFO] [stderr] Compiling bitflags v2.13.1 [INFO] [stderr] Compiling jiff-core v0.1.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling region v3.0.2 [INFO] [stderr] Compiling regex v1.13.1 [INFO] [stderr] Compiling jiff v0.2.35 [INFO] [stderr] Compiling env_filter v2.0.0 [INFO] [stderr] Compiling disarm64_defn v0.2.0 [INFO] [stderr] Compiling bitfield-struct v0.13.0 [INFO] [stderr] Compiling wasmtime-internal-jit-icache-coherence v47.0.4 [INFO] [stderr] Compiling thiserror-impl v2.0.20 [INFO] [stderr] Compiling memmap2 v0.9.11 [INFO] [stderr] Compiling either v1.17.0 [INFO] [stderr] Compiling itertools v0.15.0 [INFO] [stderr] Compiling rand_xoshiro v0.8.1 [INFO] [stderr] Compiling thiserror v2.0.20 [INFO] [stderr] Compiling disarm64 v0.2.0 [INFO] [stderr] Compiling env_logger v0.11.11 [INFO] [stderr] Compiling cranelift-native v0.134.4 [INFO] [stderr] Compiling cranelift-module v0.134.4 [INFO] [stderr] Compiling cranelift-frontend v0.134.4 [INFO] [stderr] Compiling cranelift-jit v0.134.4 [INFO] [stderr] Compiling asmgen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `std::u64`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bit_permutation.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use std::u64; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bit_permutation.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | .scan(u64::MAX, |acc, op| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bit_permutation.rs:191:39 [INFO] [stdout] | [INFO] [stdout] 191 | let dst_bits = self.exec(u64::MAX); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bit_permutation/bit_op.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | _ if zeros == u64::MAX => elide("input is always zero"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bit_permutation/bit_op.rs:226:65 [INFO] [stdout] | [INFO] [stdout] 226 | shifts_to_mask(Self::And(PartialBits::full(u64::MAX >> a))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bit_permutation/bit_op.rs:229:65 [INFO] [stdout] | [INFO] [stdout] 229 | shifts_to_mask(Self::And(PartialBits::full(u64::MAX << a))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bit_permutation.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn with_origin(mut self, origin: impl FnOnce() -> String) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/bit_permutation.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn with_origin(mut self, origin: impl FnOnce() -> String) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/bit_permutation.rs:509:46 [INFO] [stdout] | [INFO] [stdout] 509 | BitPermutationPart::Fixed { len, bits } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `bits: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitwiseMapVar<'a>` is more private than the item `BitwiseMap::new` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / pub fn new<'a, I>(src_xor_mask: BitsView, dst_xor_mask: BitsView, vars: I) -> Self [INFO] [stdout] 40 | | where [INFO] [stdout] 41 | | I: IntoIterator>, [INFO] [stdout] | |__________________________________________________^ associated function `BitwiseMap::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitwiseMapVar<'a>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct BitwiseMapVar<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::new` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / pub fn new<'a, I>(src_xor_mask: BitsView, dst_xor_mask: BitsView, vars: I) -> Self [INFO] [stdout] 40 | | where [INFO] [stdout] 41 | | I: IntoIterator>, [INFO] [stdout] | |__________________________________________________^ associated function `BitwiseMap::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | struct BitsView<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::src_xor_mask` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn src_xor_mask(&self) -> BitsView { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::src_xor_mask` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | struct BitsView<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::dst_xor_mask` [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn dst_xor_mask(&self) -> BitsView { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::dst_xor_mask` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | struct BitsView<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitwiseMapVar<'_>` is more private than the item `BitwiseMap::get_var` [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_var(&self, index: usize) -> BitwiseMapVar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::get_var` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitwiseMapVar<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct BitwiseMapVar<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitwiseMapVar<'_>` is more private than the item `BitwiseMap::vars` [INFO] [stdout] --> src/lib.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn vars(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::vars` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitwiseMapVar<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct BitwiseMapVar<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::to_permutation` [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn to_permutation(&self, rev: bool) -> (BitsView, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::to_permutation` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | struct BitsView<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_bits` is never used [INFO] [stdout] --> src/lib.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl BitwiseMap { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn extract_bits(&self, p: usize, n: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trailing_zeros` is never used [INFO] [stdout] --> src/lib.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl<'a> BitsView<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn trailing_zeros(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn src_xor_mask(&self) -> BitsView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn src_xor_mask(&self) -> BitsView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn dst_xor_mask(&self) -> BitsView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn dst_xor_mask(&self) -> BitsView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_var(&self, index: usize) -> BitwiseMapVar { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_var(&self, index: usize) -> BitwiseMapVar<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn vars(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn vars(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn to_permutation(&self, rev: bool) -> (BitsView, Vec) { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn to_permutation(&self, rev: bool) -> (BitsView<'_>, Vec) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | fn bits(&self) -> BitsView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | fn bits(&self) -> BitsView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 5m 07s [INFO] running `Command { std: "docker" "inspect" "6a362fdecef1c38950224b6b88bbe66144378c54fa6593068f689fd8daa47ba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6a362fdecef1c38950224b6b88bbe66144378c54fa6593068f689fd8daa47ba1" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling crossbeam-utils v0.8.22 [INFO] [stderr] Compiling crossbeam-epoch v0.9.20 [INFO] [stderr] Compiling zerocopy v0.8.56 [INFO] [stderr] Compiling zerocopy-derive v0.8.56 [INFO] [stderr] Compiling crossbeam-deque v0.8.7 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap_builder v4.6.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling clap v4.6.6 [INFO] [stderr] Compiling bitflags v2.13.1 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling disarm64_defn v0.2.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling disarm64 v0.2.0 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling asmgen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `std::u64`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bit_permutation.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use std::u64; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bit_permutation.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | .scan(u64::MAX, |acc, op| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bit_permutation.rs:191:39 [INFO] [stdout] | [INFO] [stdout] 191 | let dst_bits = self.exec(u64::MAX); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bit_permutation/bit_op.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | _ if zeros == u64::MAX => elide("input is always zero"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bit_permutation/bit_op.rs:226:65 [INFO] [stdout] | [INFO] [stdout] 226 | shifts_to_mask(Self::And(PartialBits::full(u64::MAX >> a))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bit_permutation/bit_op.rs:229:65 [INFO] [stdout] | [INFO] [stdout] 229 | shifts_to_mask(Self::And(PartialBits::full(u64::MAX << a))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bit_permutation.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn with_origin(mut self, origin: impl FnOnce() -> String) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/bit_permutation.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn with_origin(mut self, origin: impl FnOnce() -> String) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/bit_permutation.rs:509:46 [INFO] [stdout] | [INFO] [stdout] 509 | BitPermutationPart::Fixed { len, bits } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `bits: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitwiseMapVar<'a>` is more private than the item `BitwiseMap::new` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / pub fn new<'a, I>(src_xor_mask: BitsView, dst_xor_mask: BitsView, vars: I) -> Self [INFO] [stdout] 40 | | where [INFO] [stdout] 41 | | I: IntoIterator>, [INFO] [stdout] | |__________________________________________________^ associated function `BitwiseMap::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitwiseMapVar<'a>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct BitwiseMapVar<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::new` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / pub fn new<'a, I>(src_xor_mask: BitsView, dst_xor_mask: BitsView, vars: I) -> Self [INFO] [stdout] 40 | | where [INFO] [stdout] 41 | | I: IntoIterator>, [INFO] [stdout] | |__________________________________________________^ associated function `BitwiseMap::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | struct BitsView<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::src_xor_mask` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn src_xor_mask(&self) -> BitsView { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::src_xor_mask` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | struct BitsView<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::dst_xor_mask` [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn dst_xor_mask(&self) -> BitsView { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::dst_xor_mask` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | struct BitsView<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitwiseMapVar<'_>` is more private than the item `BitwiseMap::get_var` [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_var(&self, index: usize) -> BitwiseMapVar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::get_var` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitwiseMapVar<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct BitwiseMapVar<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitwiseMapVar<'_>` is more private than the item `BitwiseMap::vars` [INFO] [stdout] --> src/lib.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn vars(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::vars` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitwiseMapVar<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct BitwiseMapVar<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::to_permutation` [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn to_permutation(&self, rev: bool) -> (BitsView, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::to_permutation` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | struct BitsView<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_bits` is never used [INFO] [stdout] --> src/lib.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl BitwiseMap { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn extract_bits(&self, p: usize, n: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trailing_zeros` is never used [INFO] [stdout] --> src/lib.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl<'a> BitsView<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn trailing_zeros(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn src_xor_mask(&self) -> BitsView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn src_xor_mask(&self) -> BitsView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn dst_xor_mask(&self) -> BitsView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn dst_xor_mask(&self) -> BitsView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_var(&self, index: usize) -> BitwiseMapVar { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_var(&self, index: usize) -> BitwiseMapVar<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn vars(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn vars(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn to_permutation(&self, rev: bool) -> (BitsView, Vec) { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn to_permutation(&self, rev: bool) -> (BitsView<'_>, Vec) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | fn bits(&self) -> BitsView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | fn bits(&self) -> BitsView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::u64`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bit_permutation.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use std::u64; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bit_permutation.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | .scan(u64::MAX, |acc, op| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bit_permutation.rs:191:39 [INFO] [stdout] | [INFO] [stdout] 191 | let dst_bits = self.exec(u64::MAX); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bit_permutation/bit_op.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | _ if zeros == u64::MAX => elide("input is always zero"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bit_permutation/bit_op.rs:226:65 [INFO] [stdout] | [INFO] [stdout] 226 | shifts_to_mask(Self::And(PartialBits::full(u64::MAX >> a))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bit_permutation/bit_op.rs:229:65 [INFO] [stdout] | [INFO] [stdout] 229 | shifts_to_mask(Self::And(PartialBits::full(u64::MAX << a))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bit_permutation.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn with_origin(mut self, origin: impl FnOnce() -> String) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/bit_permutation.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn with_origin(mut self, origin: impl FnOnce() -> String) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/bit_permutation.rs:509:46 [INFO] [stdout] | [INFO] [stdout] 509 | BitPermutationPart::Fixed { len, bits } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `bits: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitwiseMapVar<'a>` is more private than the item `BitwiseMap::new` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / pub fn new<'a, I>(src_xor_mask: BitsView, dst_xor_mask: BitsView, vars: I) -> Self [INFO] [stdout] 40 | | where [INFO] [stdout] 41 | | I: IntoIterator>, [INFO] [stdout] | |__________________________________________________^ associated function `BitwiseMap::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitwiseMapVar<'a>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct BitwiseMapVar<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::new` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / pub fn new<'a, I>(src_xor_mask: BitsView, dst_xor_mask: BitsView, vars: I) -> Self [INFO] [stdout] 40 | | where [INFO] [stdout] 41 | | I: IntoIterator>, [INFO] [stdout] | |__________________________________________________^ associated function `BitwiseMap::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | struct BitsView<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::src_xor_mask` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn src_xor_mask(&self) -> BitsView { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::src_xor_mask` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | struct BitsView<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::dst_xor_mask` [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn dst_xor_mask(&self) -> BitsView { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::dst_xor_mask` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | struct BitsView<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitwiseMapVar<'_>` is more private than the item `BitwiseMap::get_var` [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_var(&self, index: usize) -> BitwiseMapVar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::get_var` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitwiseMapVar<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct BitwiseMapVar<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitwiseMapVar<'_>` is more private than the item `BitwiseMap::vars` [INFO] [stdout] --> src/lib.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn vars(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::vars` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitwiseMapVar<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct BitwiseMapVar<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::to_permutation` [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn to_permutation(&self, rev: bool) -> (BitsView, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::to_permutation` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | struct BitsView<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_bits` is never used [INFO] [stdout] --> src/lib.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl BitwiseMap { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn extract_bits(&self, p: usize, n: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trailing_zeros` is never used [INFO] [stdout] --> src/lib.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl<'a> BitsView<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn trailing_zeros(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn src_xor_mask(&self) -> BitsView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn src_xor_mask(&self) -> BitsView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn dst_xor_mask(&self) -> BitsView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn dst_xor_mask(&self) -> BitsView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_var(&self, index: usize) -> BitwiseMapVar { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_var(&self, index: usize) -> BitwiseMapVar<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn vars(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn vars(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn to_permutation(&self, rev: bool) -> (BitsView, Vec) { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn to_permutation(&self, rev: bool) -> (BitsView<'_>, Vec) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | fn bits(&self) -> BitsView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | fn bits(&self) -> BitsView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 36s [INFO] running `Command { std: "docker" "inspect" "6a362fdecef1c38950224b6b88bbe66144378c54fa6593068f689fd8daa47ba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6a362fdecef1c38950224b6b88bbe66144378c54fa6593068f689fd8daa47ba1" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated module `std::u64`: all constants in this module replaced by associated constants on the type [INFO] [stderr] --> src/bit_permutation.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | use std::u64; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/bit_permutation.rs:155:28 [INFO] [stderr] | [INFO] [stderr] 155 | .scan(u64::MAX, |acc, op| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/bit_permutation.rs:191:39 [INFO] [stderr] | [INFO] [stderr] 191 | let dst_bits = self.exec(u64::MAX); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/bit_permutation/bit_op.rs:68:32 [INFO] [stderr] | [INFO] [stderr] 68 | _ if zeros == u64::MAX => elide("input is always zero"), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/bit_permutation/bit_op.rs:226:65 [INFO] [stderr] | [INFO] [stderr] 226 | shifts_to_mask(Self::And(PartialBits::full(u64::MAX >> a))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/bit_permutation/bit_op.rs:229:65 [INFO] [stderr] | [INFO] [stderr] 229 | shifts_to_mask(Self::And(PartialBits::full(u64::MAX << a))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bit_permutation.rs:79:24 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn with_origin(mut self, origin: impl FnOnce() -> String) -> Self { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin` [INFO] [stderr] --> src/bit_permutation.rs:79:34 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn with_origin(mut self, origin: impl FnOnce() -> String) -> Self { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bits` [INFO] [stderr] --> src/bit_permutation.rs:509:46 [INFO] [stderr] | [INFO] [stderr] 509 | BitPermutationPart::Fixed { len, bits } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `bits: _` [INFO] [stderr] [INFO] [stderr] warning: type `BitwiseMapVar<'a>` is more private than the item `BitwiseMap::new` [INFO] [stderr] --> src/lib.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | / pub fn new<'a, I>(src_xor_mask: BitsView, dst_xor_mask: BitsView, vars: I) -> Self [INFO] [stderr] 40 | | where [INFO] [stderr] 41 | | I: IntoIterator>, [INFO] [stderr] | |__________________________________________________^ associated function `BitwiseMap::new` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `BitwiseMapVar<'a>` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/lib.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | struct BitwiseMapVar<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_bounds)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::new` [INFO] [stderr] --> src/lib.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | / pub fn new<'a, I>(src_xor_mask: BitsView, dst_xor_mask: BitsView, vars: I) -> Self [INFO] [stderr] 40 | | where [INFO] [stderr] 41 | | I: IntoIterator>, [INFO] [stderr] | |__________________________________________________^ associated function `BitwiseMap::new` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/lib.rs:154:1 [INFO] [stderr] | [INFO] [stderr] 154 | struct BitsView<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::src_xor_mask` [INFO] [stderr] --> src/lib.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn src_xor_mask(&self) -> BitsView { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::src_xor_mask` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/lib.rs:154:1 [INFO] [stderr] | [INFO] [stderr] 154 | struct BitsView<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::dst_xor_mask` [INFO] [stderr] --> src/lib.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn dst_xor_mask(&self) -> BitsView { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::dst_xor_mask` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/lib.rs:154:1 [INFO] [stderr] | [INFO] [stderr] 154 | struct BitsView<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `BitwiseMapVar<'_>` is more private than the item `BitwiseMap::get_var` [INFO] [stderr] --> src/lib.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn get_var(&self, index: usize) -> BitwiseMapVar { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::get_var` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `BitwiseMapVar<'_>` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/lib.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | struct BitwiseMapVar<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `BitwiseMapVar<'_>` is more private than the item `BitwiseMap::vars` [INFO] [stderr] --> src/lib.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn vars(&self) -> impl Iterator { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::vars` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `BitwiseMapVar<'_>` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/lib.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | struct BitwiseMapVar<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `BitsView<'_>` is more private than the item `BitwiseMap::to_permutation` [INFO] [stderr] --> src/lib.rs:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn to_permutation(&self, rev: bool) -> (BitsView, Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BitwiseMap::to_permutation` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `BitsView<'_>` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/lib.rs:154:1 [INFO] [stderr] | [INFO] [stderr] 154 | struct BitsView<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `extract_bits` is never used [INFO] [stderr] --> src/lib.rs:120:8 [INFO] [stderr] | [INFO] [stderr] 38 | impl BitwiseMap { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 120 | fn extract_bits(&self, p: usize, n: usize) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `trailing_zeros` is never used [INFO] [stderr] --> src/lib.rs:184:12 [INFO] [stderr] | [INFO] [stderr] 159 | impl<'a> BitsView<'a> { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 184 | pub fn trailing_zeros(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:71:25 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn src_xor_mask(&self) -> BitsView { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 71 | pub fn src_xor_mask(&self) -> BitsView<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:75:25 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn dst_xor_mask(&self) -> BitsView { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 75 | pub fn dst_xor_mask(&self) -> BitsView<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:79:20 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn get_var(&self, index: usize) -> BitwiseMapVar { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 79 | pub fn get_var(&self, index: usize) -> BitwiseMapVar<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:89:17 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn vars(&self) -> impl Iterator { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 89 | pub fn vars(&self) -> impl Iterator> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:93:27 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn to_permutation(&self, rev: bool) -> (BitsView, Vec) { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 93 | pub fn to_permutation(&self, rev: bool) -> (BitsView<'_>, Vec) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:116:13 [INFO] [stderr] | [INFO] [stderr] 116 | fn bits(&self) -> BitsView { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 116 | fn bits(&self) -> BitsView<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `asmgen` (lib) generated 24 warnings (run `cargo fix --lib -p asmgen` to apply 9 suggestions) [INFO] [stderr] warning: `asmgen` (lib test) generated 24 warnings (24 duplicates) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/asmgen-806068a1d1ad0453) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test bit_permutation::bit_op::test::fuzz_case_2 ... ok [INFO] [stdout] test bit_permutation::bit_op::test::fuzz_case_3 ... ok [INFO] [stdout] test bit_permutation::test::fuse_rotates ... ok [INFO] [stdout] test bit_permutation::bit_op::test::fuzz_case_1 ... ok [INFO] [stdout] test bit_permutation::test::test_permutation_mask_merge ... ok [INFO] [stdout] test codegen::test::extract_riscv5_i_imm ... ok [INFO] [stdout] test codegen::test::fuzz_case1 ... ok [INFO] [stdout] test bit_permutation::test::test_basic_permutation ... ok [INFO] [stdout] test target::aarch64::immediate::test::test_aarch64_logical_immediate_count ... ok [INFO] [stdout] test target::aarch64::immediate::test::test_make_aarch64_immediate ... ok [INFO] [stdout] test target::aarch64::immediate::test::test_try_make_aarch64_logical_immediate ... ok [INFO] [stdout] test util::bits::test::bits_max_value ... ok [INFO] [stdout] test util::bits::test::bits_neg ... ok [INFO] [stdout] test util::bits::test::bits_new ... ok [INFO] [stdout] test target::aarch64::immediate::test::test_is_aarch64_logical_immediate ... ok [INFO] [stdout] test codegen::test::lower_bit_extract_test ... ok [INFO] [stdout] test bit_permutation::bit_op::test::fuse_shifts_with_masks ... ok [INFO] [stdout] test peephole::test::basic_test ... ok [INFO] [stdout] test codegen::test::basic_test ... ok [INFO] [stdout] test util::bits::test::invalid_into - should panic ... ok [INFO] [stdout] test peephole::test::short_input ... ok [INFO] [stdout] test util::bitset::test::partial_bits_bitand ... ok [INFO] [stdout] test target::aarch64::immediate::test::test_cost_aarch64_mat_imm ... ok [INFO] [stdout] test util::bitset::test::partial_bits_bitor ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/asmgen-5e11317b87291320) [INFO] [stdout] test util::iter_set_bits::test::test_iter_set_bits ... ok [INFO] [stdout] test util::print::test::test_print_bits ... ok [INFO] [stdout] test util::print::test::test_print_partial_bits ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests asmgen [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6a362fdecef1c38950224b6b88bbe66144378c54fa6593068f689fd8daa47ba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a362fdecef1c38950224b6b88bbe66144378c54fa6593068f689fd8daa47ba1", kill_on_drop: false }` [INFO] [stdout] 6a362fdecef1c38950224b6b88bbe66144378c54fa6593068f689fd8daa47ba1