[INFO] fetching crate predawn-macro 0.9.0... [INFO] testing predawn-macro-0.9.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate predawn-macro 0.9.0 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate predawn-macro 0.9.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded from-attr-macro v0.1.3 [INFO] [stderr] Downloaded from-attr v0.1.3 [INFO] [stderr] Downloaded from-attr-core v0.1.3 [INFO] [stderr] Downloaded quote-use v0.8.4 [INFO] [stderr] Downloaded quote-use-macros v0.8.4 [INFO] [stderr] Downloaded proc-macro-utils v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 839a380058b37b002c4456d124eec32ec8613369f47d54ccec1b1803403a6678 [INFO] running `Command { std: "docker" "start" "-a" "839a380058b37b002c4456d124eec32ec8613369f47d54ccec1b1803403a6678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "839a380058b37b002c4456d124eec32ec8613369f47d54ccec1b1803403a6678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "839a380058b37b002c4456d124eec32ec8613369f47d54ccec1b1803403a6678", kill_on_drop: false }` [INFO] [stdout] 839a380058b37b002c4456d124eec32ec8613369f47d54ccec1b1803403a6678 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84058f0ed673386fee8458835f1ec1e9b890dbe4af6af71851672218b2e087ef [INFO] running `Command { std: "docker" "start" "-a" "84058f0ed673386fee8458835f1ec1e9b890dbe4af6af71851672218b2e087ef", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bytes v1.10.1 [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 13.07s [INFO] running `Command { std: "docker" "inspect" "84058f0ed673386fee8458835f1ec1e9b890dbe4af6af71851672218b2e087ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84058f0ed673386fee8458835f1ec1e9b890dbe4af6af71851672218b2e087ef", kill_on_drop: false }` [INFO] [stdout] 84058f0ed673386fee8458835f1ec1e9b890dbe4af6af71851672218b2e087ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c212a9cf0345578894a6de33f8644de637702d661510011f1cfd725c9ebdf0e [INFO] running `Command { std: "docker" "start" "-a" "6c212a9cf0345578894a6de33f8644de637702d661510011f1cfd725c9ebdf0e", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling predawn-macro v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.82s [INFO] running `Command { std: "docker" "inspect" "6c212a9cf0345578894a6de33f8644de637702d661510011f1cfd725c9ebdf0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c212a9cf0345578894a6de33f8644de637702d661510011f1cfd725c9ebdf0e", kill_on_drop: false }` [INFO] [stdout] 6c212a9cf0345578894a6de33f8644de637702d661510011f1cfd725c9ebdf0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d7a179ea6908db772d6a6a4c6668b6aa36c48761b1bdc6418e11c03e0146ac4b [INFO] running `Command { std: "docker" "start" "-a" "d7a179ea6908db772d6a6a4c6668b6aa36c48761b1bdc6418e11c03e0146ac4b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/predawn_macro-2082bf6afb042696) [INFO] [stderr] Doc-tests predawn_macro [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] [stdout] [INFO] [stdout] running 7 tests [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 - security_scheme (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - tag (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - multi_response (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - single_response (line 78) ... FAILED [INFO] [stdout] test src/lib.rs - multi_request_media_type (line 58) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 - 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 - 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_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] ---- 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 - 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] [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.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d7a179ea6908db772d6a6a4c6668b6aa36c48761b1bdc6418e11c03e0146ac4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7a179ea6908db772d6a6a4c6668b6aa36c48761b1bdc6418e11c03e0146ac4b", kill_on_drop: false }` [INFO] [stdout] d7a179ea6908db772d6a6a4c6668b6aa36c48761b1bdc6418e11c03e0146ac4b