[INFO] fetching crate spelling_corrector 0.2.3... [INFO] testing spelling_corrector-0.2.3 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate spelling_corrector 0.2.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate spelling_corrector 0.2.3 [INFO] finished tweaking crates.io crate spelling_corrector 0.2.3 [INFO] tweaked toml for crates.io crate spelling_corrector 0.2.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spelling_corrector 0.2.3 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spelling_corrector 0.2.3 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a383f9b433205df19d2f65f4e1c2af52a82343ad2e55360f297d3751c550e966 [INFO] running `Command { std: "docker" "start" "-a" "a383f9b433205df19d2f65f4e1c2af52a82343ad2e55360f297d3751c550e966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a383f9b433205df19d2f65f4e1c2af52a82343ad2e55360f297d3751c550e966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a383f9b433205df19d2f65f4e1c2af52a82343ad2e55360f297d3751c550e966", kill_on_drop: false }` [INFO] [stdout] a383f9b433205df19d2f65f4e1c2af52a82343ad2e55360f297d3751c550e966 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 552e972fef4aea902e4af1c04a7fe8daba82cd132d1c53199072aea5af5843d7 [INFO] running `Command { std: "docker" "start" "-a" "552e972fef4aea902e4af1c04a7fe8daba82cd132d1c53199072aea5af5843d7", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling generator v0.6.19 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling globset v0.4.4 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling ignore v0.4.10 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling globwalk v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling syn-mid v0.4.0 [INFO] [stderr] Compiling rustversion v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-error v0.4.4 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.3 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling clap-verbosity-flag v0.2.0 [INFO] [stderr] Compiling structopt-derive v0.4.0 [INFO] [stderr] Compiling structopt v0.3.7 [INFO] [stderr] Compiling quicli v0.4.0 [INFO] [stderr] Compiling spelling_corrector v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `w1` [INFO] [stdout] --> src/corrector.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w2` [INFO] [stdout] --> src/corrector.rs:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/corrector.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | .map(|(p, w)| w) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/corrector.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | fn edit1(w: &str) -> Stream { [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] 148 | fn edit1(w: &str) -> Stream<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/corrector.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | fn edits(n: usize, word: &str) -> Stream { [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] 177 | fn edits(n: usize, word: &str) -> Stream<'_, EditWord> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.12s [INFO] running `Command { std: "docker" "inspect" "552e972fef4aea902e4af1c04a7fe8daba82cd132d1c53199072aea5af5843d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "552e972fef4aea902e4af1c04a7fe8daba82cd132d1c53199072aea5af5843d7", kill_on_drop: false }` [INFO] [stdout] 552e972fef4aea902e4af1c04a7fe8daba82cd132d1c53199072aea5af5843d7 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fdd8ab1e2ef4b69db8a5238ef4dc4ea6eaa2adf1fa261f308be5777b22f27e4 [INFO] running `Command { std: "docker" "start" "-a" "2fdd8ab1e2ef4b69db8a5238ef4dc4ea6eaa2adf1fa261f308be5777b22f27e4", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `w1` [INFO] [stdout] --> src/corrector.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w2` [INFO] [stdout] --> src/corrector.rs:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/corrector.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | .map(|(p, w)| w) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/corrector.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | fn edit1(w: &str) -> Stream { [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] 148 | fn edit1(w: &str) -> Stream<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling spelling_corrector v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/corrector.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | fn edits(n: usize, word: &str) -> Stream { [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] 177 | fn edits(n: usize, word: &str) -> Stream<'_, EditWord> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w1` [INFO] [stdout] --> src/corrector.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w2` [INFO] [stdout] --> src/corrector.rs:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/corrector.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | .map(|(p, w)| w) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/corrector.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | fn edit1(w: &str) -> Stream { [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] 148 | fn edit1(w: &str) -> Stream<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/corrector.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | fn edits(n: usize, word: &str) -> Stream { [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] 177 | fn edits(n: usize, word: &str) -> Stream<'_, EditWord> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "2fdd8ab1e2ef4b69db8a5238ef4dc4ea6eaa2adf1fa261f308be5777b22f27e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fdd8ab1e2ef4b69db8a5238ef4dc4ea6eaa2adf1fa261f308be5777b22f27e4", kill_on_drop: false }` [INFO] [stdout] 2fdd8ab1e2ef4b69db8a5238ef4dc4ea6eaa2adf1fa261f308be5777b22f27e4 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 74690fffaf7469b130b3f23d26be6de778093fc3e48adebcd85d8db285d3697f [INFO] running `Command { std: "docker" "start" "-a" "74690fffaf7469b130b3f23d26be6de778093fc3e48adebcd85d8db285d3697f", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `w1` [INFO] [stderr] --> src/corrector.rs:135:27 [INFO] [stderr] | [INFO] [stderr] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w2` [INFO] [stderr] --> src/corrector.rs:135:37 [INFO] [stderr] | [INFO] [stderr] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_w2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/corrector.rs:136:20 [INFO] [stderr] | [INFO] [stderr] 136 | .map(|(p, w)| w) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/corrector.rs:148:13 [INFO] [stderr] | [INFO] [stderr] 148 | fn edit1(w: &str) -> Stream { [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] 148 | fn edit1(w: &str) -> Stream<'_, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/corrector.rs:177:26 [INFO] [stderr] | [INFO] [stderr] 177 | fn edits(n: usize, word: &str) -> Stream { [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] 177 | fn edits(n: usize, word: &str) -> Stream<'_, EditWord> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `spelling_corrector` (lib) generated 5 warnings (run `cargo fix --lib -p spelling_corrector` to apply 2 suggestions) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `spelling_corrector` (bin "spelling_corrector" test) generated 1 warning [INFO] [stderr] warning: `spelling_corrector` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spelling_corrector-9e7f3b011ce026b5) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test corrector::tests::test_corrector_on_valid_word ... ok [INFO] [stdout] test corrector::tests::test_word_prob ... ok [INFO] [stdout] test corrector::tests::test_word_split ... ok [INFO] [stdout] test corrector::tests::test_corrector_on_invalid_word ... ok [INFO] [stdout] test test_corrector ... ok [INFO] [stdout] test corrector::tests::test_corrector_with_actual_dataset ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.11s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/spelling_corrector-f3786aa19adc00a8) [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 spelling_corrector [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 6) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.99s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "74690fffaf7469b130b3f23d26be6de778093fc3e48adebcd85d8db285d3697f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74690fffaf7469b130b3f23d26be6de778093fc3e48adebcd85d8db285d3697f", kill_on_drop: false }` [INFO] [stdout] 74690fffaf7469b130b3f23d26be6de778093fc3e48adebcd85d8db285d3697f