[INFO] fetching crate referencing 0.30.0... [INFO] checking referencing-0.30.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate referencing 0.30.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate referencing 0.30.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate referencing 0.30.0 [INFO] tweaked toml for crates.io crate referencing 0.30.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate referencing 0.30.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate referencing 0.30.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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded codspeed-criterion-compat v2.10.1 [INFO] [stderr] Downloaded codspeed-criterion-compat-walltime v2.10.1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a382202a535675418a9cac0cc6274fc2d80591fc3f021fd9194d87ed2c0f911a [INFO] running `Command { std: "docker" "start" "-a" "a382202a535675418a9cac0cc6274fc2d80591fc3f021fd9194d87ed2c0f911a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a382202a535675418a9cac0cc6274fc2d80591fc3f021fd9194d87ed2c0f911a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a382202a535675418a9cac0cc6274fc2d80591fc3f021fd9194d87ed2c0f911a", kill_on_drop: false }` [INFO] [stdout] a382202a535675418a9cac0cc6274fc2d80591fc3f021fd9194d87ed2c0f911a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc4e096627433235d4a0cb8cebe63f4e7bdfdd8673860689a5fac0df86ef29be [INFO] running `Command { std: "docker" "start" "-a" "cc4e096627433235d4a0cb8cebe63f4e7bdfdd8673860689a5fac0df86ef29be", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking clap_builder v4.5.36 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling codspeed-criterion-compat v2.10.1 [INFO] [stderr] Checking borrow-or-share v0.2.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking clap v4.5.36 [INFO] [stderr] Checking regex v1.11.1 [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 test-case v3.3.1 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking fluent-uri v0.3.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking codspeed v2.10.1 [INFO] [stderr] Checking referencing v0.30.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking codspeed-criterion-compat-walltime v2.10.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/anchors/keys.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | fn borrowed_key(&self) -> AnchorKeyRef; [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn borrowed_key(&self) -> AnchorKeyRef<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/anchors/keys.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | fn borrowed_key(&self) -> AnchorKeyRef { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 55 | fn borrowed_key(&self) -> AnchorKeyRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/registry.rs:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn try_resolver(&self, base_uri: &str) -> Result { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 487 | pub fn try_resolver(&self, base_uri: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/registry.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn resolver(&self, base_uri: Uri) -> Resolver { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 493 | pub fn resolver(&self, base_uri: Uri) -> Resolver<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/registry.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 501 | ) -> Resolver { [INFO] [stdout] | -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 501 | ) -> Resolver<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/resource.rs:217:38 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn unescape_segment(mut segment: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 217 | pub fn unescape_segment(mut segment: &str) -> Cow<'_, str> { [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: 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[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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [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/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] 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] [stderr] error: could not compile `referencing` (bench "subresources") due to 11 previous errors [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/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] 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] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/anchors/keys.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | fn borrowed_key(&self) -> AnchorKeyRef; [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn borrowed_key(&self) -> AnchorKeyRef<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/anchors/keys.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | fn borrowed_key(&self) -> AnchorKeyRef { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 55 | fn borrowed_key(&self) -> AnchorKeyRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/registry.rs:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn try_resolver(&self, base_uri: &str) -> Result { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 487 | pub fn try_resolver(&self, base_uri: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/registry.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn resolver(&self, base_uri: Uri) -> Resolver { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 493 | pub fn resolver(&self, base_uri: Uri) -> Resolver<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/registry.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 501 | ) -> Resolver { [INFO] [stdout] | -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 501 | ) -> Resolver<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/resource.rs:217:38 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn unescape_segment(mut segment: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 217 | pub fn unescape_segment(mut segment: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cc4e096627433235d4a0cb8cebe63f4e7bdfdd8673860689a5fac0df86ef29be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc4e096627433235d4a0cb8cebe63f4e7bdfdd8673860689a5fac0df86ef29be", kill_on_drop: false }` [INFO] [stdout] cc4e096627433235d4a0cb8cebe63f4e7bdfdd8673860689a5fac0df86ef29be