[INFO] fetching crate stringedits 0.2.0... [INFO] testing stringedits-0.2.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate stringedits 0.2.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate stringedits 0.2.0 [INFO] finished tweaking crates.io crate stringedits 0.2.0 [INFO] tweaked toml for crates.io crate stringedits 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stringedits 0.2.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8317cc19c0972e5ff62671b2d00f2d949d6848f4cee6ce9ea2cccedd0046339 [INFO] running `Command { std: "docker" "start" "-a" "c8317cc19c0972e5ff62671b2d00f2d949d6848f4cee6ce9ea2cccedd0046339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8317cc19c0972e5ff62671b2d00f2d949d6848f4cee6ce9ea2cccedd0046339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8317cc19c0972e5ff62671b2d00f2d949d6848f4cee6ce9ea2cccedd0046339", kill_on_drop: false }` [INFO] [stdout] c8317cc19c0972e5ff62671b2d00f2d949d6848f4cee6ce9ea2cccedd0046339 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bd6f58012c75c78b675b21964115fb8cb7be29dce746a16f7d531c9df0ff414 [INFO] running `Command { std: "docker" "start" "-a" "8bd6f58012c75c78b675b21964115fb8cb7be29dce746a16f7d531c9df0ff414", kill_on_drop: false }` [INFO] [stderr] Compiling stringedits v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `splits`, `current`, and `c` are never read [INFO] [stdout] --> src/lib.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct Replaces<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 216 | splits: Splits<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 217 | current: Option<(String, String)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 218 | c: u8, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Replaces` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `splits`, `current`, and `c` are never read [INFO] [stdout] --> src/lib.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct Inserts<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 243 | splits: Splits<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 244 | current: Option<(String, String)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 245 | c: u8, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Inserts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | fn splits(&self) -> Splits { [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] 40 | fn splits(&self) -> Splits<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | fn transposes(&self) -> Transposes { [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] 54 | fn transposes(&self) -> Transposes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | fn replaces_ascii_lowercase(&self) -> CustomReplaces { [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] 68 | fn replaces_ascii_lowercase(&self) -> CustomReplaces<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | fn inserts_ascii_lowercase(&self) -> CustomInsert { [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] 87 | fn inserts_ascii_lowercase(&self) -> CustomInsert<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | fn deletions(&self) -> Deletions { [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] 102 | fn deletions(&self) -> Deletions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:116:58 [INFO] [stdout] | [INFO] [stdout] 116 | fn dist1edits<'a>(&'a self, alphabet: &'a [char]) -> Dist1Edits { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 116 | fn dist1edits<'a>(&'a self, alphabet: &'a [char]) -> Dist1Edits<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:134:58 [INFO] [stdout] | [INFO] [stdout] 134 | fn dist2edits<'a>(&'a self, alphabet: &'a [char]) -> Dist2Edits { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 134 | fn dist2edits<'a>(&'a self, alphabet: &'a [char]) -> Dist2Edits<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "8bd6f58012c75c78b675b21964115fb8cb7be29dce746a16f7d531c9df0ff414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bd6f58012c75c78b675b21964115fb8cb7be29dce746a16f7d531c9df0ff414", kill_on_drop: false }` [INFO] [stdout] 8bd6f58012c75c78b675b21964115fb8cb7be29dce746a16f7d531c9df0ff414 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 480b29a6389b1db1b523af88ee8b25afb640a7785d73c04758ceb5aa788e66db [INFO] running `Command { std: "docker" "start" "-a" "480b29a6389b1db1b523af88ee8b25afb640a7785d73c04758ceb5aa788e66db", kill_on_drop: false }` [INFO] [stdout] warning: fields `splits`, `current`, and `c` are never read [INFO] [stdout] --> src/lib.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct Replaces<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 216 | splits: Splits<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 217 | current: Option<(String, String)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 218 | c: u8, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Replaces` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `splits`, `current`, and `c` are never read [INFO] [stdout] --> src/lib.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct Inserts<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 243 | splits: Splits<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 244 | current: Option<(String, String)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 245 | c: u8, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Inserts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | fn splits(&self) -> Splits { [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] 40 | fn splits(&self) -> Splits<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | fn transposes(&self) -> Transposes { [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] 54 | fn transposes(&self) -> Transposes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | fn replaces_ascii_lowercase(&self) -> CustomReplaces { [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] 68 | fn replaces_ascii_lowercase(&self) -> CustomReplaces<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | fn inserts_ascii_lowercase(&self) -> CustomInsert { [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] 87 | fn inserts_ascii_lowercase(&self) -> CustomInsert<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stringedits v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | fn deletions(&self) -> Deletions { [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] 102 | fn deletions(&self) -> Deletions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:116:58 [INFO] [stdout] | [INFO] [stdout] 116 | fn dist1edits<'a>(&'a self, alphabet: &'a [char]) -> Dist1Edits { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 116 | fn dist1edits<'a>(&'a self, alphabet: &'a [char]) -> Dist1Edits<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:134:58 [INFO] [stdout] | [INFO] [stdout] 134 | fn dist2edits<'a>(&'a self, alphabet: &'a [char]) -> Dist2Edits { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 134 | fn dist2edits<'a>(&'a self, alphabet: &'a [char]) -> Dist2Edits<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `splits`, `current`, and `c` are never read [INFO] [stdout] --> src/lib.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct Replaces<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 216 | splits: Splits<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 217 | current: Option<(String, String)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 218 | c: u8, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Replaces` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `splits`, `current`, and `c` are never read [INFO] [stdout] --> src/lib.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct Inserts<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 243 | splits: Splits<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 244 | current: Option<(String, String)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 245 | c: u8, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Inserts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | fn splits(&self) -> Splits { [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] 40 | fn splits(&self) -> Splits<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | fn transposes(&self) -> Transposes { [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] 54 | fn transposes(&self) -> Transposes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | fn replaces_ascii_lowercase(&self) -> CustomReplaces { [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] 68 | fn replaces_ascii_lowercase(&self) -> CustomReplaces<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | fn inserts_ascii_lowercase(&self) -> CustomInsert { [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] 87 | fn inserts_ascii_lowercase(&self) -> CustomInsert<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | fn deletions(&self) -> Deletions { [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] 102 | fn deletions(&self) -> Deletions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:116:58 [INFO] [stdout] | [INFO] [stdout] 116 | fn dist1edits<'a>(&'a self, alphabet: &'a [char]) -> Dist1Edits { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 116 | fn dist1edits<'a>(&'a self, alphabet: &'a [char]) -> Dist1Edits<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:134:58 [INFO] [stdout] | [INFO] [stdout] 134 | fn dist2edits<'a>(&'a self, alphabet: &'a [char]) -> Dist2Edits { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 134 | fn dist2edits<'a>(&'a self, alphabet: &'a [char]) -> Dist2Edits<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "480b29a6389b1db1b523af88ee8b25afb640a7785d73c04758ceb5aa788e66db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "480b29a6389b1db1b523af88ee8b25afb640a7785d73c04758ceb5aa788e66db", kill_on_drop: false }` [INFO] [stdout] 480b29a6389b1db1b523af88ee8b25afb640a7785d73c04758ceb5aa788e66db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 009a5a630a736a6bda49f5fb62599b813692fe211a69b46878111f58b78c55dc [INFO] running `Command { std: "docker" "start" "-a" "009a5a630a736a6bda49f5fb62599b813692fe211a69b46878111f58b78c55dc", kill_on_drop: false }` [INFO] [stderr] warning: fields `splits`, `current`, and `c` are never read [INFO] [stderr] --> src/lib.rs:216:5 [INFO] [stderr] | [INFO] [stderr] 215 | pub struct Replaces<'a> { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 216 | splits: Splits<'a>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 217 | current: Option<(String, String)>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 218 | c: u8, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `Replaces` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `splits`, `current`, and `c` are never read [INFO] [stderr] --> src/lib.rs:243:5 [INFO] [stderr] | [INFO] [stderr] 242 | pub struct Inserts<'a> { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 243 | splits: Splits<'a>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 244 | current: Option<(String, String)>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 245 | c: u8, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `Inserts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:40:15 [INFO] [stderr] | [INFO] [stderr] 40 | fn splits(&self) -> Splits { [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] 40 | fn splits(&self) -> Splits<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | fn transposes(&self) -> Transposes { [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] 54 | fn transposes(&self) -> Transposes<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:68:33 [INFO] [stderr] | [INFO] [stderr] 68 | fn replaces_ascii_lowercase(&self) -> CustomReplaces { [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] 68 | fn replaces_ascii_lowercase(&self) -> CustomReplaces<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:87:32 [INFO] [stderr] | [INFO] [stderr] 87 | fn inserts_ascii_lowercase(&self) -> CustomInsert { [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] 87 | fn inserts_ascii_lowercase(&self) -> CustomInsert<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:102:18 [INFO] [stderr] | [INFO] [stderr] 102 | fn deletions(&self) -> Deletions { [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] 102 | fn deletions(&self) -> Deletions<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:116:58 [INFO] [stderr] | [INFO] [stderr] 116 | fn dist1edits<'a>(&'a self, alphabet: &'a [char]) -> Dist1Edits { [INFO] [stderr] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 116 | fn dist1edits<'a>(&'a self, alphabet: &'a [char]) -> Dist1Edits<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:134:58 [INFO] [stderr] | [INFO] [stderr] 134 | fn dist2edits<'a>(&'a self, alphabet: &'a [char]) -> Dist2Edits { [INFO] [stderr] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 134 | fn dist2edits<'a>(&'a self, alphabet: &'a [char]) -> Dist2Edits<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `stringedits` (lib) generated 9 warnings (run `cargo fix --lib -p stringedits` to apply 7 suggestions) [INFO] [stderr] warning: `stringedits` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stringedits-5d8dc23a2a30a391) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::replaces ... ok [INFO] [stdout] test tests::deletes ... ok [INFO] [stdout] test tests::splits ... ok [INFO] [stdout] test tests::transposes ... ok [INFO] [stdout] test tests::edits ... ok [INFO] [stdout] test tests::inserts ... ok [INFO] [stdout] test tests::dist2edits ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Doc-tests stringedits [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - Edit::replaces (line 153) ... ok [INFO] [stdout] test src/lib.rs - Edit::dist1edits (line 107) ... ok [INFO] [stdout] test src/lib.rs - Edit::inserts_ascii_lowercase (line 78) ... ok [INFO] [stdout] test src/lib.rs - Edit::splits (line 30) ... ok [INFO] [stdout] test src/lib.rs - (line 6) ... ok [INFO] [stdout] test src/lib.rs - Edit::inserts (line 170) ... ok [INFO] [stdout] test src/lib.rs - Edit::deletions (line 97) ... ok [INFO] [stdout] test src/lib.rs - Edit::replaces_ascii_lowercase (line 59) ... ok [INFO] [stdout] test src/lib.rs - Edit::transposes (line 48) ... ok [INFO] [stdout] test src/lib.rs - Edit::dist2edits (line 125) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "009a5a630a736a6bda49f5fb62599b813692fe211a69b46878111f58b78c55dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "009a5a630a736a6bda49f5fb62599b813692fe211a69b46878111f58b78c55dc", kill_on_drop: false }` [INFO] [stdout] 009a5a630a736a6bda49f5fb62599b813692fe211a69b46878111f58b78c55dc