[INFO] cloning repository https://github.com/Inferno214221/compile-time-regex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Inferno214221/compile-time-regex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInferno214221%2Fcompile-time-regex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInferno214221%2Fcompile-time-regex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d8929fb896d9f1d1041df5bb943bac5a7b2e267 [INFO] checking Inferno214221/compile-time-regex against d0ab665d12770dbaae620b539ee4319b83445f45 for pr-133502-25 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInferno214221%2Fcompile-time-regex" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Inferno214221/compile-time-regex [INFO] finished tweaking git repo https://github.com/Inferno214221/compile-time-regex [INFO] tweaked toml for git repo https://github.com/Inferno214221/compile-time-regex written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Inferno214221/compile-time-regex on toolchain d0ab665d12770dbaae620b539ee4319b83445f45 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Inferno214221/compile-time-regex already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a7d841ab10330a64e25d7c3afb4808fc8111cbcfd5ca02ba1b0eed103b2c0a8d [INFO] running `Command { std: "docker" "start" "a7d841ab10330a64e25d7c3afb4808fc8111cbcfd5ca02ba1b0eed103b2c0a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7d841ab10330a64e25d7c3afb4808fc8111cbcfd5ca02ba1b0eed103b2c0a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a7d841ab10330a64e25d7c3afb4808fc8111cbcfd5ca02ba1b0eed103b2c0a8d" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7d841ab10330a64e25d7c3afb4808fc8111cbcfd5ca02ba1b0eed103b2c0a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a7d841ab10330a64e25d7c3afb4808fc8111cbcfd5ca02ba1b0eed103b2c0a8d" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling cc v1.2.61 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking syn v2.0.117 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Checking criterion-plot v0.8.2 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Compiling standard-lib v0.1.0 (https://github.com/Inferno214221/standard-lib.git#7c53587a) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking ct-regex-internal v0.1.0 (/opt/rustwide/workdir/internal) [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] --> internal/src/expr/regex.rs:352:30 [INFO] [stdout] | [INFO] [stdout] 352 | let Some(caps) = Self::find_capture(hay_mut.as_haystack()) else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] help: the following types implement trait `haystack::interface::HaystackSlice<'a>` [INFO] [stdout] --> internal/src/haystack/bytes.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> HaystackSlice<'a> for &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a [u8]` [INFO] [stdout] | [INFO] [stdout] ::: internal/src/haystack/string.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> HaystackSlice<'a> for &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a str` [INFO] [stdout] = note: associated types cannot be accessed directly on a `trait`, they can only be accessed through a specific `impl` [INFO] [stdout] note: required by a bound in `expr::regex::Regex::Capture` [INFO] [stdout] --> internal/src/expr/regex.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | type Capture<'a, S: HaystackSlice<'a>>: CaptureFromRanges<'a, S, N> where I: 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Regex::Capture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/ct_regex_internal-a82092e53d9fc200.long-type-17232544423246904102.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: use the fully qualified path to an implementation [INFO] [stdout] | [INFO] [stdout] 352 - let Some(caps) = Self::find_capture(hay_mut.as_haystack()) else { [INFO] [stdout] 352 + let Some(caps) = ::Capture else { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] --> internal/src/expr/regex.rs:380:23 [INFO] [stdout] | [INFO] [stdout] 380 | .map(|c| (c.whole_match_range().clone(), replacer(c))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] help: the following types implement trait `haystack::interface::HaystackSlice<'a>` [INFO] [stdout] --> internal/src/haystack/bytes.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> HaystackSlice<'a> for &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a [u8]` [INFO] [stdout] | [INFO] [stdout] ::: internal/src/haystack/string.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> HaystackSlice<'a> for &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a str` [INFO] [stdout] = note: associated types cannot be accessed directly on a `trait`, they can only be accessed through a specific `impl` [INFO] [stdout] note: required by a bound in `expr::regex::Regex::Capture` [INFO] [stdout] --> internal/src/expr/regex.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | type Capture<'a, S: HaystackSlice<'a>>: CaptureFromRanges<'a, S, N> where I: 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Regex::Capture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/ct_regex_internal-a82092e53d9fc200.long-type-17209303141037179739.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: use the fully qualified path to an implementation [INFO] [stdout] | [INFO] [stdout] 380 - .map(|c| (c.whole_match_range().clone(), replacer(c))) [INFO] [stdout] 380 + .map(|::Capture| (c.whole_match_range().clone(), replacer(c))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ct-regex-internal` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] --> internal/src/expr/regex.rs:352:30 [INFO] [stdout] | [INFO] [stdout] 352 | let Some(caps) = Self::find_capture(hay_mut.as_haystack()) else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] help: the following types implement trait `haystack::interface::HaystackSlice<'a>` [INFO] [stdout] --> internal/src/haystack/bytes.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> HaystackSlice<'a> for &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a [u8]` [INFO] [stdout] | [INFO] [stdout] ::: internal/src/haystack/string.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> HaystackSlice<'a> for &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a str` [INFO] [stdout] = note: associated types cannot be accessed directly on a `trait`, they can only be accessed through a specific `impl` [INFO] [stdout] note: required by a bound in `expr::regex::Regex::Capture` [INFO] [stdout] --> internal/src/expr/regex.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | type Capture<'a, S: HaystackSlice<'a>>: CaptureFromRanges<'a, S, N> where I: 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Regex::Capture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/ct_regex_internal-2c5384665a7b3204.long-type-15803504919523941327.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: use the fully qualified path to an implementation [INFO] [stdout] | [INFO] [stdout] 352 - let Some(caps) = Self::find_capture(hay_mut.as_haystack()) else { [INFO] [stdout] 352 + let Some(caps) = ::Capture else { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] --> internal/src/expr/regex.rs:380:23 [INFO] [stdout] | [INFO] [stdout] 380 | .map(|c| (c.whole_match_range().clone(), replacer(c))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] help: the following types implement trait `haystack::interface::HaystackSlice<'a>` [INFO] [stdout] --> internal/src/haystack/bytes.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> HaystackSlice<'a> for &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a [u8]` [INFO] [stdout] | [INFO] [stdout] ::: internal/src/haystack/string.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> HaystackSlice<'a> for &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a str` [INFO] [stdout] = note: associated types cannot be accessed directly on a `trait`, they can only be accessed through a specific `impl` [INFO] [stdout] note: required by a bound in `expr::regex::Regex::Capture` [INFO] [stdout] --> internal/src/expr/regex.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | type Capture<'a, S: HaystackSlice<'a>>: CaptureFromRanges<'a, S, N> where I: 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Regex::Capture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/ct_regex_internal-2c5384665a7b3204.long-type-16754186862104257738.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: use the fully qualified path to an implementation [INFO] [stdout] | [INFO] [stdout] 380 - .map(|c| (c.whole_match_range().clone(), replacer(c))) [INFO] [stdout] 380 + .map(|::Capture| (c.whole_match_range().clone(), replacer(c))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] --> internal/src/expr/regex.rs:352:30 [INFO] [stdout] | [INFO] [stdout] 352 | let Some(caps) = Self::find_capture(hay_mut.as_haystack()) else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] help: the following types implement trait `haystack::interface::HaystackSlice<'a>` [INFO] [stdout] --> internal/src/haystack/bytes.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> HaystackSlice<'a> for &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a [u8]` [INFO] [stdout] | [INFO] [stdout] ::: internal/src/haystack/string.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> HaystackSlice<'a> for &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a str` [INFO] [stdout] = note: associated types cannot be accessed directly on a `trait`, they can only be accessed through a specific `impl` [INFO] [stdout] note: required by a bound in `expr::regex::Regex::Capture` [INFO] [stdout] --> internal/src/expr/regex.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | type Capture<'a, S: HaystackSlice<'a>>: CaptureFromRanges<'a, S, N> where I: 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Regex::Capture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/ct_regex_internal-cea32b0cb469bce9.long-type-601767971833704513.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: use the fully qualified path to an implementation [INFO] [stdout] | [INFO] [stdout] 352 - let Some(caps) = Self::find_capture(hay_mut.as_haystack()) else { [INFO] [stdout] 352 + let Some(caps) = ::Capture else { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] --> internal/src/expr/regex.rs:380:23 [INFO] [stdout] | [INFO] [stdout] 380 | .map(|c| (c.whole_match_range().clone(), replacer(c))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] help: the following types implement trait `haystack::interface::HaystackSlice<'a>` [INFO] [stdout] --> internal/src/haystack/bytes.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> HaystackSlice<'a> for &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a [u8]` [INFO] [stdout] | [INFO] [stdout] ::: internal/src/haystack/string.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> HaystackSlice<'a> for &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a str` [INFO] [stdout] = note: associated types cannot be accessed directly on a `trait`, they can only be accessed through a specific `impl` [INFO] [stdout] note: required by a bound in `expr::regex::Regex::Capture` [INFO] [stdout] --> internal/src/expr/regex.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | type Capture<'a, S: HaystackSlice<'a>>: CaptureFromRanges<'a, S, N> where I: 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Regex::Capture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/ct_regex_internal-cea32b0cb469bce9.long-type-17093475667673490508.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: use the fully qualified path to an implementation [INFO] [stdout] | [INFO] [stdout] 380 - .map(|c| (c.whole_match_range().clone(), replacer(c))) [INFO] [stdout] 380 + .map(|::Capture| (c.whole_match_range().clone(), replacer(c))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ct-regex-internal` (lib) due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ct-regex-internal` (lib) due to 2 previous errors [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] --> internal/src/expr/regex.rs:352:30 [INFO] [stdout] | [INFO] [stdout] 352 | let Some(caps) = Self::find_capture(hay_mut.as_haystack()) else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] help: the following types implement trait `haystack::interface::HaystackSlice<'a>` [INFO] [stdout] --> internal/src/haystack/bytes.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> HaystackSlice<'a> for &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a [u8]` [INFO] [stdout] | [INFO] [stdout] ::: internal/src/haystack/string.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> HaystackSlice<'a> for &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a str` [INFO] [stdout] = note: associated types cannot be accessed directly on a `trait`, they can only be accessed through a specific `impl` [INFO] [stdout] note: required by a bound in `expr::regex::Regex::Capture` [INFO] [stdout] --> internal/src/expr/regex.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | type Capture<'a, S: HaystackSlice<'a>>: CaptureFromRanges<'a, S, N> where I: 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Regex::Capture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/ct_regex_internal-941066edcf3c05d4.long-type-3733797299007952144.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: use the fully qualified path to an implementation [INFO] [stdout] | [INFO] [stdout] 352 - let Some(caps) = Self::find_capture(hay_mut.as_haystack()) else { [INFO] [stdout] 352 + let Some(caps) = ::Capture else { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] --> internal/src/expr/regex.rs:380:23 [INFO] [stdout] | [INFO] [stdout] 380 | .map(|c| (c.whole_match_range().clone(), replacer(c))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `<_ as HaystackIter<'_>>::Slice: HaystackSlice<'_>` [INFO] [stdout] help: the following types implement trait `haystack::interface::HaystackSlice<'a>` [INFO] [stdout] --> internal/src/haystack/bytes.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> HaystackSlice<'a> for &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a [u8]` [INFO] [stdout] | [INFO] [stdout] ::: internal/src/haystack/string.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> HaystackSlice<'a> for &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a str` [INFO] [stdout] = note: associated types cannot be accessed directly on a `trait`, they can only be accessed through a specific `impl` [INFO] [stdout] note: required by a bound in `expr::regex::Regex::Capture` [INFO] [stdout] --> internal/src/expr/regex.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | type Capture<'a, S: HaystackSlice<'a>>: CaptureFromRanges<'a, S, N> where I: 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Regex::Capture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/ct_regex_internal-941066edcf3c05d4.long-type-5296727259573756975.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: use the fully qualified path to an implementation [INFO] [stdout] | [INFO] [stdout] 380 - .map(|c| (c.whole_match_range().clone(), replacer(c))) [INFO] [stdout] 380 + .map(|::Capture| (c.whole_match_range().clone(), replacer(c))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ct-regex-internal` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "a7d841ab10330a64e25d7c3afb4808fc8111cbcfd5ca02ba1b0eed103b2c0a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7d841ab10330a64e25d7c3afb4808fc8111cbcfd5ca02ba1b0eed103b2c0a8d", kill_on_drop: false }` [INFO] [stdout] a7d841ab10330a64e25d7c3afb4808fc8111cbcfd5ca02ba1b0eed103b2c0a8d