[INFO] fetching crate needle 0.1.1... [INFO] testing needle-0.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate needle 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate needle 0.1.1 [INFO] finished tweaking crates.io crate needle 0.1.1 [INFO] tweaked toml for crates.io crate needle 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate needle 0.1.1 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] 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 46eeca73c89275cdeccd4dd78f1b85b536b071837ffc95f94a5db6e33b014be5 [INFO] running `Command { std: "docker" "start" "-a" "46eeca73c89275cdeccd4dd78f1b85b536b071837ffc95f94a5db6e33b014be5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46eeca73c89275cdeccd4dd78f1b85b536b071837ffc95f94a5db6e33b014be5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46eeca73c89275cdeccd4dd78f1b85b536b071837ffc95f94a5db6e33b014be5", kill_on_drop: false }` [INFO] [stdout] 46eeca73c89275cdeccd4dd78f1b85b536b071837ffc95f94a5db6e33b014be5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e8ec04b6f8c495a26261542b6cdcf5169eba8071b9843768c0b53a97bc9004ba [INFO] running `Command { std: "docker" "start" "-a" "e8ec04b6f8c495a26261542b6cdcf5169eba8071b9843768c0b53a97bc9004ba", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling needle v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/boyer_moore.rs:52:54 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter<'b, T, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/boyer_moore.rs:72:66 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [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 `'b` [INFO] [stdout] | [INFO] [stdout] 72 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter<'b, T, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/horspool.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(needle: &'a H) -> Horspool { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 26 | pub fn new(needle: &'a H) -> Horspool<'a, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/horspool.rs:49:54 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [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 `'b` [INFO] [stdout] | [INFO] [stdout] 49 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter<'b, T, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/horspool.rs:69:66 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [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 `'b` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter<'b, T, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "e8ec04b6f8c495a26261542b6cdcf5169eba8071b9843768c0b53a97bc9004ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8ec04b6f8c495a26261542b6cdcf5169eba8071b9843768c0b53a97bc9004ba", kill_on_drop: false }` [INFO] [stdout] e8ec04b6f8c495a26261542b6cdcf5169eba8071b9843768c0b53a97bc9004ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ded83ef87c72edfb9e8c6054dcd799d1eaead84444d1fe2bb5d85d64c4b81380 [INFO] running `Command { std: "docker" "start" "-a" "ded83ef87c72edfb9e8c6054dcd799d1eaead84444d1fe2bb5d85d64c4b81380", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/boyer_moore.rs:52:54 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter<'b, T, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/boyer_moore.rs:72:66 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [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 `'b` [INFO] [stdout] | [INFO] [stdout] 72 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter<'b, T, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/horspool.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(needle: &'a H) -> Horspool { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 26 | pub fn new(needle: &'a H) -> Horspool<'a, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/horspool.rs:49:54 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [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 `'b` [INFO] [stdout] | [INFO] [stdout] 49 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter<'b, T, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/horspool.rs:69:66 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [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 `'b` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter<'b, T, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling needle v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/benchmarks.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | let haystack = pi_100k_digits().as_bytes();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/horspool.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/boyer_moore.rs:52:54 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter<'b, T, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/boyer_moore.rs:72:66 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [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 `'b` [INFO] [stdout] | [INFO] [stdout] 72 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter<'b, T, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/horspool.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(needle: &'a H) -> Horspool { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 26 | pub fn new(needle: &'a H) -> Horspool<'a, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/horspool.rs:49:54 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [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 `'b` [INFO] [stdout] | [INFO] [stdout] 49 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter<'b, T, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/horspool.rs:69:66 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [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 `'b` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter<'b, T, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "ded83ef87c72edfb9e8c6054dcd799d1eaead84444d1fe2bb5d85d64c4b81380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ded83ef87c72edfb9e8c6054dcd799d1eaead84444d1fe2bb5d85d64c4b81380", kill_on_drop: false }` [INFO] [stdout] ded83ef87c72edfb9e8c6054dcd799d1eaead84444d1fe2bb5d85d64c4b81380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 06191201e6894403253628796337bc14c18004624a438dd8395c87cd316ae4db [INFO] running `Command { std: "docker" "start" "-a" "06191201e6894403253628796337bc14c18004624a438dd8395c87cd316ae4db", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/boyer_moore.rs:52:54 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'b` [INFO] [stderr] | [INFO] [stderr] 52 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter<'b, T, H> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/boyer_moore.rs:72:66 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [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 `'b` [INFO] [stderr] | [INFO] [stderr] 72 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter<'b, T, H> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/horspool.rs:26:34 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(needle: &'a H) -> Horspool { [INFO] [stderr] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [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] 26 | pub fn new(needle: &'a H) -> Horspool<'a, H> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/horspool.rs:49:54 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [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 `'b` [INFO] [stderr] | [INFO] [stderr] 49 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter<'b, T, H> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/horspool.rs:69:66 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [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 `'b` [INFO] [stderr] | [INFO] [stderr] 69 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter<'b, T, H> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `needle` (lib) generated 5 warnings (run `cargo fix --lib -p needle` to apply 5 suggestions) [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/benchmarks.rs:20:48 [INFO] [stderr] | [INFO] [stderr] 20 | let haystack = pi_100k_digits().as_bytes();; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str` [INFO] [stderr] --> src/horspool.rs:133:9 [INFO] [stderr] | [INFO] [stderr] 133 | use std::str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `needle` (lib test) generated 7 warnings (5 duplicates) (run `cargo fix --lib -p needle --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/needle-16163465be68958a) [INFO] [stdout] running 18 tests [INFO] [stdout] test boyer_moore::test::test_bad_char ... ok [INFO] [stdout] test benchmarks::find_pi_100k_digits_boyer_moore ... ok [INFO] [stdout] test benchmarks::find_pi_100k_digits_horspool_with_precompute ... ok [INFO] [stdout] test benchmarks::find_pi_100k_digits_boyer_moore_with_precompute ... ok [INFO] [stdout] test benchmarks::find_pi_100k_digits_horspool ... ok [INFO] [stdout] test benchmarks::find_pi_100k_digits_std_str ... ok [INFO] [stdout] test boyer_moore::test::test_iter ... ok [INFO] [stdout] test boyer_moore::test::test_overlapping ... ok [INFO] [stdout] test boyer_moore::test::test_search_twice ... ok [INFO] [stdout] test boyer_moore::test::test_bad_char2 ... ok [INFO] [stdout] test boyer_moore::test::test_non_overlapping ... ok [INFO] [stdout] test boyer_moore::test::test_simple ... ok [INFO] [stdout] test horspool::test::bench_rna_bytes ... ok [INFO] [stdout] test horspool::test::test_rna ... ok [INFO] [stdout] test skip_search::test::test_good_suffix_table ... ok [INFO] [stdout] test skip_search::test::test_good_suffix_table2 ... ok [INFO] [stderr] Doc-tests needle [INFO] [stdout] test skip_search::test::test_suffix_table ... ok [INFO] [stdout] test horspool::test::bench_rna_enum ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/boyer_moore.rs - boyer_moore::BoyerMoore<'a,H>::find_overlapping_in (line 66) ... ok [INFO] [stdout] test src/horspool.rs - horspool (line 8) ... ok [INFO] [stdout] test src/horspool.rs - horspool::Horspool<'a,H>::find_overlapping_in (line 63) ... ok [INFO] [stdout] test src/boyer_moore.rs - boyer_moore (line 5) ... ok [INFO] [stdout] test src/horspool.rs - horspool::Horspool<'a,H>::find_in (line 43) ... ok [INFO] [stdout] test src/boyer_moore.rs - boyer_moore::BoyerMoore<'a,H>::find_in (line 46) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.61s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "06191201e6894403253628796337bc14c18004624a438dd8395c87cd316ae4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06191201e6894403253628796337bc14c18004624a438dd8395c87cd316ae4db", kill_on_drop: false }` [INFO] [stdout] 06191201e6894403253628796337bc14c18004624a438dd8395c87cd316ae4db