[INFO] fetching crate subslice 0.2.3... [INFO] checking subslice-0.2.3 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate subslice 0.2.3 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate subslice 0.2.3 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate subslice 0.2.3 [INFO] finished tweaking crates.io crate subslice 0.2.3 [INFO] tweaked toml for crates.io crate subslice 0.2.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macro-attr v0.2.0 [INFO] [stderr] Downloaded semver v0.1.20 [INFO] [stderr] Downloaded defmac v0.1.3 [INFO] [stderr] Downloaded galil-seiferas v0.1.5 [INFO] [stderr] Downloaded itertools v0.7.11 [INFO] [stderr] Downloaded rustc_version v0.1.7 [INFO] [stderr] Downloaded newtype_derive v0.1.6 [INFO] [stderr] Downloaded odds v0.2.26 [INFO] [stderr] Downloaded unchecked-index v0.2.2 [INFO] [stderr] Downloaded jetscii v0.3.1 [INFO] [stderr] Downloaded quickcheck v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58c4bd427a9059e01d6c37bf8850120b71fcf8c9887abaea99c2213c9ee0b39b [INFO] running `Command { std: "docker" "start" "-a" "58c4bd427a9059e01d6c37bf8850120b71fcf8c9887abaea99c2213c9ee0b39b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58c4bd427a9059e01d6c37bf8850120b71fcf8c9887abaea99c2213c9ee0b39b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58c4bd427a9059e01d6c37bf8850120b71fcf8c9887abaea99c2213c9ee0b39b", kill_on_drop: false }` [INFO] [stdout] 58c4bd427a9059e01d6c37bf8850120b71fcf8c9887abaea99c2213c9ee0b39b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c048e95262bb41d649dc63f9d2071d314f411ac9893cade0303dcc400a7ed6c [INFO] running `Command { std: "docker" "start" "-a" "5c048e95262bb41d649dc63f9d2071d314f411ac9893cade0303dcc400a7ed6c", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking macro-attr v0.2.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Checking subslice v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.3.23 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:735:18 [INFO] [stdout] | [INFO] [stdout] 735 | 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:735:25 [INFO] [stdout] | [INFO] [stdout] 735 | 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:736:17 [INFO] [stdout] | [INFO] [stdout] 736 | 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:736:24 [INFO] [stdout] | [INFO] [stdout] 736 | 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:131:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct StrSearcher<'a, 'b> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 131 | haystack: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 132 | needle: &'b str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 133 | [INFO] [stdout] 134 | 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:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | Empty(EmptyNeedle), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 139 | Empty(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | TwoWay(TwoWaySearcher), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 140 | 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:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | struct EmptyNeedle { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 145 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 146 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 147 | is_match_fw: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 148 | is_match_bw: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmptyNeedle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking quickcheck v0.5.0 [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/tw.rs:305:39 [INFO] [stdout] | [INFO] [stdout] 305 | assert_eq!(2, compute_max_suf_pos((b"aab"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 305 - assert_eq!(2, compute_max_suf_pos((b"aab"))); [INFO] [stdout] 305 + assert_eq!(2, compute_max_suf_pos(b"aab")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/tw.rs:307:39 [INFO] [stdout] | [INFO] [stdout] 307 | assert_eq!(2, compute_max_suf_pos((b"aabaa"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 307 - assert_eq!(2, compute_max_suf_pos((b"aabaa"))); [INFO] [stdout] 307 + assert_eq!(2, compute_max_suf_pos(b"aabaa")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/tw.rs:309:39 [INFO] [stdout] | [INFO] [stdout] 309 | assert_eq!(0, compute_max_suf_pos((b"gcagagag"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 309 - assert_eq!(0, compute_max_suf_pos((b"gcagagag"))); [INFO] [stdout] 309 + assert_eq!(0, compute_max_suf_pos(b"gcagagag")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/tw.rs:310:39 [INFO] [stdout] | [INFO] [stdout] 310 | assert_eq!(2, compute_max_suf_pos((b"banana"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 310 - assert_eq!(2, compute_max_suf_pos((b"banana"))); [INFO] [stdout] 310 + assert_eq!(2, compute_max_suf_pos(b"banana")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/tw.rs:315:42 [INFO] [stdout] | [INFO] [stdout] 315 | assert_eq!((2, 1), maxsuf_and_period((b"aab"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 315 - assert_eq!((2, 1), maxsuf_and_period((b"aab"))); [INFO] [stdout] 315 + assert_eq!((2, 1), maxsuf_and_period(b"aab")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/tw.rs:316:42 [INFO] [stdout] | [INFO] [stdout] 316 | assert_eq!((2, 3), maxsuf_and_period((b"aabaa"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 316 - assert_eq!((2, 3), maxsuf_and_period((b"aabaa"))); [INFO] [stdout] 316 + assert_eq!((2, 3), maxsuf_and_period(b"aabaa")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/tw.rs:317:42 [INFO] [stdout] | [INFO] [stdout] 317 | assert_eq!((0, 7), maxsuf_and_period((b"gcagagag"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 317 - assert_eq!((0, 7), maxsuf_and_period((b"gcagagag"))); [INFO] [stdout] 317 + assert_eq!((0, 7), maxsuf_and_period(b"gcagagag")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:735:18 [INFO] [stdout] | [INFO] [stdout] 735 | 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:735:25 [INFO] [stdout] | [INFO] [stdout] 735 | 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:736:17 [INFO] [stdout] | [INFO] [stdout] 736 | 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:736:24 [INFO] [stdout] | [INFO] [stdout] 736 | 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[E0463]: can't find crate for `unchecked_index` [INFO] [stdout] --> benches/pathology.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate unchecked_index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `haystack`, `needle`, and `searcher` are never read [INFO] [stdout] --> src/lib.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct StrSearcher<'a, 'b> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 131 | haystack: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 132 | needle: &'b str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 133 | [INFO] [stdout] 134 | 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:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | Empty(EmptyNeedle), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 139 | Empty(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | TwoWay(TwoWaySearcher), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 140 | 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:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | struct EmptyNeedle { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 145 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 146 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 147 | is_match_fw: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 148 | 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] error[E0432]: unresolved import `subslice::find_str` [INFO] [stdout] --> benches/pathology.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use subslice::find_str as tw_find; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `find_str` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `subslice::rfind_str` [INFO] [stdout] --> benches/pathology.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use subslice::rfind_str as tw_rfind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `rfind_str` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `is_prefix_of` exists for struct `Str<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> benches/pathology.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | Str(pattern).is_prefix_of(text) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `Str<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Str<'a>(pub &'a str); [INFO] [stdout] | ------------------ doesn't satisfy ` as FnOnce<(char,)>>::Output = bool`, `Str<'_>: FnMut<(char,)>` or `Str<'_>: Pattern<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as FnOnce<(char,)>>::Output = bool` [INFO] [stdout] which is required by `Str<'_>: Pattern<'_>` [INFO] [stdout] `Str<'_>: FnMut<(char,)>` [INFO] [stdout] which is required by `Str<'_>: Pattern<'_>` [INFO] [stdout] `<&Str<'_> as FnOnce<(char,)>>::Output = bool` [INFO] [stdout] which is required by `&Str<'_>: Pattern<'_>` [INFO] [stdout] `&Str<'_>: FnMut<(char,)>` [INFO] [stdout] which is required by `&Str<'_>: Pattern<'_>` [INFO] [stdout] `<&mut Str<'_> as FnOnce<(char,)>>::Output = bool` [INFO] [stdout] which is required by `&mut Str<'_>: Pattern<'_>` [INFO] [stdout] `&mut Str<'_>: FnMut<(char,)>` [INFO] [stdout] which is required by `&mut Str<'_>: Pattern<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `subslice` (bench "pathology") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "5c048e95262bb41d649dc63f9d2071d314f411ac9893cade0303dcc400a7ed6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c048e95262bb41d649dc63f9d2071d314f411ac9893cade0303dcc400a7ed6c", kill_on_drop: false }` [INFO] [stdout] 5c048e95262bb41d649dc63f9d2071d314f411ac9893cade0303dcc400a7ed6c