[INFO] fetching crate twoway 0.2.2... [INFO] checking twoway-0.2.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate twoway 0.2.2 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate twoway 0.2.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a2c38cd5193bd3488f3dea3fa27f4bc326b79e4ba3aaf3c51f4647f74dc66d3 [INFO] running `Command { std: "docker" "start" "-a" "7a2c38cd5193bd3488f3dea3fa27f4bc326b79e4ba3aaf3c51f4647f74dc66d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a2c38cd5193bd3488f3dea3fa27f4bc326b79e4ba3aaf3c51f4647f74dc66d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a2c38cd5193bd3488f3dea3fa27f4bc326b79e4ba3aaf3c51f4647f74dc66d3", kill_on_drop: false }` [INFO] [stdout] 7a2c38cd5193bd3488f3dea3fa27f4bc326b79e4ba3aaf3c51f4647f74dc66d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 008e974de4b4a0725cd6d7e225661fd73b9e930a62f755869d1a53e62fc4935c [INFO] running `Command { std: "docker" "start" "-a" "008e974de4b4a0725cd6d7e225661fd73b9e930a62f755869d1a53e62fc4935c", 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] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking rawslice v0.1.1 [INFO] [stderr] Checking macro-attr v0.2.0 [INFO] [stderr] Checking quickcheck v0.8.5 [INFO] [stderr] Checking odds v0.3.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Checking 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)]` 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)]` 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] [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)]` 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] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 377 | / bench_contains_vs_tw!(short_short, [INFO] [stdout] 378 | | "Lorem ipsum dolor sit amet, consectetur adipiscing elit.", [INFO] [stdout] 379 | | "tis"); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 382 | / bench_contains_vs_tw!(short_word1_long, [INFO] [stdout] 383 | | LONG, [INFO] [stdout] 384 | | "english"); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 387 | / bench_contains_vs_tw!(short_word2_long, [INFO] [stdout] 388 | | LONG, [INFO] [stdout] 389 | | "lite"); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 391 | / bench_contains_vs_tw!(short_1let_long, [INFO] [stdout] 392 | | LONG, [INFO] [stdout] 393 | | "z"); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 395 | / bench_contains_vs_tw!(short_2let_rare, [INFO] [stdout] 396 | | LONG, [INFO] [stdout] 397 | | "qq"); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 399 | / bench_contains_vs_tw!(short_2let_common, [INFO] [stdout] 400 | | LONG, [INFO] [stdout] 401 | | "uu"); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 403 | / bench_contains_vs_tw!(short_3let_long, [INFO] [stdout] 404 | | LONG, [INFO] [stdout] 405 | | "aga"); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 407 | / bench_contains_vs_tw!(short_1let_cy, [INFO] [stdout] 408 | | LONG_CY, [INFO] [stdout] 409 | | "Ѯ"); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 411 | / bench_contains_vs_tw!(short_2let_cy, [INFO] [stdout] 412 | | LONG_CY, [INFO] [stdout] 413 | | "оо"); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 415 | / bench_contains_vs_tw!(short_3let_cy, [INFO] [stdout] 416 | | LONG_CY, [INFO] [stdout] 417 | | "коэ"); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 419 | / bench_contains_vs_tw!(naive, [INFO] [stdout] 420 | | "a".repeat(250), [INFO] [stdout] 421 | | "aaaaaaaab"); [INFO] [stdout] | |________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 423 | / bench_contains_vs_tw!(naive_rev, [INFO] [stdout] 424 | | "a".repeat(250), [INFO] [stdout] 425 | | "baaaaaaaa"); [INFO] [stdout] | |________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 427 | / bench_contains_vs_tw!(naive_longpat, [INFO] [stdout] 428 | | "a".repeat(100_000), [INFO] [stdout] 429 | | "a".repeat(24).append("b")); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 431 | / bench_contains_vs_tw!(naive_longpat_reversed, [INFO] [stdout] 432 | | "a".repeat(100_000), [INFO] [stdout] 433 | | "b".append(&"a".repeat(24))); [INFO] [stdout] | |________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 435 | / bench_contains_vs_tw!(bb_in_aa, [INFO] [stdout] 436 | | "a".repeat(100_000), [INFO] [stdout] 437 | | "b".repeat(100)); [INFO] [stdout] | |____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 439 | / bench_contains_vs_tw!(aaab_in_aab, [INFO] [stdout] 440 | | "aab".repeat(100_000), [INFO] [stdout] 441 | | "aaab".repeat(100)); [INFO] [stdout] | |_______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 443 | / bench_contains_vs_tw!(periodic2, [INFO] [stdout] 444 | | "bb".append(&"ab".repeat(99)).repeat(100), [INFO] [stdout] 445 | | "ab".repeat(100)); [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 447 | / bench_contains_vs_tw!(periodic5, [INFO] [stdout] 448 | | "bacba".repeat(39).append("bbbbb").repeat(40), [INFO] [stdout] 449 | | "bacba".repeat(40)); [INFO] [stdout] | |_______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 452 | / bench_contains_vs_tw!(pathological_two_way, [INFO] [stdout] 453 | | "dac".repeat(20_000), [INFO] [stdout] 454 | | "bac"); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 457 | / bench_contains_vs_tw!(pathological_two_way_rev, [INFO] [stdout] 458 | | "cad".repeat(20_000), [INFO] [stdout] 459 | | "cab"); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 461 | / bench_contains_vs_tw!(bbbaaa, [INFO] [stdout] 462 | | "aab".repeat(100_000), [INFO] [stdout] 463 | | "b".repeat(100) + &"a".repeat(100)); [INFO] [stdout] | |_______________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 465 | / bench_contains_vs_tw!(aaabbb, [INFO] [stdout] 466 | | "aab".repeat(100_000), [INFO] [stdout] 467 | | "a".repeat(100) + &"b".repeat(100)); [INFO] [stdout] | |_______________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 469 | / bench_contains_vs_tw!(allright, [INFO] [stdout] 470 | | "allrightagtogether".repeat(10_000), [INFO] [stdout] 471 | | "allrightaltogether"); [INFO] [stdout] | |__________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bmh` in `twoway` [INFO] [stdout] --> benches/pathology.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | test::black_box(::twoway::bmh::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^ could not find `bmh` in `twoway` [INFO] [stdout] ... [INFO] [stdout] 473 | / bench_contains_vs_tw!(gllright, [INFO] [stdout] 474 | | "gllrightaltogether".repeat(10_000), [INFO] [stdout] 475 | | "allrightaltogether"); [INFO] [stdout] | |__________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature="benchmarks")] [INFO] [stdout] | -------------------- the item is gated behind the `benchmarks` feature [INFO] [stdout] 33 | pub mod bmh; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `bench_contains_vs_tw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `pcmp` is private [INFO] [stdout] --> benches/pathology.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | test::black_box(::twoway::pcmp::find(haystack.as_bytes(), needle.as_bytes())); [INFO] [stdout] | ^^^^ ---- function `find` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `pcmp` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod pcmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `unused` [INFO] [stdout] --> benches/pathology.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unused)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unused)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> benches/pathology.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | extern { fn memmem(s1: *const u8, m: usize, s2: *const u8, pattern: usize) -> *const u8; } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [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)]` 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] [stdout] Some errors have detailed explanations: E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `twoway` (bench "pathology") due to 48 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "008e974de4b4a0725cd6d7e225661fd73b9e930a62f755869d1a53e62fc4935c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "008e974de4b4a0725cd6d7e225661fd73b9e930a62f755869d1a53e62fc4935c", kill_on_drop: false }` [INFO] [stdout] 008e974de4b4a0725cd6d7e225661fd73b9e930a62f755869d1a53e62fc4935c