[INFO] fetching crate twoway 0.2.2... [INFO] testing twoway-0.2.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate twoway 0.2.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate twoway 0.2.2 [INFO] finished tweaking crates.io crate twoway 0.2.2 [INFO] tweaked toml for crates.io crate twoway 0.2.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate twoway 0.2.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.8.2 (available: v0.14.0) [INFO] [stderr] Adding jetscii v0.3.1 (available: v0.5.3) [INFO] [stderr] Adding odds v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding quickcheck v0.8.5 (available: v1.0.3) [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unchecked-index v0.2.2 [INFO] [stderr] Downloaded quickcheck v0.8.5 [INFO] [stderr] Downloaded jetscii v0.3.1 [INFO] [stderr] Downloaded odds v0.3.1 [INFO] [stderr] Downloaded newtype_derive v0.1.6 [INFO] [stderr] Downloaded rawslice v0.1.1 [INFO] [stderr] Downloaded galil-seiferas v0.1.5 [INFO] [stderr] Downloaded defmac v0.1.3 [INFO] [stderr] Downloaded macro-attr v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69a813be6c9d0a31fed2615f44f4081c33d3bf13a7a976f0db2443a5f1d3b912 [INFO] running `Command { std: "docker" "start" "-a" "69a813be6c9d0a31fed2615f44f4081c33d3bf13a7a976f0db2443a5f1d3b912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69a813be6c9d0a31fed2615f44f4081c33d3bf13a7a976f0db2443a5f1d3b912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69a813be6c9d0a31fed2615f44f4081c33d3bf13a7a976f0db2443a5f1d3b912", kill_on_drop: false }` [INFO] [stdout] 69a813be6c9d0a31fed2615f44f4081c33d3bf13a7a976f0db2443a5f1d3b912 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e485fc23e30356fc0bef42bdeeb7fe9fe9a937a8333cfdbd5fbddfd8a87003b [INFO] running `Command { std: "docker" "start" "-a" "9e485fc23e30356fc0bef42bdeeb7fe9fe9a937a8333cfdbd5fbddfd8a87003b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling twoway v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:800:18 [INFO] [stdout] | [INFO] [stdout] 800 | fn rejecting(usize, usize) -> Self::Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:800:25 [INFO] [stdout] | [INFO] [stdout] 800 | fn rejecting(usize, usize) -> Self::Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:801:17 [INFO] [stdout] | [INFO] [stdout] 801 | fn matching(usize, usize) -> Self::Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:801:24 [INFO] [stdout] | [INFO] [stdout] 801 | fn matching(usize, usize) -> Self::Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `haystack`, `needle`, and `searcher` are never read [INFO] [stdout] --> src/lib.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct StrSearcher<'a, 'b> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 156 | haystack: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 157 | needle: &'b str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 158 | [INFO] [stdout] 159 | searcher: StrSearcherImpl, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrSearcher` has derived impls for the traits `Debug` and `Clone`, 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: field `0` is never read [INFO] [stdout] --> src/lib.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | Empty(EmptyNeedle), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StrSearcherImpl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 164 - Empty(EmptyNeedle), [INFO] [stdout] 164 + Empty(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | TwoWay(TwoWaySearcher), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StrSearcherImpl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 165 - TwoWay(TwoWaySearcher), [INFO] [stdout] 165 + TwoWay(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `end`, `is_match_fw`, and `is_match_bw` are never read [INFO] [stdout] --> src/lib.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 169 | struct EmptyNeedle { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 170 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 171 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 172 | is_match_fw: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 173 | is_match_bw: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmptyNeedle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "9e485fc23e30356fc0bef42bdeeb7fe9fe9a937a8333cfdbd5fbddfd8a87003b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e485fc23e30356fc0bef42bdeeb7fe9fe9a937a8333cfdbd5fbddfd8a87003b", kill_on_drop: false }` [INFO] [stdout] 9e485fc23e30356fc0bef42bdeeb7fe9fe9a937a8333cfdbd5fbddfd8a87003b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2b18513a368b04ba776ab8c849f5c7334336bf288633b802f2921953ba150ec [INFO] running `Command { std: "docker" "start" "-a" "c2b18513a368b04ba776ab8c849f5c7334336bf288633b802f2921953ba150ec", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling macro-attr v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:800:18 [INFO] [stdout] | [INFO] [stdout] 800 | fn rejecting(usize, usize) -> Self::Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:800:25 [INFO] [stdout] | [INFO] [stdout] 800 | fn rejecting(usize, usize) -> Self::Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:801:17 [INFO] [stdout] | [INFO] [stdout] 801 | fn matching(usize, usize) -> Self::Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:801:24 [INFO] [stdout] | [INFO] [stdout] 801 | fn matching(usize, usize) -> Self::Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `haystack`, `needle`, and `searcher` are never read [INFO] [stdout] --> src/lib.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct StrSearcher<'a, 'b> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 156 | haystack: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 157 | needle: &'b str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 158 | [INFO] [stdout] 159 | searcher: StrSearcherImpl, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrSearcher` has derived impls for the traits `Debug` and `Clone`, 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: field `0` is never read [INFO] [stdout] --> src/lib.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | Empty(EmptyNeedle), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StrSearcherImpl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 164 - Empty(EmptyNeedle), [INFO] [stdout] 164 + Empty(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | TwoWay(TwoWaySearcher), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StrSearcherImpl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 165 - TwoWay(TwoWaySearcher), [INFO] [stdout] 165 + TwoWay(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `end`, `is_match_fw`, and `is_match_bw` are never read [INFO] [stdout] --> src/lib.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 169 | struct EmptyNeedle { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 170 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 171 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 172 | is_match_fw: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 173 | is_match_bw: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmptyNeedle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rawslice v0.1.1 [INFO] [stderr] Compiling odds v0.3.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Compiling quickcheck v0.8.5 [INFO] [stderr] Compiling twoway v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:800:18 [INFO] [stdout] | [INFO] [stdout] 800 | fn rejecting(usize, usize) -> Self::Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:800:25 [INFO] [stdout] | [INFO] [stdout] 800 | fn rejecting(usize, usize) -> Self::Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:801:17 [INFO] [stdout] | [INFO] [stdout] 801 | fn matching(usize, usize) -> Self::Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:801:24 [INFO] [stdout] | [INFO] [stdout] 801 | fn matching(usize, usize) -> Self::Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `haystack`, `needle`, and `searcher` are never read [INFO] [stdout] --> src/lib.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct StrSearcher<'a, 'b> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 156 | haystack: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 157 | needle: &'b str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 158 | [INFO] [stdout] 159 | searcher: StrSearcherImpl, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrSearcher` has derived impls for the traits `Debug` and `Clone`, 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: field `0` is never read [INFO] [stdout] --> src/lib.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | Empty(EmptyNeedle), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StrSearcherImpl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 164 - Empty(EmptyNeedle), [INFO] [stdout] 164 + Empty(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | TwoWay(TwoWaySearcher), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StrSearcherImpl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 165 - TwoWay(TwoWaySearcher), [INFO] [stdout] 165 + TwoWay(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `end`, `is_match_fw`, and `is_match_bw` are never read [INFO] [stdout] --> src/lib.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 169 | struct EmptyNeedle { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 170 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 171 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 172 | is_match_fw: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 173 | is_match_bw: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmptyNeedle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.58s [INFO] running `Command { std: "docker" "inspect" "c2b18513a368b04ba776ab8c849f5c7334336bf288633b802f2921953ba150ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2b18513a368b04ba776ab8c849f5c7334336bf288633b802f2921953ba150ec", kill_on_drop: false }` [INFO] [stdout] c2b18513a368b04ba776ab8c849f5c7334336bf288633b802f2921953ba150ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 71c60d2ef0bc8feec32bfdfd78d0bf60479e13900bab6734d026736e564d9c53 [INFO] running `Command { std: "docker" "start" "-a" "71c60d2ef0bc8feec32bfdfd78d0bf60479e13900bab6734d026736e564d9c53", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:800:18 [INFO] [stderr] | [INFO] [stderr] 800 | fn rejecting(usize, usize) -> Self::Output; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:800:25 [INFO] [stderr] | [INFO] [stderr] 800 | fn rejecting(usize, usize) -> Self::Output; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:801:17 [INFO] [stderr] | [INFO] [stderr] 801 | fn matching(usize, usize) -> Self::Output; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:801:24 [INFO] [stderr] | [INFO] [stderr] 801 | fn matching(usize, usize) -> Self::Output; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: fields `haystack`, `needle`, and `searcher` are never read [INFO] [stderr] --> src/lib.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 155 | pub struct StrSearcher<'a, 'b> { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 156 | haystack: &'a str, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 157 | needle: &'b str, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 158 | [INFO] [stderr] 159 | searcher: StrSearcherImpl, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StrSearcher` has derived impls for the traits `Debug` and `Clone`, 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: field `0` is never read [INFO] [stderr] --> src/lib.rs:164:11 [INFO] [stderr] | [INFO] [stderr] 164 | Empty(EmptyNeedle), [INFO] [stderr] | ----- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `StrSearcherImpl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 164 - Empty(EmptyNeedle), [INFO] [stderr] 164 + Empty(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib.rs:165:12 [INFO] [stderr] | [INFO] [stderr] 165 | TwoWay(TwoWaySearcher), [INFO] [stderr] | ------ ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `StrSearcherImpl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 165 - TwoWay(TwoWaySearcher), [INFO] [stderr] 165 + TwoWay(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `position`, `end`, `is_match_fw`, and `is_match_bw` are never read [INFO] [stderr] --> src/lib.rs:170:5 [INFO] [stderr] | [INFO] [stderr] 169 | struct EmptyNeedle { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 170 | position: usize, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 171 | end: usize, [INFO] [stderr] | ^^^ [INFO] [stderr] 172 | is_match_fw: bool, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 173 | is_match_bw: bool, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EmptyNeedle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `twoway` (lib) generated 8 warnings (run `cargo fix --lib -p twoway` to apply 4 suggestions) [INFO] [stderr] warning: `twoway` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/twoway-c363a0bbc06e2fb1) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test maximal_suffix ... ok [INFO] [stdout] test maximal_suffix_verbose ... ok [INFO] [stdout] test pcmp::test_first_start_of_match ... ok [INFO] [stdout] test tw::test_find ... ok [INFO] [stdout] test tw::test_max ... ok [INFO] [stdout] test pcmp::test_find ... ok [INFO] [stdout] test tw::test_max_suf_pos ... ok [INFO] [stdout] test tw::test_maxsuf_and_period ... ok [INFO] [stdout] test pcmp::test_prefixlen ... ok [INFO] [stderr] Running tests/quick.rs (/opt/rustwide/target/debug/deps/quick-7b2744cfaf2caafc) [INFO] [stdout] [INFO] [stderr] Doc-tests twoway [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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] [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" "71c60d2ef0bc8feec32bfdfd78d0bf60479e13900bab6734d026736e564d9c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71c60d2ef0bc8feec32bfdfd78d0bf60479e13900bab6734d026736e564d9c53", kill_on_drop: false }` [INFO] [stdout] 71c60d2ef0bc8feec32bfdfd78d0bf60479e13900bab6734d026736e564d9c53