[INFO] fetching crate zenoh-keyexpr 1.5.0... [INFO] testing zenoh-keyexpr-1.5.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate zenoh-keyexpr 1.5.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate zenoh-keyexpr 1.5.0 [INFO] finished tweaking crates.io crate zenoh-keyexpr 1.5.0 [INFO] tweaked toml for crates.io crate zenoh-keyexpr 1.5.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zenoh-keyexpr 1.5.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zenoh-keyexpr 1.5.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded keyed-set v1.0.0 [INFO] [stderr] Downloaded zenoh-result v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25b34a472f9749cb0674d7fb5354713b9a36e430308f82b8bcb173ba976ab697 [INFO] running `Command { std: "docker" "start" "-a" "25b34a472f9749cb0674d7fb5354713b9a36e430308f82b8bcb173ba976ab697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25b34a472f9749cb0674d7fb5354713b9a36e430308f82b8bcb173ba976ab697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25b34a472f9749cb0674d7fb5354713b9a36e430308f82b8bcb173ba976ab697", kill_on_drop: false }` [INFO] [stdout] 25b34a472f9749cb0674d7fb5354713b9a36e430308f82b8bcb173ba976ab697 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fb889b55d50b823e6d5f7ab1a4e67656d633bc026e8056ecb72986cf60c4fab [INFO] running `Command { std: "docker" "start" "-a" "4fb889b55d50b823e6d5f7ab1a4e67656d633bc026e8056ecb72986cf60c4fab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling token-cell v1.5.0 [INFO] [stderr] Compiling zenoh-result v1.5.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling keyed-set v1.0.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling zenoh-keyexpr v1.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `NoBigWilds` is never constructed [INFO] [stdout] --> src/key_expr/intersect/mod.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct NoBigWilds(pub T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key_expr/borrowed.rs:441:37 [INFO] [stdout] | [INFO] [stdout] 441 | pub(crate) const fn chunks_impl(&self) -> Chunks { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 441 | pub(crate) const fn chunks_impl(&self) -> Chunks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key_expr/borrowed.rs:457:35 [INFO] [stdout] | [INFO] [stdout] 457 | pub(crate) fn iter_splits_ltr(&self) -> SplitsLeftToRight { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 457 | pub(crate) fn iter_splits_ltr(&self) -> SplitsLeftToRight<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key_expr/borrowed.rs:463:35 [INFO] [stdout] | [INFO] [stdout] 463 | pub(crate) fn iter_splits_rtl(&self) -> SplitsRightToLeft { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 463 | pub(crate) fn iter_splits_rtl(&self) -> SplitsRightToLeft<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.18s [INFO] running `Command { std: "docker" "inspect" "4fb889b55d50b823e6d5f7ab1a4e67656d633bc026e8056ecb72986cf60c4fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fb889b55d50b823e6d5f7ab1a4e67656d633bc026e8056ecb72986cf60c4fab", kill_on_drop: false }` [INFO] [stdout] 4fb889b55d50b823e6d5f7ab1a4e67656d633bc026e8056ecb72986cf60c4fab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ff56f91be32ac26bc466cb4be6bf05b43519c7b7d76730d0666ae008b0ecb9f [INFO] running `Command { std: "docker" "start" "-a" "4ff56f91be32ac26bc466cb4be6bf05b43519c7b7d76730d0666ae008b0ecb9f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling clap_builder v4.5.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.17 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling keyed-set v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling zenoh-keyexpr v1.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `NoBigWilds` is never constructed [INFO] [stdout] --> src/key_expr/intersect/mod.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct NoBigWilds(pub T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key_expr/borrowed.rs:441:37 [INFO] [stdout] | [INFO] [stdout] 441 | pub(crate) const fn chunks_impl(&self) -> Chunks { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 441 | pub(crate) const fn chunks_impl(&self) -> Chunks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key_expr/borrowed.rs:457:35 [INFO] [stdout] | [INFO] [stdout] 457 | pub(crate) fn iter_splits_ltr(&self) -> SplitsLeftToRight { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 457 | pub(crate) fn iter_splits_ltr(&self) -> SplitsLeftToRight<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key_expr/borrowed.rs:463:35 [INFO] [stdout] | [INFO] [stdout] 463 | pub(crate) fn iter_splits_rtl(&self) -> SplitsRightToLeft { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 463 | pub(crate) fn iter_splits_rtl(&self) -> SplitsRightToLeft<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `SetIntersectionLevel` [INFO] [stdout] --> src/key_expr/borrowed.rs:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | use SetIntersectionLevel::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SetIntersectionLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&borrowed::keyexpr: Pattern` is not satisfied [INFO] [stdout] --> src/key_expr/borrowed.rs:995:36 [INFO] [stdout] | [INFO] [stdout] 995 | assert_eq!(ke.strip_prefix(prefix), expected) [INFO] [stdout] | ------------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Fn(char)` is not implemented for `borrowed::keyexpr` [INFO] [stdout] --> src/key_expr/borrowed.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct keyexpr(str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Pattern`: [INFO] [stdout] &'b [char; N] [INFO] [stdout] &'b [char] [INFO] [stdout] &'b std::string::String [INFO] [stdout] &'b str [INFO] [stdout] &'c &'b str [INFO] [stdout] [char; N] [INFO] [stdout] char [INFO] [stdout] = note: required for `&borrowed::keyexpr` to implement `FnOnce(char)` [INFO] [stdout] = note: required for `&borrowed::keyexpr` to implement `Pattern` [INFO] [stdout] note: required by a bound in `core::str::::strip_prefix` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/str/mod.rs:2415:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/key_expr/borrowed.rs:995:45 [INFO] [stdout] | [INFO] [stdout] 995 | assert_eq!(ke.strip_prefix(prefix), expected) [INFO] [stdout] | ^^^^^^^^ expected `Option<&str>`, found `Vec<&keyexpr>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&str>` [INFO] [stdout] found struct `std::vec::Vec<&borrowed::keyexpr>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `strip_nonwild_prefix` found for reference `&borrowed::keyexpr` in the current scope [INFO] [stdout] --> src/key_expr/borrowed.rs:1059:23 [INFO] [stdout] | [INFO] [stdout] 1059 | assert_eq!(ke.strip_nonwild_prefix(prefix), expected) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `strip_prefix` with a similar name [INFO] [stdout] | [INFO] [stdout] 1059 - assert_eq!(ke.strip_nonwild_prefix(prefix), expected) [INFO] [stdout] 1059 + assert_eq!(ke.strip_prefix(prefix), expected) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zenoh-keyexpr` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "4ff56f91be32ac26bc466cb4be6bf05b43519c7b7d76730d0666ae008b0ecb9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ff56f91be32ac26bc466cb4be6bf05b43519c7b7d76730d0666ae008b0ecb9f", kill_on_drop: false }` [INFO] [stdout] 4ff56f91be32ac26bc466cb4be6bf05b43519c7b7d76730d0666ae008b0ecb9f