[INFO] fetching crate passgen-rs 0.2.0... [INFO] building passgen-rs-0.2.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate passgen-rs 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate passgen-rs 0.2.0 [INFO] finished tweaking crates.io crate passgen-rs 0.2.0 [INFO] tweaked toml for crates.io crate passgen-rs 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate passgen-rs 0.2.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate passgen-rs 0.2.0 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 464dc87174ead3daeccc5a82f67d11f941c50132589072aa20c9f53eeb74d83c [INFO] running `Command { std: "docker" "start" "-a" "464dc87174ead3daeccc5a82f67d11f941c50132589072aa20c9f53eeb74d83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "464dc87174ead3daeccc5a82f67d11f941c50132589072aa20c9f53eeb74d83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464dc87174ead3daeccc5a82f67d11f941c50132589072aa20c9f53eeb74d83c", kill_on_drop: false }` [INFO] [stdout] 464dc87174ead3daeccc5a82f67d11f941c50132589072aa20c9f53eeb74d83c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4edfd4eae3cf851db99e1cef1cc645884b39373a3516c1de7c4d464d70b55b91 [INFO] running `Command { std: "docker" "start" "-a" "4edfd4eae3cf851db99e1cef1cc645884b39373a3516c1de7c4d464d70b55b91", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling never-say-never v6.6.666 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling rangemap v1.5.1 [INFO] [stderr] Compiling higher-kinded-types v0.1.1 [INFO] [stderr] Compiling polonius-the-crab v0.4.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling clap_builder v4.5.17 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pest v2.7.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.17 [INFO] [stderr] Compiling pest_meta v2.7.12 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling pest_generator v2.7.12 [INFO] [stderr] Compiling pest_derive v2.7.12 [INFO] [stderr] Compiling passgen-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/prepare.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | fn prepare(self, env: &dyn Data) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/data.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | fn wordlist(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/data.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn markov(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/prepare.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | fn prepare(self, env: &dyn Data) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `choices` [INFO] [stdout] --> src/entropy.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn add(&mut self, choices: f64) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_choices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand` [INFO] [stdout] --> src/generate.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | fn generate(&self, rand: &mut dyn RngCore, output: &mut dyn Write) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependencies` [INFO] [stdout] --> src/optimize.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | fn optimize(self, dependencies: &mut Dependencies) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependencies` [INFO] [stdout] --> src/optimize.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | fn optimize(self, dependencies: &mut Dependencies) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> src/optimize.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | Pattern::Set(set) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entropy` is never constructed [INFO] [stdout] --> src/entropy.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Entropy(f64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bits`, `choice`, and `add` are never used [INFO] [stdout] --> src/entropy.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Entropy { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 11 | fn bits(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn choice(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn add(&mut self, choices: f64) {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/main.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let amount = options.amount; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | sender.send(output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 192 | let _ = sender.send(output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.96s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: higher-kinded-types v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4edfd4eae3cf851db99e1cef1cc645884b39373a3516c1de7c4d464d70b55b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4edfd4eae3cf851db99e1cef1cc645884b39373a3516c1de7c4d464d70b55b91", kill_on_drop: false }` [INFO] [stdout] 4edfd4eae3cf851db99e1cef1cc645884b39373a3516c1de7c4d464d70b55b91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ee494932c75db8bac55708e492ed116acdfd66e717e8e5d42e9c62f214dab9c [INFO] running `Command { std: "docker" "start" "-a" "4ee494932c75db8bac55708e492ed116acdfd66e717e8e5d42e9c62f214dab9c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling clap_builder v4.5.17 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling test-strategy v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling pest v2.7.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap v4.5.17 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proptest v1.5.0 [INFO] [stderr] Compiling pest_meta v2.7.12 [INFO] [stderr] Compiling pest_generator v2.7.12 [INFO] [stderr] Compiling pest_derive v2.7.12 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling passgen-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/prepare.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | fn prepare(self, env: &dyn Data) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/prepare.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | fn prepare(self, env: &dyn Data) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/data.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | fn wordlist(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/data.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn markov(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependencies` [INFO] [stdout] --> src/optimize.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | fn optimize(self, dependencies: &mut Dependencies) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependencies` [INFO] [stdout] --> src/optimize.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | fn optimize(self, dependencies: &mut Dependencies) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> src/optimize.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | Pattern::Set(set) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `choices` [INFO] [stdout] --> src/entropy.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn add(&mut self, choices: f64) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_choices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand` [INFO] [stdout] --> src/generate.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | fn generate(&self, rand: &mut dyn RngCore, output: &mut dyn Write) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entropy` is never constructed [INFO] [stdout] --> src/entropy.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Entropy(f64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bits`, `choice`, and `add` are never used [INFO] [stdout] --> src/entropy.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Entropy { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 11 | fn bits(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn choice(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn add(&mut self, choices: f64) {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/main.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let amount = options.amount; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | sender.send(output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 192 | let _ = sender.send(output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/data.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | fn wordlist(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/prepare.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | fn prepare(self, env: &dyn Data) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/data.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn markov(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/prepare.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | fn prepare(self, env: &dyn Data) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `choices` [INFO] [stdout] --> src/entropy.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn add(&mut self, choices: f64) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_choices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand` [INFO] [stdout] --> src/generate.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | fn generate(&self, rand: &mut dyn RngCore, output: &mut dyn Write) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> src/optimize.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | Pattern::Set(set) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependencies` [INFO] [stdout] --> src/optimize.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | fn optimize(self, dependencies: &mut Dependencies) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependencies` [INFO] [stdout] --> src/optimize.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | fn optimize(self, dependencies: &mut Dependencies) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entropy` is never constructed [INFO] [stdout] --> src/entropy.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Entropy(f64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bits`, `choice`, and `add` are never used [INFO] [stdout] --> src/entropy.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Entropy { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 11 | fn bits(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn choice(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn add(&mut self, choices: f64) {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 47.94s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: higher-kinded-types v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4ee494932c75db8bac55708e492ed116acdfd66e717e8e5d42e9c62f214dab9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee494932c75db8bac55708e492ed116acdfd66e717e8e5d42e9c62f214dab9c", kill_on_drop: false }` [INFO] [stdout] 4ee494932c75db8bac55708e492ed116acdfd66e717e8e5d42e9c62f214dab9c