[INFO] fetching crate predawn-macro 0.9.0... [INFO] testing predawn-macro-0.9.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate predawn-macro 0.9.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate predawn-macro 0.9.0 [INFO] finished tweaking crates.io crate predawn-macro 0.9.0 [INFO] tweaked toml for crates.io crate predawn-macro 0.9.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate predawn-macro 0.9.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c56adf34710230655a5d94490f31d63e2671dbf39176ae7d9d38bcb3fe165bc7 [INFO] running `Command { std: "docker" "start" "-a" "c56adf34710230655a5d94490f31d63e2671dbf39176ae7d9d38bcb3fe165bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c56adf34710230655a5d94490f31d63e2671dbf39176ae7d9d38bcb3fe165bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c56adf34710230655a5d94490f31d63e2671dbf39176ae7d9d38bcb3fe165bc7", kill_on_drop: false }` [INFO] [stdout] c56adf34710230655a5d94490f31d63e2671dbf39176ae7d9d38bcb3fe165bc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1658c20ccb4065df213525e50077b7e5cd8ffa279a1133ee3f81806116edeec7 [INFO] running `Command { std: "docker" "start" "-a" "1658c20ccb4065df213525e50077b7e5cd8ffa279a1133ee3f81806116edeec7", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling from-attr-core v0.1.3 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling from-attr-macro v0.1.3 [INFO] [stderr] Compiling from-attr v0.1.3 [INFO] [stderr] Compiling predawn-macro v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.12s [INFO] running `Command { std: "docker" "inspect" "1658c20ccb4065df213525e50077b7e5cd8ffa279a1133ee3f81806116edeec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1658c20ccb4065df213525e50077b7e5cd8ffa279a1133ee3f81806116edeec7", kill_on_drop: false }` [INFO] [stdout] 1658c20ccb4065df213525e50077b7e5cd8ffa279a1133ee3f81806116edeec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfeeaeb21afb9a0ceeca9367db292255e44964f574768b8f4f3fe98daa8e7ae7 [INFO] running `Command { std: "docker" "start" "-a" "bfeeaeb21afb9a0ceeca9367db292255e44964f574768b8f4f3fe98daa8e7ae7", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling predawn-macro v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.07s [INFO] running `Command { std: "docker" "inspect" "bfeeaeb21afb9a0ceeca9367db292255e44964f574768b8f4f3fe98daa8e7ae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfeeaeb21afb9a0ceeca9367db292255e44964f574768b8f4f3fe98daa8e7ae7", kill_on_drop: false }` [INFO] [stdout] bfeeaeb21afb9a0ceeca9367db292255e44964f574768b8f4f3fe98daa8e7ae7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e033b16c03a412d08a5ece166db9d5d039c9ca3e7872a7490dd3dbe10693edca [INFO] running `Command { std: "docker" "start" "-a" "e033b16c03a412d08a5ece166db9d5d039c9ca3e7872a7490dd3dbe10693edca", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/predawn_macro-0c507a7318f82762) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests predawn_macro [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - tag (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - multi_request_media_type (line 58) ... FAILED [INFO] [stdout] test src/lib.rs - single_response (line 78) ... FAILED [INFO] [stdout] test src/lib.rs - security_scheme (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - multipart (line 98) ... FAILED [INFO] [stdout] test src/lib.rs - multi_response_media_type (line 68) ... FAILED [INFO] [stdout] test src/lib.rs - multi_response (line 88) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - tag (line 108) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `predawn` [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 3 | use predawn::Tag; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `predawn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predawn`, use `cargo add predawn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `tag` in this scope [INFO] [stdout] --> src/lib.rs:113:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[tag(rename = "This a tag")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `tag` is an attribute that can be used by the derive macro `Tag`, you might be missing a `derive` attribute [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 - multi_request_media_type (line 58) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predawn` [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 3 | use predawn::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `predawn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predawn`, use `cargo add predawn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `predawn` [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 3 | use predawn::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `predawn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predawn`, use `cargo add predawn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `multi_request_media_type` in this scope [INFO] [stdout] --> src/lib.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[multi_request_media_type(error = ReadJsonOrFormError)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `multi_request_media_type` is an attribute that can be used by the derive macro `MultiRequestMediaType`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - single_response (line 78) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predawn` [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 3 | use predawn::{payload::Json, SingleResponse, ToSchema}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `predawn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predawn`, use `cargo add predawn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `predawn` [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 3 | use predawn::{payload::Json, SingleResponse, ToSchema}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `predawn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predawn`, use `cargo add predawn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/lib.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[header = "AAA"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `header` is an attribute that can be used by the derive macro `SingleResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/lib.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[header = "bbb"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `header` is an attribute that can be used by the derive macro `SingleResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/lib.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[header = "ccc"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `header` is an attribute that can be used by the derive macro `SingleResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> src/lib.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[header = "X-Auth-Token"] pub String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `header` is an attribute that can be used by the derive macro `SingleResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `single_response` in this scope [INFO] [stdout] --> src/lib.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[single_response(status = 404)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `single_response` is an attribute that can be used by the derive macro `SingleResponse`, you might be missing a `derive` attribute [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 - security_scheme (line 118) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `predawn` [INFO] [stdout] --> src/lib.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 3 | use predawn::SecurityScheme; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `predawn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predawn`, use `cargo add predawn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `http` in this scope [INFO] [stdout] --> src/lib.rs:127:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[http(scheme = basic, rename = "Basic Auth")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `http` is an attribute that can be used by the derive macro `SecurityScheme`, you might be missing a `derive` attribute [INFO] [stdout] = note: `http` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `api_key` in this scope [INFO] [stdout] --> src/lib.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[api_key(in = header, name = "X-API-Key")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `api_key` is an attribute that can be used by the derive macro `SecurityScheme`, you might be missing a `derive` attribute [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 - multipart (line 98) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predawn` [INFO] [stdout] --> src/lib.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 3 | use predawn::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `predawn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predawn`, use `cargo add predawn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `predawn` [INFO] [stdout] --> src/lib.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 3 | use predawn::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `predawn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predawn`, use `cargo add predawn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(ToSchema, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - multi_response_media_type (line 68) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predawn` [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 3 | use predawn::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `predawn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predawn`, use `cargo add predawn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `predawn` [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 3 | use predawn::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `predawn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predawn`, use `cargo add predawn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `multi_response_media_type` in this scope [INFO] [stdout] --> src/lib.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[multi_response_media_type(error = WriteJsonOrFormError, status = 200)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `multi_response_media_type` is an attribute that can be used by the derive macro `MultiResponseMediaType`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - multi_response (line 88) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predawn` [INFO] [stdout] --> src/lib.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 3 | use predawn::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `predawn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predawn`, use `cargo add predawn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `predawn` [INFO] [stdout] --> src/lib.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 3 | use predawn::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `predawn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predawn`, use `cargo add predawn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `multi_response` in this scope [INFO] [stdout] --> src/lib.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[multi_response(error = MultipleResponseError)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `multi_response` is an attribute that can be used by the derive macro `MultiResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `status` in this scope [INFO] [stdout] --> src/lib.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[status = 200] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `status` is an attribute that can be used by the derive macro `MultiResponse`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 20 + #[derive(MultiResponse)] [INFO] [stdout] 21 | pub enum MultipleResponse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `status` in this scope [INFO] [stdout] --> src/lib.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[status = 404] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `status` is an attribute that can be used by the derive macro `MultiResponse`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 20 + #[derive(MultiResponse)] [INFO] [stdout] 21 | pub enum MultipleResponse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `status` in this scope [INFO] [stdout] --> src/lib.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[status = 500] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `status` is an attribute that can be used by the derive macro `MultiResponse`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 20 + #[derive(MultiResponse)] [INFO] [stdout] 21 | pub enum MultipleResponse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Serialize, ToSchema)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - multi_request_media_type (line 58) [INFO] [stdout] src/lib.rs - multi_response (line 88) [INFO] [stdout] src/lib.rs - multi_response_media_type (line 68) [INFO] [stdout] src/lib.rs - multipart (line 98) [INFO] [stdout] src/lib.rs - security_scheme (line 118) [INFO] [stdout] src/lib.rs - single_response (line 78) [INFO] [stdout] src/lib.rs - tag (line 108) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e033b16c03a412d08a5ece166db9d5d039c9ca3e7872a7490dd3dbe10693edca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e033b16c03a412d08a5ece166db9d5d039c9ca3e7872a7490dd3dbe10693edca", kill_on_drop: false }` [INFO] [stdout] e033b16c03a412d08a5ece166db9d5d039c9ca3e7872a7490dd3dbe10693edca