[INFO] fetching crate referencing 0.32.1... [INFO] checking referencing-0.32.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate referencing 0.32.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate referencing 0.32.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate referencing 0.32.1 [INFO] tweaked toml for crates.io crate referencing 0.32.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate referencing 0.32.1 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] crate crates.io crate referencing 0.32.1 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bacbdfc129192b2908b9ed58646fec96c4992461b49768885e3f0f81a212706 [INFO] running `Command { std: "docker" "start" "-a" "9bacbdfc129192b2908b9ed58646fec96c4992461b49768885e3f0f81a212706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bacbdfc129192b2908b9ed58646fec96c4992461b49768885e3f0f81a212706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bacbdfc129192b2908b9ed58646fec96c4992461b49768885e3f0f81a212706", kill_on_drop: false }` [INFO] [stdout] 9bacbdfc129192b2908b9ed58646fec96c4992461b49768885e3f0f81a212706 [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad02be47bd100dba85e925afc62608ee6c5c0d6b31e5448610a231ae16d8e2f0 [INFO] running `Command { std: "docker" "start" "-a" "ad02be47bd100dba85e925afc62608ee6c5c0d6b31e5448610a231ae16d8e2f0", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking clap_builder v4.5.42 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling codspeed-criterion-compat v3.0.5 [INFO] [stderr] Checking criterion-plot v0.6.0 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking statrs v0.18.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap v4.5.42 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking ref-cast v1.0.24 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking fluent-uri v0.3.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking codspeed v3.0.5 [INFO] [stderr] Checking referencing v0.32.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/anchors/keys.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | impl Eq for (dyn BorrowDyn + '_) {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - impl Eq for (dyn BorrowDyn + '_) {} [INFO] [stdout] 72 + impl Eq for dyn BorrowDyn + '_ {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/anchors/keys.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | impl PartialEq for (dyn BorrowDyn + '_) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - impl PartialEq for (dyn BorrowDyn + '_) { [INFO] [stdout] 74 + impl PartialEq for dyn BorrowDyn + '_ { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/anchors/keys.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | impl Hash for (dyn BorrowDyn + '_) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - impl Hash for (dyn BorrowDyn + '_) { [INFO] [stdout] 80 + impl Hash for dyn BorrowDyn + '_ { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.7.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/anchors/keys.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | fn borrowed_key(&self) -> AnchorKeyRef; [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] 51 | fn borrowed_key(&self) -> AnchorKeyRef<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/anchors/keys.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | fn borrowed_key(&self) -> AnchorKeyRef { [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] 55 | fn borrowed_key(&self) -> AnchorKeyRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/registry.rs:477:25 [INFO] [stdout] | [INFO] [stdout] 477 | pub fn try_resolver(&self, base_uri: &str) -> Result { [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] 477 | pub fn try_resolver(&self, base_uri: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/registry.rs:483:21 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn resolver(&self, base_uri: Uri) -> Resolver { [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] 483 | pub fn resolver(&self, base_uri: Uri) -> Resolver<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/registry.rs:488:9 [INFO] [stdout] | [INFO] [stdout] 488 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 491 | ) -> Resolver { [INFO] [stdout] | -------- the same lifetime is hidden 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] 491 | ) -> Resolver<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:228:38 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn unescape_segment(mut segment: &str) -> Cow { [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] 228 | pub fn unescape_segment(mut segment: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking codspeed-criterion-compat-walltime v3.0.5 [INFO] [stdout] error: couldn't read `benches/../../benchmark/data/subresources/draft4.json`: No such file or directory (os error 2) [INFO] [stdout] --> benches/registry.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | static DRAFT4: &[u8] = include_bytes!("../../benchmark/data/subresources/draft4.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `benches/../../benchmark/data/subresources/draft6.json`: No such file or directory (os error 2) [INFO] [stdout] --> benches/registry.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | static DRAFT6: &[u8] = include_bytes!("../../benchmark/data/subresources/draft6.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `benches/../../benchmark/data/subresources/draft7.json`: No such file or directory (os error 2) [INFO] [stdout] --> benches/registry.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | static DRAFT7: &[u8] = include_bytes!("../../benchmark/data/subresources/draft7.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `benches/../../benchmark/data/subresources/draft201909.json`: No such file or directory (os error 2) [INFO] [stdout] --> benches/registry.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | static DRAFT201909: &[u8] = include_bytes!("../../benchmark/data/subresources/draft201909.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `benches/../../benchmark/data/subresources/draft202012.json`: No such file or directory (os error 2) [INFO] [stdout] --> benches/registry.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | static DRAFT202012: &[u8] = include_bytes!("../../benchmark/data/subresources/draft202012.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `benches/../../benchmark/data/subresources/draft4.json`: No such file or directory (os error 2) [INFO] [stdout] --> benches/subresources.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | static DRAFT4: &[u8] = include_bytes!("../../benchmark/data/subresources/draft4.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `benches/../../benchmark/data/subresources/draft6.json`: No such file or directory (os error 2) [INFO] [stdout] --> benches/subresources.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | static DRAFT6: &[u8] = include_bytes!("../../benchmark/data/subresources/draft6.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `benches/../../benchmark/data/subresources/draft7.json`: No such file or directory (os error 2) [INFO] [stdout] --> benches/subresources.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | static DRAFT7: &[u8] = include_bytes!("../../benchmark/data/subresources/draft7.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `benches/../../benchmark/data/subresources/draft201909.json`: No such file or directory (os error 2) [INFO] [stdout] --> benches/subresources.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | static DRAFT201909: &[u8] = include_bytes!("../../benchmark/data/subresources/draft201909.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `benches/../../benchmark/data/subresources/draft202012.json`: No such file or directory (os error 2) [INFO] [stdout] --> benches/subresources.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | static DRAFT202012: &[u8] = include_bytes!("../../benchmark/data/subresources/draft202012.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] --> benches/registry.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let schema = benchmark::read_json(data); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] | help: a struct with a similar name exists: `BenchmarkId` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `benchmark`, use `cargo add benchmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> benches/registry.rs:26:80 [INFO] [stdout] | [INFO] [stdout] 26 | group.bench_with_input(BenchmarkId::new("try_new", name), &schema, |b, schema| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | b.iter_batched( [INFO] [stdout] 28 | || draft.create_resource(schema.clone()), [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `I` is specified [INFO] [stdout] | [INFO] [stdout] 26 | group.bench_with_input(BenchmarkId::new("try_new", name), &schema, |b, schema: &I| { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] --> benches/registry.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | (Draft::Draft4, benchmark::GEOJSON, "GeoJSON"), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] | help: a struct with a similar name exists: `BenchmarkId` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `benchmark`, use `cargo add benchmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] --> benches/registry.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | (Draft::Draft4, benchmark::SWAGGER, "Swagger"), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] | help: a struct with a similar name exists: `BenchmarkId` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `benchmark`, use `cargo add benchmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] --> benches/registry.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | (Draft::Draft4, benchmark::OPEN_API, "Open API"), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] | help: a struct with a similar name exists: `BenchmarkId` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `benchmark`, use `cargo add benchmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] --> benches/registry.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | (Draft::Draft4, benchmark::CITM_SCHEMA, "CITM"), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] | help: a struct with a similar name exists: `BenchmarkId` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `benchmark`, use `cargo add benchmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] --> benches/registry.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | (Draft::Draft7, benchmark::FAST_SCHEMA, "Fast"), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] | help: a struct with a similar name exists: `BenchmarkId` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `benchmark`, use `cargo add benchmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] --> benches/subresources.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | (Draft::Draft4, benchmark::GEOJSON, "GeoJSON"), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] | help: a struct with a similar name exists: `BenchmarkId` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `benchmark`, use `cargo add benchmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] --> benches/registry.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | let schema = benchmark::read_json(data); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] | help: a struct with a similar name exists: `BenchmarkId` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `benchmark`, use `cargo add benchmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> benches/registry.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | |b, schema| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | draft.create_resource(schema.clone()), [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `I` is specified [INFO] [stdout] | [INFO] [stdout] 51 | |b, schema: &I| { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] --> benches/subresources.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | (Draft::Draft4, benchmark::SWAGGER, "Swagger"), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] | help: a struct with a similar name exists: `BenchmarkId` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `benchmark`, use `cargo add benchmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] --> benches/subresources.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | (Draft::Draft4, benchmark::OPEN_API, "Open API"), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] | help: a struct with a similar name exists: `BenchmarkId` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `benchmark`, use `cargo add benchmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] --> benches/subresources.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | (Draft::Draft4, benchmark::CITM_SCHEMA, "CITM"), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] | help: a struct with a similar name exists: `BenchmarkId` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `benchmark`, use `cargo add benchmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] --> benches/subresources.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | (Draft::Draft7, benchmark::FAST_SCHEMA, "Fast"), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] | help: a struct with a similar name exists: `BenchmarkId` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `benchmark`, use `cargo add benchmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] --> benches/subresources.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let schema = benchmark::read_json(data); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `benchmark` [INFO] [stdout] | help: a struct with a similar name exists: `BenchmarkId` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `benchmark`, use `cargo add benchmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `referencing` (bench "registry") due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `referencing_testsuite` [INFO] [stdout] --> tests/suite.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use referencing_testsuite::{suite, Test}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `referencing_testsuite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `referencing_testsuite`, use `cargo add referencing_testsuite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `referencing` (bench "subresources") due to 11 previous errors [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/anchors/keys.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | impl Eq for (dyn BorrowDyn + '_) {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - impl Eq for (dyn BorrowDyn + '_) {} [INFO] [stdout] 72 + impl Eq for dyn BorrowDyn + '_ {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/anchors/keys.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | impl PartialEq for (dyn BorrowDyn + '_) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - impl PartialEq for (dyn BorrowDyn + '_) { [INFO] [stdout] 74 + impl PartialEq for dyn BorrowDyn + '_ { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/anchors/keys.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | impl Hash for (dyn BorrowDyn + '_) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - impl Hash for (dyn BorrowDyn + '_) { [INFO] [stdout] 80 + impl Hash for dyn BorrowDyn + '_ { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `referencing` (test "suite") due to 1 previous error [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/anchors/keys.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | fn borrowed_key(&self) -> AnchorKeyRef; [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] 51 | fn borrowed_key(&self) -> AnchorKeyRef<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/anchors/keys.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | fn borrowed_key(&self) -> AnchorKeyRef { [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] 55 | fn borrowed_key(&self) -> AnchorKeyRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/registry.rs:477:25 [INFO] [stdout] | [INFO] [stdout] 477 | pub fn try_resolver(&self, base_uri: &str) -> Result { [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] 477 | pub fn try_resolver(&self, base_uri: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/registry.rs:483:21 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn resolver(&self, base_uri: Uri) -> Resolver { [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] 483 | pub fn resolver(&self, base_uri: Uri) -> Resolver<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/registry.rs:488:9 [INFO] [stdout] | [INFO] [stdout] 488 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 491 | ) -> Resolver { [INFO] [stdout] | -------- the same lifetime is hidden 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] 491 | ) -> Resolver<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/resource.rs:228:38 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn unescape_segment(mut segment: &str) -> Cow { [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] 228 | pub fn unescape_segment(mut segment: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ad02be47bd100dba85e925afc62608ee6c5c0d6b31e5448610a231ae16d8e2f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad02be47bd100dba85e925afc62608ee6c5c0d6b31e5448610a231ae16d8e2f0", kill_on_drop: false }` [INFO] [stdout] ad02be47bd100dba85e925afc62608ee6c5c0d6b31e5448610a231ae16d8e2f0