[INFO] fetching crate utoipa-gen 0.1.2... [INFO] testing utoipa-gen-0.1.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate utoipa-gen 0.1.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate utoipa-gen 0.1.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate utoipa-gen 0.1.2 [INFO] finished tweaking crates.io crate utoipa-gen 0.1.2 [INFO] tweaked toml for crates.io crate utoipa-gen 0.1.2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c201d0dd1c63482daff05bab2eb07d7783171dbb093dedcd26dd16a1f697574d [INFO] running `Command { std: "docker" "start" "-a" "c201d0dd1c63482daff05bab2eb07d7783171dbb093dedcd26dd16a1f697574d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c201d0dd1c63482daff05bab2eb07d7783171dbb093dedcd26dd16a1f697574d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c201d0dd1c63482daff05bab2eb07d7783171dbb093dedcd26dd16a1f697574d", kill_on_drop: false }` [INFO] [stdout] c201d0dd1c63482daff05bab2eb07d7783171dbb093dedcd26dd16a1f697574d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 798b93705116521557ed2830a7d8e4f677861d5f3837526819212c4acc102bf6 [INFO] running `Command { std: "docker" "start" "-a" "798b93705116521557ed2830a7d8e4f677861d5f3837526819212c4acc102bf6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling utoipa-gen v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `from_ident` [INFO] [stdout] --> src/path.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn from_ident(ident: &Ident) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.23s [INFO] running `Command { std: "docker" "inspect" "798b93705116521557ed2830a7d8e4f677861d5f3837526819212c4acc102bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "798b93705116521557ed2830a7d8e4f677861d5f3837526819212c4acc102bf6", kill_on_drop: false }` [INFO] [stdout] 798b93705116521557ed2830a7d8e4f677861d5f3837526819212c4acc102bf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fda6bbe4f4d8a9b8e502a09f788e8c130fb0cfb21cab2509bd4d6b62e9759397 [INFO] running `Command { std: "docker" "start" "-a" "fda6bbe4f4d8a9b8e502a09f788e8c130fb0cfb21cab2509bd4d6b62e9759397", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Compiling utoipa-gen v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `from_ident` [INFO] [stdout] --> src/path.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn from_ident(ident: &Ident) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stdout] warning: associated function is never used: `from_ident` [INFO] [stdout] --> src/path.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn from_ident(ident: &Ident) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 21.17s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/utoipa_gen-4924bf670e128180) [INFO] running `Command { std: "docker" "inspect" "fda6bbe4f4d8a9b8e502a09f788e8c130fb0cfb21cab2509bd4d6b62e9759397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fda6bbe4f4d8a9b8e502a09f788e8c130fb0cfb21cab2509bd4d6b62e9759397", kill_on_drop: false }` [INFO] [stdout] fda6bbe4f4d8a9b8e502a09f788e8c130fb0cfb21cab2509bd4d6b62e9759397 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b314dab9a53c5f1d17c69ddecd9c39a7d25a79c51dcca528f3907c5cf1f96bda [INFO] running `Command { std: "docker" "start" "-a" "b314dab9a53c5f1d17c69ddecd9c39a7d25a79c51dcca528f3907c5cf1f96bda", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: associated function is never used: `from_ident` [INFO] [stderr] --> src/path.rs:224:12 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn from_ident(ident: &Ident) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `utoipa-gen` (lib) generated 1 warning [INFO] [stderr] warning: `utoipa-gen` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/utoipa_gen-4924bf670e128180) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test openapi::info::tests::parse_author_only_name ... ok [INFO] [stderr] Doc-tests utoipa-gen [INFO] [stdout] test openapi::info::tests::parse_author_with_email_success ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/lib.rs - path (line 430) ... FAILED [INFO] [stdout] test src/lib.rs - path (line 517) ... FAILED [INFO] [stdout] test src/lib.rs - path (line 481) ... FAILED [INFO] [stdout] test src/lib.rs - path (line 392) ... FAILED [INFO] [stdout] test src/lib.rs - path (line 498) ... FAILED [INFO] [stdout] test src/lib.rs - derive_component (line 175) ... FAILED [INFO] [stdout] test src/lib.rs - derive_component (line 218) ... FAILED [INFO] [stdout] test src/lib.rs - derive_component (line 133) ... FAILED [INFO] [stdout] test src/lib.rs - derive_component (line 207) ... FAILED [INFO] [stdout] test src/lib.rs - derive_component (line 109) ... FAILED [INFO] [stdout] test src/lib.rs - derive_component (line 192) ... FAILED [INFO] [stdout] test src/lib.rs - openapi (line 620) ... FAILED [INFO] [stdout] test src/lib.rs - path (line 460) ... FAILED [INFO] [stdout] test src/lib.rs - derive_component (line 150) ... FAILED [INFO] [stdout] test src/lib.rs - derive_component (line 121) ... FAILED [INFO] [stdout] test src/lib.rs - derive_component (line 160) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - path (line 430) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utoipa` [INFO] [stdout] --> src/lib.rs:436:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[utoipa::path( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - path (line 517) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utoipa` [INFO] [stdout] --> src/lib.rs:520:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[utoipa::path( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - path (line 481) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utoipa` [INFO] [stdout] --> src/lib.rs:486:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[utoipa::path( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - path (line 392) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utoipa` [INFO] [stdout] --> src/lib.rs:398:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[utoipa::path( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - path (line 498) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utoipa` [INFO] [stdout] --> src/lib.rs:501:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[utoipa::path( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `::register::get_pet_by_id` [INFO] [stdout] --> src/lib.rs:511:10 [INFO] [stdout] | [INFO] [stdout] 15 | async fn get_pet_by_id(id: web::Path) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_component (line 175) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `utoipa` [INFO] [stdout] --> src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 3 | use utoipa::Component; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> src/lib.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:178:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[component(xml(name = "user", prefix = "u", namespace = "https://user.xml.schema.test"))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:180:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[component(xml(attribute, prefix = "u"))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:182:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[component(xml(name = "user_name", prefix = "u"))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:184:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[component(xml(wrapped(name = "linkList"), name = "link"))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:186:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[component(xml(wrapped, name = "photo_url"))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_component (line 218) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `utoipa` [INFO] [stdout] --> src/lib.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 3 | use utoipa::Component; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> src/lib.rs:220:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:221:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[component(value_type = String)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_component (line 133) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `utoipa` [INFO] [stdout] --> src/lib.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 3 | use utoipa::Component; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> src/lib.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:137:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[component(example = u64::default, default = u64::default)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[component(default = default_name)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_component (line 207) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `utoipa` [INFO] [stdout] --> src/lib.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 3 | use utoipa::Component; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> src/lib.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:212:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[component(value_type = String, format = ComponentFormat::Binary)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_component (line 109) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `utoipa` [INFO] [stdout] --> src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 3 | use utoipa::Component; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> src/lib.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[component(example = json!({"name": "bob the cat", "id": 0}))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_component (line 192) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `utoipa` [INFO] [stdout] --> src/lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 3 | use utoipa::Component; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> src/lib.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - openapi (line 620) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `utoipa` [INFO] [stdout] --> src/lib.rs:621:5 [INFO] [stdout] | [INFO] [stdout] 3 | use utoipa::{OpenApi, Component}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utoipa` [INFO] [stdout] --> src/lib.rs:642:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[utoipa::path(get, path = "/status")] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utoipa` [INFO] [stdout] --> src/lib.rs:634:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[utoipa::path(get, path = "/pet")] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `OpenApi` [INFO] [stdout] --> src/lib.rs:647:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(OpenApi)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> src/lib.rs:648:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[openapi( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> src/lib.rs:629:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> src/lib.rs:623:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - path (line 460) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utoipa` [INFO] [stdout] --> src/lib.rs:465:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[utoipa::path( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_component (line 150) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `utoipa` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 3 | use utoipa::Component; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> src/lib.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:153:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[component(example = "Bus")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_component (line 121) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `utoipa` [INFO] [stdout] --> src/lib.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 3 | use utoipa::Component; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> src/lib.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:125:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[component(example = 1, default = 0)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_component (line 160) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `utoipa` [INFO] [stdout] --> src/lib.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 3 | use utoipa::Component; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `utoipa` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> src/lib.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:165:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[component(default = String::default, example = "Pet not found")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[component(example = "Unknown system failure")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - derive_component (line 109) [INFO] [stdout] src/lib.rs - derive_component (line 121) [INFO] [stdout] src/lib.rs - derive_component (line 133) [INFO] [stdout] src/lib.rs - derive_component (line 150) [INFO] [stdout] src/lib.rs - derive_component (line 160) [INFO] [stdout] src/lib.rs - derive_component (line 175) [INFO] [stdout] src/lib.rs - derive_component (line 192) [INFO] [stdout] src/lib.rs - derive_component (line 207) [INFO] [stdout] src/lib.rs - derive_component (line 218) [INFO] [stdout] src/lib.rs - openapi (line 620) [INFO] [stdout] src/lib.rs - path (line 392) [INFO] [stdout] src/lib.rs - path (line 430) [INFO] [stdout] src/lib.rs - path (line 460) [INFO] [stdout] src/lib.rs - path (line 481) [INFO] [stdout] src/lib.rs - path (line 498) [INFO] [stdout] src/lib.rs - path (line 517) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b314dab9a53c5f1d17c69ddecd9c39a7d25a79c51dcca528f3907c5cf1f96bda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b314dab9a53c5f1d17c69ddecd9c39a7d25a79c51dcca528f3907c5cf1f96bda", kill_on_drop: false }` [INFO] [stdout] b314dab9a53c5f1d17c69ddecd9c39a7d25a79c51dcca528f3907c5cf1f96bda