[INFO] fetching crate needle 0.1.1... [INFO] testing needle-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate needle 0.1.1 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate needle 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8bd83bf266284bc0a64e8c2c1cd0fdc35efa80ad7e4b740708debfaa66ff330 [INFO] running `Command { std: "docker" "start" "-a" "b8bd83bf266284bc0a64e8c2c1cd0fdc35efa80ad7e4b740708debfaa66ff330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8bd83bf266284bc0a64e8c2c1cd0fdc35efa80ad7e4b740708debfaa66ff330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8bd83bf266284bc0a64e8c2c1cd0fdc35efa80ad7e4b740708debfaa66ff330", kill_on_drop: false }` [INFO] [stdout] b8bd83bf266284bc0a64e8c2c1cd0fdc35efa80ad7e4b740708debfaa66ff330 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e58bbeb4047c40796801dd3e2fdb162dddb2bd2c6615d20ff36b6952ccb22afd [INFO] running `Command { std: "docker" "start" "-a" "e58bbeb4047c40796801dd3e2fdb162dddb2bd2c6615d20ff36b6952ccb22afd", 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/boyer_moore.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [INFO] [stdout] | ^^ ^^ -------------------- the lifetime gets resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/boyer_moore.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [INFO] [stdout] | ^^ ^^ -------------------- the lifetime gets resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/horspool.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(needle: &'a H) -> Horspool { [INFO] [stdout] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/horspool.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [INFO] [stdout] | ^^ ^^ ------------------ the lifetime gets resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/horspool.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [INFO] [stdout] | ^^ ^^ ------------------ the lifetime gets resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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.25s [INFO] running `Command { std: "docker" "inspect" "e58bbeb4047c40796801dd3e2fdb162dddb2bd2c6615d20ff36b6952ccb22afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e58bbeb4047c40796801dd3e2fdb162dddb2bd2c6615d20ff36b6952ccb22afd", kill_on_drop: false }` [INFO] [stdout] e58bbeb4047c40796801dd3e2fdb162dddb2bd2c6615d20ff36b6952ccb22afd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1082be86cde449d9ea5d5a1d2556c91acaf5bf52c5b331d138349579119c2399 [INFO] running `Command { std: "docker" "start" "-a" "1082be86cde449d9ea5d5a1d2556c91acaf5bf52c5b331d138349579119c2399", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/boyer_moore.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [INFO] [stdout] | ^^ ^^ -------------------- the lifetime gets resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/boyer_moore.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [INFO] [stdout] | ^^ ^^ -------------------- the lifetime gets resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/horspool.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(needle: &'a H) -> Horspool { [INFO] [stdout] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/horspool.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [INFO] [stdout] | ^^ ^^ ------------------ the lifetime gets resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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] [stderr] Compiling needle v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/horspool.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [INFO] [stdout] | ^^ ^^ ------------------ the lifetime gets resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/boyer_moore.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [INFO] [stdout] | ^^ ^^ -------------------- the lifetime gets resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/boyer_moore.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [INFO] [stdout] | ^^ ^^ -------------------- the lifetime gets resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/horspool.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(needle: &'a H) -> Horspool { [INFO] [stdout] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/horspool.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [INFO] [stdout] | ^^ ^^ ------------------ the lifetime gets resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/horspool.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [INFO] [stdout] | ^^ ^^ ------------------ the lifetime gets resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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.84s [INFO] running `Command { std: "docker" "inspect" "1082be86cde449d9ea5d5a1d2556c91acaf5bf52c5b331d138349579119c2399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1082be86cde449d9ea5d5a1d2556c91acaf5bf52c5b331d138349579119c2399", kill_on_drop: false }` [INFO] [stdout] 1082be86cde449d9ea5d5a1d2556c91acaf5bf52c5b331d138349579119c2399 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ed646924afedc8332d8a52b2a8d4252f5235bc642d23ea136e4381ccab134728 [INFO] running `Command { std: "docker" "start" "-a" "ed646924afedc8332d8a52b2a8d4252f5235bc642d23ea136e4381ccab134728", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] [INFO] [stderr] --> src/boyer_moore.rs:52:25 [INFO] [stdout] running 18 tests [INFO] [stderr] | [INFO] [stderr] 52 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [INFO] [stderr] | ^^ ^^ -------------------- the lifetime gets resolved as `'b` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/boyer_moore.rs:72:37 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> BoyerMooreIter { [INFO] [stderr] | ^^ ^^ -------------------- the lifetime gets resolved as `'b` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/horspool.rs:26:25 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(needle: &'a H) -> Horspool { [INFO] [stderr] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(needle: &'a H) -> Horspool<'a, H> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/horspool.rs:49:25 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn find_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [INFO] [stderr] | ^^ ^^ ------------------ the lifetime gets resolved as `'b` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/horspool.rs:69:37 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn find_overlapping_in<'b>(&'b self, haystack: &'b H) -> HorspoolIter { [INFO] [stderr] | ^^ ^^ ------------------ the lifetime gets resolved as `'b` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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)]` 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)]` 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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/needle-8d1181acc9f4d899) [INFO] [stdout] test benchmarks::find_pi_100k_digits_boyer_moore ... 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 boyer_moore::test::test_iter ... ok [INFO] [stdout] test boyer_moore::test::test_overlapping ... ok [INFO] [stdout] test benchmarks::find_pi_100k_digits_horspool_with_precompute ... ok [INFO] [stdout] test boyer_moore::test::test_simple ... ok [INFO] [stdout] test boyer_moore::test::test_bad_char2 ... ok [INFO] [stdout] test benchmarks::find_pi_100k_digits_std_str ... ok [INFO] [stdout] test boyer_moore::test::test_non_overlapping ... ok [INFO] [stdout] test horspool::test::bench_rna_bytes ... ok [INFO] [stdout] test benchmarks::find_pi_100k_digits_horspool ... 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 boyer_moore::test::test_search_twice ... ok [INFO] [stdout] test horspool::test::bench_rna_enum ... ok [INFO] [stdout] test skip_search::test::test_good_suffix_table ... 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] running `Command { std: "docker" "inspect" "ed646924afedc8332d8a52b2a8d4252f5235bc642d23ea136e4381ccab134728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed646924afedc8332d8a52b2a8d4252f5235bc642d23ea136e4381ccab134728", kill_on_drop: false }` [INFO] [stdout] ed646924afedc8332d8a52b2a8d4252f5235bc642d23ea136e4381ccab134728