[INFO] fetching crate needle 0.1.1... [INFO] testing needle-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate needle 0.1.1 into /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate needle 0.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05d955dc36cca3352c5537fa876000261e4c643bda7c536e702b08f7abb7599f [INFO] running `Command { std: "docker" "start" "-a" "05d955dc36cca3352c5537fa876000261e4c643bda7c536e702b08f7abb7599f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05d955dc36cca3352c5537fa876000261e4c643bda7c536e702b08f7abb7599f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05d955dc36cca3352c5537fa876000261e4c643bda7c536e702b08f7abb7599f", kill_on_drop: false }` [INFO] [stdout] 05d955dc36cca3352c5537fa876000261e4c643bda7c536e702b08f7abb7599f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ad4bd73cebff7aedcf0a0c483789a8de6ba6dcdf325d56ed20ca86e4bbc09a0 [INFO] running `Command { std: "docker" "start" "-a" "9ad4bd73cebff7aedcf0a0c483789a8de6ba6dcdf325d56ed20ca86e4bbc09a0", 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.33s [INFO] running `Command { std: "docker" "inspect" "9ad4bd73cebff7aedcf0a0c483789a8de6ba6dcdf325d56ed20ca86e4bbc09a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ad4bd73cebff7aedcf0a0c483789a8de6ba6dcdf325d56ed20ca86e4bbc09a0", kill_on_drop: false }` [INFO] [stdout] 9ad4bd73cebff7aedcf0a0c483789a8de6ba6dcdf325d56ed20ca86e4bbc09a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1855ce5ced1348c1ca4ca532500a5a578336c9323f3c2ef51a35a39a67e14ce6 [INFO] running `Command { std: "docker" "start" "-a" "1855ce5ced1348c1ca4ca532500a5a578336c9323f3c2ef51a35a39a67e14ce6", 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] [stderr] Compiling needle v0.1.1 (/opt/rustwide/workdir) [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] [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.64s [INFO] running `Command { std: "docker" "inspect" "1855ce5ced1348c1ca4ca532500a5a578336c9323f3c2ef51a35a39a67e14ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1855ce5ced1348c1ca4ca532500a5a578336c9323f3c2ef51a35a39a67e14ce6", kill_on_drop: false }` [INFO] [stdout] 1855ce5ced1348c1ca4ca532500a5a578336c9323f3c2ef51a35a39a67e14ce6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 99a7090a5f27db016282b45eec8aa912cc4b2d225497ff02298f93798d86ee89 [INFO] running `Command { std: "docker" "start" "-a" "99a7090a5f27db016282b45eec8aa912cc4b2d225497ff02298f93798d86ee89", 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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/needle-16163465be68958a) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test benchmarks::find_pi_100k_digits_horspool_with_precompute ... ok [INFO] [stdout] test benchmarks::find_pi_100k_digits_horspool ... ok [INFO] [stdout] test benchmarks::find_pi_100k_digits_boyer_moore_with_precompute ... ok [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_std_str ... ok [INFO] [stdout] test boyer_moore::test::test_iter ... ok [INFO] [stdout] test boyer_moore::test::test_non_overlapping ... ok [INFO] [stdout] test boyer_moore::test::test_overlapping ... ok [INFO] [stdout] test boyer_moore::test::test_search_twice ... ok [INFO] [stdout] test horspool::test::bench_rna_bytes ... ok [INFO] [stdout] test boyer_moore::test::test_simple ... ok [INFO] [stdout] test horspool::test::bench_rna_enum ... ok [INFO] [stdout] test horspool::test::test_rna ... ok [INFO] [stdout] test skip_search::test::test_good_suffix_table2 ... ok [INFO] [stdout] test skip_search::test::test_suffix_table ... ok [INFO] [stdout] test skip_search::test::test_good_suffix_table ... ok [INFO] [stderr] Doc-tests needle [INFO] [stdout] test boyer_moore::test::test_bad_char2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [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_in (line 43) ... 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/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.65s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "99a7090a5f27db016282b45eec8aa912cc4b2d225497ff02298f93798d86ee89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99a7090a5f27db016282b45eec8aa912cc4b2d225497ff02298f93798d86ee89", kill_on_drop: false }` [INFO] [stdout] 99a7090a5f27db016282b45eec8aa912cc4b2d225497ff02298f93798d86ee89