[INFO] fetching crate pex 0.2.4... [INFO] checking pex-0.2.4 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate pex 0.2.4 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate pex 0.2.4 [INFO] finished tweaking crates.io crate pex 0.2.4 [INFO] tweaked toml for crates.io crate pex 0.2.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pex 0.2.4 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd41ca2e47c12498b11cd27d381e5bf398a48b7ea31796ab3965f532e340230e [INFO] running `Command { std: "docker" "start" "-a" "cd41ca2e47c12498b11cd27d381e5bf398a48b7ea31796ab3965f532e340230e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd41ca2e47c12498b11cd27d381e5bf398a48b7ea31796ab3965f532e340230e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd41ca2e47c12498b11cd27d381e5bf398a48b7ea31796ab3965f532e340230e", kill_on_drop: false }` [INFO] [stdout] cd41ca2e47c12498b11cd27d381e5bf398a48b7ea31796ab3965f532e340230e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89c9105f27f0daf184c50a08f3ca74771adf7c855d8f979e2198f7557507fa34 [INFO] running `Command { std: "docker" "start" "-a" "89c9105f27f0daf184c50a08f3ca74771adf7c855d8f979e2198f7557507fa34", kill_on_drop: false }` [INFO] [stderr] Checking pex v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `regex-automata` [INFO] [stdout] --> src/states/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "regex-automata")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, and `regex` [INFO] [stdout] = help: consider adding `regex-automata` as a feature in `Cargo.toml` [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: unexpected `cfg` condition value: `ucd-trie` [INFO] [stdout] --> src/states/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "ucd-trie")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, and `regex` [INFO] [stdout] = help: consider adding `ucd-trie` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `regex-automata` [INFO] [stdout] --> src/states/builtin.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(feature = "regex-automata")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, and `regex` [INFO] [stdout] = help: consider adding `regex-automata` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_mut_refs, const_for, const_try)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `regex-automata` [INFO] [stdout] --> src/states/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "regex-automata")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, and `regex` [INFO] [stdout] = help: consider adding `regex-automata` as a feature in `Cargo.toml` [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: unexpected `cfg` condition value: `ucd-trie` [INFO] [stdout] --> src/states/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "ucd-trie")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, and `regex` [INFO] [stdout] = help: consider adding `ucd-trie` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `regex-automata` [INFO] [stdout] --> src/states/builtin.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(feature = "regex-automata")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, and `regex` [INFO] [stdout] = help: consider adding `regex-automata` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_mut_refs, const_for, const_try)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/patterns/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | impl

Pattern<'static> for NamedPattern

[INFO] [stdout] | ^^^^^^^--------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for associated type `core::str::pattern::Pattern::Searcher` [INFO] [stdout] --> src/patterns/mod.rs:37:61 [INFO] [stdout] | [INFO] [stdout] 37 | fn into_searcher(self, haystack: &'static str) -> Self::Searcher { [INFO] [stdout] | ^^^^^^^^ expected 1 lifetime argument [INFO] [stdout] | [INFO] [stdout] help: add missing lifetime argument [INFO] [stdout] | [INFO] [stdout] 37 | fn into_searcher(self, haystack: &'static str) -> Self::Searcher<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/patterns/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | P: Pattern<'static>, [INFO] [stdout] | ^^^^^^^--------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on associated type `Searcher` do not match the trait declaration [INFO] [stdout] --> src/patterns/mod.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | type Searcher = P::Searcher; [INFO] [stdout] | ^ lifetimes do not match associated type in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for associated type `core::str::pattern::Pattern::Searcher` [INFO] [stdout] --> src/patterns/mod.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | type Searcher = P::Searcher; [INFO] [stdout] | ^^^^^^^^ expected 1 lifetime argument [INFO] [stdout] | [INFO] [stdout] help: add missing lifetime argument [INFO] [stdout] | [INFO] [stdout] 35 | type Searcher = P::Searcher<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/patterns/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn is_contained_in(self, haystack: &'static str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(NamedPattern<_>, &_) -> _` [INFO] [stdout] found signature `fn(NamedPattern<_>, &'static _) -> _` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/str/pattern.rs:110:40 [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/patterns/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn is_prefix_of(self, haystack: &'static str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(NamedPattern<_>, &_) -> _` [INFO] [stdout] found signature `fn(NamedPattern<_>, &'static _) -> _` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/str/pattern.rs:116:37 [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for associated type `core::str::pattern::Pattern::Searcher` [INFO] [stdout] --> src/patterns/mod.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | Self::Searcher: ReverseSearcher<'static>, [INFO] [stdout] | ^^^^^^^^ expected 1 lifetime argument [INFO] [stdout] | [INFO] [stdout] help: add missing lifetime argument [INFO] [stdout] | [INFO] [stdout] 51 | Self::Searcher<'a>: ReverseSearcher<'static>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `is_suffix_of` do not match the trait declaration [INFO] [stdout] --> src/patterns/mod.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | fn is_suffix_of(self, haystack: &'static str) -> bool [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/patterns/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | fn strip_prefix_of(self, haystack: &'static str) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(NamedPattern<_>, &_) -> Option<&_>` [INFO] [stdout] found signature `fn(NamedPattern<_>, &'static _) -> Option<&'static _>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/str/pattern.rs:131:40 [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for associated type `core::str::pattern::Pattern::Searcher` [INFO] [stdout] --> src/patterns/mod.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | Self::Searcher: ReverseSearcher<'static>, [INFO] [stdout] | ^^^^^^^^ expected 1 lifetime argument [INFO] [stdout] | [INFO] [stdout] help: add missing lifetime argument [INFO] [stdout] | [INFO] [stdout] 62 | Self::Searcher<'a>: ReverseSearcher<'static>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `strip_suffix_of` do not match the trait declaration [INFO] [stdout] --> src/patterns/mod.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | fn strip_suffix_of(self, haystack: &'static str) -> Option<&'static str> [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/patterns/mod.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | P: Pattern<'p> + Clone, [INFO] [stdout] | ^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/states/builtin.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | P: Pattern<'p>, [INFO] [stdout] | ^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/patterns/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | impl

Pattern<'static> for NamedPattern

[INFO] [stdout] | ^^^^^^^--------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for associated type `core::str::pattern::Pattern::Searcher` [INFO] [stdout] --> src/patterns/mod.rs:37:61 [INFO] [stdout] | [INFO] [stdout] 37 | fn into_searcher(self, haystack: &'static str) -> Self::Searcher { [INFO] [stdout] | ^^^^^^^^ expected 1 lifetime argument [INFO] [stdout] | [INFO] [stdout] help: add missing lifetime argument [INFO] [stdout] | [INFO] [stdout] 37 | fn into_searcher(self, haystack: &'static str) -> Self::Searcher<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/patterns/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | P: Pattern<'static>, [INFO] [stdout] | ^^^^^^^--------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on associated type `Searcher` do not match the trait declaration [INFO] [stdout] --> src/patterns/mod.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | type Searcher = P::Searcher; [INFO] [stdout] | ^ lifetimes do not match associated type in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for associated type `core::str::pattern::Pattern::Searcher` [INFO] [stdout] --> src/patterns/mod.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | type Searcher = P::Searcher; [INFO] [stdout] | ^^^^^^^^ expected 1 lifetime argument [INFO] [stdout] | [INFO] [stdout] help: add missing lifetime argument [INFO] [stdout] | [INFO] [stdout] 35 | type Searcher = P::Searcher<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/patterns/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn is_contained_in(self, haystack: &'static str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(NamedPattern<_>, &_) -> _` [INFO] [stdout] found signature `fn(NamedPattern<_>, &'static _) -> _` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/str/pattern.rs:110:40 [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/patterns/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn is_prefix_of(self, haystack: &'static str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(NamedPattern<_>, &_) -> _` [INFO] [stdout] found signature `fn(NamedPattern<_>, &'static _) -> _` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/str/pattern.rs:116:37 [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for associated type `core::str::pattern::Pattern::Searcher` [INFO] [stdout] --> src/patterns/mod.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | Self::Searcher: ReverseSearcher<'static>, [INFO] [stdout] | ^^^^^^^^ expected 1 lifetime argument [INFO] [stdout] | [INFO] [stdout] help: add missing lifetime argument [INFO] [stdout] | [INFO] [stdout] 51 | Self::Searcher<'a>: ReverseSearcher<'static>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `is_suffix_of` do not match the trait declaration [INFO] [stdout] --> src/patterns/mod.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | fn is_suffix_of(self, haystack: &'static str) -> bool [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/patterns/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | fn strip_prefix_of(self, haystack: &'static str) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(NamedPattern<_>, &_) -> Option<&_>` [INFO] [stdout] found signature `fn(NamedPattern<_>, &'static _) -> Option<&'static _>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/str/pattern.rs:131:40 [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for associated type `core::str::pattern::Pattern::Searcher` [INFO] [stdout] --> src/patterns/mod.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | Self::Searcher: ReverseSearcher<'static>, [INFO] [stdout] | ^^^^^^^^ expected 1 lifetime argument [INFO] [stdout] | [INFO] [stdout] help: add missing lifetime argument [INFO] [stdout] | [INFO] [stdout] 62 | Self::Searcher<'a>: ReverseSearcher<'static>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `strip_suffix_of` do not match the trait declaration [INFO] [stdout] --> src/patterns/mod.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | fn strip_suffix_of(self, haystack: &'static str) -> Option<&'static str> [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/patterns/mod.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | P: Pattern<'p> + Clone, [INFO] [stdout] | ^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/states/builtin.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | P: Pattern<'p>, [INFO] [stdout] | ^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0195, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pex` (lib) due to 14 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0107, E0195, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pex` (lib test) due to 14 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "89c9105f27f0daf184c50a08f3ca74771adf7c855d8f979e2198f7557507fa34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c9105f27f0daf184c50a08f3ca74771adf7c855d8f979e2198f7557507fa34", kill_on_drop: false }` [INFO] [stdout] 89c9105f27f0daf184c50a08f3ca74771adf7c855d8f979e2198f7557507fa34