[INFO] fetching crate fastapi-gen 0.1.1... [INFO] checking fastapi-gen-0.1.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate fastapi-gen 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate fastapi-gen 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate fastapi-gen 0.1.1 [INFO] tweaked toml for crates.io crate fastapi-gen 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fastapi-gen 0.1.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 289 packages to latest compatible versions [INFO] [stderr] Adding axum v0.7.9 (available: v0.8.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded devise v0.4.2 [INFO] [stderr] Downloaded state v0.6.0 [INFO] [stderr] Downloaded ubyte v0.10.4 [INFO] [stderr] Downloaded pear_codegen v0.2.9 [INFO] [stderr] Downloaded devise_codegen v0.4.2 [INFO] [stderr] Downloaded fastapi-config v0.1.1 [INFO] [stderr] Downloaded devise_core v0.4.2 [INFO] [stderr] Downloaded rocket_http v0.5.1 [INFO] [stderr] Downloaded figment v0.10.19 [INFO] [stderr] Downloaded rocket_codegen v0.5.1 [INFO] [stderr] Downloaded atomic v0.6.1 [INFO] [stderr] Downloaded generator v0.7.5 [INFO] [stderr] Downloaded pear v0.2.9 [INFO] [stderr] Downloaded rocket v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7842defd4148b08857ff43559db0bd5b1d2bc7114f5a31a27bd27c0e846113a4 [INFO] running `Command { std: "docker" "start" "-a" "7842defd4148b08857ff43559db0bd5b1d2bc7114f5a31a27bd27c0e846113a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7842defd4148b08857ff43559db0bd5b1d2bc7114f5a31a27bd27c0e846113a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7842defd4148b08857ff43559db0bd5b1d2bc7114f5a31a27bd27c0e846113a4", kill_on_drop: false }` [INFO] [stdout] 7842defd4148b08857ff43559db0bd5b1d2bc7114f5a31a27bd27c0e846113a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e322ffdf3fa2afdd905e1c90cc7ca477e27914449a18b6b7cf267ec9c80d101d [INFO] running `Command { std: "docker" "start" "-a" "e322ffdf3fa2afdd905e1c90cc7ca477e27914449a18b6b7cf267ec9c80d101d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking fastapi-gen v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stdout] warning: struct `IsInteger` is never constructed [INFO] [stdout] --> src/component/features/validators.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct IsInteger<'a>(&'a SchemaType<'a>); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/component/features/attributes.rs:491:25 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn as_type_tree(&self) -> Result { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 491 | pub fn as_type_tree(&self) -> Result, Diagnostics> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ext.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | _: &'_ Punctuated, [INFO] [stdout] | ^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 291 | ) -> Result { [INFO] [stdout] | --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 291 | ) -> Result, Diagnostics> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/openapi.rs:73:35 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse_openapi_attrs(attrs: &[Attribute]) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse_openapi_attrs(attrs: &[Attribute]) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/media_type.rs:185:26 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn get_type_tree(&self) -> Result>>, Diagnostics> { [INFO] [stdout] | ^^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 185 | pub fn get_type_tree(&self) -> Result>>, Diagnostics> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/media_type.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | fn to_type_tree(&self) -> Result { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 373 | fn to_type_tree(&self) -> Result, Diagnostics> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/response.rs:664:33 [INFO] [stdout] | [INFO] [stdout] 664 | fn parse_lit_int(input: ParseStream) -> syn::Result> { [INFO] [stdout] | ^^^^^^^^^^^ -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 664 | fn parse_lit_int(input: ParseStream<'_>) -> syn::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/response.rs:668:46 [INFO] [stdout] | [INFO] [stdout] 668 | fn parse_lit_str_status_range(input: ParseStream) -> syn::Result> { [INFO] [stdout] | ^^^^^^^^^^^ -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 668 | fn parse_lit_str_status_range(input: ParseStream<'_>) -> syn::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/response/derive.rs:680:42 [INFO] [stdout] | [INFO] [stdout] 680 | fn parse_variant_attributes(variant: &Variant) -> Result { [INFO] [stdout] | ^^^^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 680 | fn parse_variant_attributes(variant: &Variant) -> Result, Diagnostics> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stdout] warning: struct `IsInteger` is never constructed [INFO] [stdout] --> src/component/features/validators.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct IsInteger<'a>(&'a SchemaType<'a>); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/component/features/attributes.rs:491:25 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn as_type_tree(&self) -> Result { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 491 | pub fn as_type_tree(&self) -> Result, Diagnostics> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ext.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | _: &'_ Punctuated, [INFO] [stdout] | ^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 291 | ) -> Result { [INFO] [stdout] | --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 291 | ) -> Result, Diagnostics> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/openapi.rs:73:35 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse_openapi_attrs(attrs: &[Attribute]) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse_openapi_attrs(attrs: &[Attribute]) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/media_type.rs:185:26 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn get_type_tree(&self) -> Result>>, Diagnostics> { [INFO] [stdout] | ^^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 185 | pub fn get_type_tree(&self) -> Result>>, Diagnostics> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/media_type.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | fn to_type_tree(&self) -> Result { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 373 | fn to_type_tree(&self) -> Result, Diagnostics> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/response.rs:664:33 [INFO] [stdout] | [INFO] [stdout] 664 | fn parse_lit_int(input: ParseStream) -> syn::Result> { [INFO] [stdout] | ^^^^^^^^^^^ -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 664 | fn parse_lit_int(input: ParseStream<'_>) -> syn::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/response.rs:668:46 [INFO] [stdout] | [INFO] [stdout] 668 | fn parse_lit_str_status_range(input: ParseStream) -> syn::Result> { [INFO] [stdout] | ^^^^^^^^^^^ -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 668 | fn parse_lit_str_status_range(input: ParseStream<'_>) -> syn::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/response/derive.rs:680:42 [INFO] [stdout] | [INFO] [stdout] 680 | fn parse_variant_attributes(variant: &Variant) -> Result { [INFO] [stdout] | ^^^^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 680 | fn parse_variant_attributes(variant: &Variant) -> Result, Diagnostics> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking serde_with v3.14.0 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking actix-http v3.11.1 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fastapi::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/openapi_derive_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fastapi::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/openapi_derive_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fastapi::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/openapi_derive_test.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fastapi::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | use fastapi::ToSchema; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | use fastapi::ToSchema; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | use fastapi::ToSchema; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:700:9 [INFO] [stdout] | [INFO] [stdout] 700 | use fastapi::ToSchema; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:447:7 [INFO] [stdout] | [INFO] [stdout] 447 | #[fastapi::path(get, path = "/api/v1/status")] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:452:11 [INFO] [stdout] | [INFO] [stdout] 452 | #[fastapi::path(get, path = "/random")] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:458:11 [INFO] [stdout] | [INFO] [stdout] 458 | #[fastapi::path(get, path = "/test")] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:467:7 [INFO] [stdout] | [INFO] [stdout] 467 | #[fastapi::path(get, path = "/", tag = "mytag", tags = ["yeah", "wowow"])] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:471:7 [INFO] [stdout] | [INFO] [stdout] 471 | #[fastapi::path(get, path = "/another", tag = "mytaganother")] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:475:7 [INFO] [stdout] | [INFO] [stdout] 475 | #[fastapi::path(get, path = "/", tags = ["yeah", "wowow"])] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/fastapi_gen_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fastapi::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/fastapi_gen_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fastapi::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[openapi(security( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[openapi(security( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[openapi(tags( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/fastapi_gen_test.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[openapi(tags( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | #[openapi(tags( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | #[openapi(external_docs( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:137:7 [INFO] [stdout] | [INFO] [stdout] 137 | #[openapi(external_docs(url = "http://localhost.more.about.api"))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:161:7 [INFO] [stdout] | [INFO] [stdout] 161 | #[openapi(components(schemas(custom::Todo)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | #[openapi(components(responses(MyResponse)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:208:7 [INFO] [stdout] | [INFO] [stdout] 208 | #[openapi( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:257:7 [INFO] [stdout] | [INFO] [stdout] 257 | #[openapi(info(license(name = "licence_name", identifier = "MIT"), version = "1.0.0",))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:276:7 [INFO] [stdout] | [INFO] [stdout] 276 | #[openapi(info( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:311:7 [INFO] [stdout] | [INFO] [stdout] 311 | #[openapi(info( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:351:7 [INFO] [stdout] | [INFO] [stdout] 351 | #[openapi(components(responses(Response)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:391:7 [INFO] [stdout] | [INFO] [stdout] 391 | #[openapi(components(schemas(Pet)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:425:7 [INFO] [stdout] | [INFO] [stdout] 425 | #[openapi(components(schemas(Pet)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:463:11 [INFO] [stdout] | [INFO] [stdout] 463 | #[openapi(paths(user_test_path))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 464 + #[derive(OpenApi)] [INFO] [stdout] 465 | pub(super) struct UserApi; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:480:7 [INFO] [stdout] | [INFO] [stdout] 480 | #[openapi(paths(foobar, foobaranother), nest( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:486:7 [INFO] [stdout] | [INFO] [stdout] 486 | #[openapi(paths(foobar2))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:492:7 [INFO] [stdout] | [INFO] [stdout] 492 | #[openapi( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:568:7 [INFO] [stdout] | [INFO] [stdout] 568 | #[openapi(components(schemas(Element)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:682:7 [INFO] [stdout] | [INFO] [stdout] 682 | #[openapi(components(schemas(Person, Foob, OneOfYeah, OneOfOne, EnumMixedContent, Element)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/fastapi_gen_test.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[schema(example = json!({"name": "bob the cat", "id": 1}))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `schema` is an attribute that can be used by the derive macro `ToSchema`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 15 + #[derive(ToSchema)] [INFO] [stdout] 16 | struct Pet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/openapi_derive.rs:718:7 [INFO] [stdout] | [INFO] [stdout] 718 | #[openapi(components(schemas(Person)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fastapi::ToSchema; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 257 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 473 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 474 | | /// This is success response [INFO] [stdout] 475 | | #[response(status = 200)] [INFO] [stdout] 476 | | struct SuccessResponse { [INFO] [stdout] ... | [INFO] [stdout] 479 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 507 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 508 | | /// Not found response [INFO] [stdout] 509 | | #[response(status = NOT_FOUND)] [INFO] [stdout] 510 | | struct NotFound; [INFO] [stdout] 511 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:525:14 [INFO] [stdout] | [INFO] [stdout] 525 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 531 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 532 | | #[response(status = 201)] [INFO] [stdout] 533 | | struct CreatedResponse(#[to_schema] Foo); [INFO] [stdout] 534 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 561 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 562 | | #[response(status = 201)] [INFO] [stdout] 563 | | struct CreatedResponse(String); [INFO] [stdout] 564 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:585:14 [INFO] [stdout] | [INFO] [stdout] 585 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 591 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 592 | | #[response(status = 201)] [INFO] [stdout] 593 | | struct CreatedResponse(Foo); [INFO] [stdout] 594 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:615:14 [INFO] [stdout] | [INFO] [stdout] 615 | #[derive(fastapi::ToResponse)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 621 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 622 | | #[response(status = 201)] [INFO] [stdout] 623 | | struct CreatedResponse(#[ref_response] Foo); [INFO] [stdout] 624 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:638:14 [INFO] [stdout] | [INFO] [stdout] 638 | #[derive(fastapi::ToResponse)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 644 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 645 | | #[response(status = 201)] [INFO] [stdout] 646 | | struct CreatedResponse(#[to_response] Foo); [INFO] [stdout] 647 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:674:14 [INFO] [stdout] | [INFO] [stdout] 674 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:680:14 [INFO] [stdout] | [INFO] [stdout] 680 | #[derive(fastapi::ToResponse)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 686 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 687 | | enum UserResponses { [INFO] [stdout] 688 | | /// Success response [INFO] [stdout] 689 | | #[response(status = 200)] [INFO] [stdout] ... | [INFO] [stdout] 704 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/fastapi_gen_test.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | fastapi::openapi::OpenApi::new( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:380:14 [INFO] [stdout] | [INFO] [stdout] 380 | #[derive(ToSchema)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/fastapi_gen_test.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | fastapi::openapi::Paths::new(), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/fastapi_gen_test.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | fastapi::openapi::Info::new("my application", "0.1.0"), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rocket::fairing::Info; [INFO] [stdout] | [INFO] [stdout] help: if you import `Info`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 157 - fastapi::openapi::Info::new("my application", "0.1.0"), [INFO] [stdout] 157 + Info::new("my application", "0.1.0"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/openapi_derive_test.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[schema(example = json!({"name": "bob the cat", "id": 1}))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `schema` is an attribute that can be used by the derive macro `ToSchema`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 15 + #[derive(ToSchema)] [INFO] [stdout] 16 | struct Pet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:383:25 [INFO] [stdout] | [INFO] [stdout] 383 | #[derive(Serialize, ToSchema)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:475:11 [INFO] [stdout] | [INFO] [stdout] 475 | #[response(status = 200)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:509:11 [INFO] [stdout] | [INFO] [stdout] 509 | #[response(status = NOT_FOUND)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:532:11 [INFO] [stdout] | [INFO] [stdout] 532 | #[response(status = 201)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_schema` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:533:34 [INFO] [stdout] | [INFO] [stdout] 533 | struct CreatedResponse(#[to_schema] Foo); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `to_schema` is an attribute that can be used by the derive macros `IntoResponses` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:562:11 [INFO] [stdout] | [INFO] [stdout] 562 | #[response(status = 201)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:592:11 [INFO] [stdout] | [INFO] [stdout] 592 | #[response(status = 201)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:622:11 [INFO] [stdout] | [INFO] [stdout] 622 | #[response(status = 201)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ref_response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:623:34 [INFO] [stdout] | [INFO] [stdout] 623 | struct CreatedResponse(#[ref_response] Foo); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ref_response` is an attribute that can be used by the derive macro `IntoResponses`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:645:11 [INFO] [stdout] | [INFO] [stdout] 645 | #[response(status = 201)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:646:34 [INFO] [stdout] | [INFO] [stdout] 646 | struct CreatedResponse(#[to_response] Foo); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `to_response` is an attribute that can be used by the derive macro `IntoResponses`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:689:15 [INFO] [stdout] | [INFO] [stdout] 689 | #[response(status = 200)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:692:15 [INFO] [stdout] | [INFO] [stdout] 692 | #[response(status = 404)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:695:15 [INFO] [stdout] | [INFO] [stdout] 695 | #[response(status = 400)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:698:15 [INFO] [stdout] | [INFO] [stdout] 698 | #[response(status = 500)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ref_response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:699:27 [INFO] [stdout] | [INFO] [stdout] 699 | ServerError(#[ref_response] Response), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ref_response` is an attribute that can be used by the derive macro `IntoResponses`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 701 | #[response(status = 418)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:702:22 [INFO] [stdout] | [INFO] [stdout] 702 | TeaPot(#[to_response] Response), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `to_response` is an attribute that can be used by the derive macro `IntoResponses`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fastapi-gen` (test "openapi_derive_test") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fastapi-gen` (test "fastapi_gen_test") due to 7 previous errors [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fastapi::{OpenApi, Path}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 413 | #[derive(ToSchema)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:145:7 [INFO] [stdout] | [INFO] [stdout] 145 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:221:7 [INFO] [stdout] | [INFO] [stdout] 221 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:260:7 [INFO] [stdout] | [INFO] [stdout] 260 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:299:7 [INFO] [stdout] | [INFO] [stdout] 299 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | #[derive(fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 372 | let value = into_params! { [INFO] [stdout] | _________________- [INFO] [stdout] 373 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 374 | | #[allow(unused)] [INFO] [stdout] 375 | | struct TasksFilterQuery { [INFO] [stdout] ... | [INFO] [stdout] 389 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:356:15 [INFO] [stdout] | [INFO] [stdout] 356 | #[fastapi::path(get, path = "/handler", params($name))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 372 | let value = into_params! { [INFO] [stdout] | _________________- [INFO] [stdout] 373 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 374 | | #[allow(unused)] [INFO] [stdout] 375 | | struct TasksFilterQuery { [INFO] [stdout] ... | [INFO] [stdout] 389 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[openapi(paths(derive_params_all_options::get_foo_by_id))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[openapi(paths(derive_params_minimal::get_foo_by_id))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | #[openapi(paths(derive_params_multiple::get_foo_by_id))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 168 | #[openapi(paths(mod_derive_parameters_all_types::get_foo_by_id))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:240:7 [INFO] [stdout] | [INFO] [stdout] 240 | #[openapi(paths(derive_params_without_args::get_foo_by_id))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:276:7 [INFO] [stdout] | [INFO] [stdout] 276 | #[openapi(paths(get_foo_by_id))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:315:7 [INFO] [stdout] | [INFO] [stdout] 315 | #[openapi(paths(get_foo_by_id))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:373:11 [INFO] [stdout] | [INFO] [stdout] 373 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] = note: `into_params` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 377 | #[param(required = false, value_type = u32, example = 12)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:380:15 [INFO] [stdout] | [INFO] [stdout] 380 | #[param(required = true, value_type = u32, example = 12)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:383:15 [INFO] [stdout] | [INFO] [stdout] 383 | #[param(value_type = Option, example = 12)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:386:15 [INFO] [stdout] | [INFO] [stdout] 386 | #[param(required = true, value_type = Option, example = 12)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | #[derive(Serialize, ToSchema)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fastapi::openapi::RefOr; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/path_derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fastapi::openapi::{Object, ObjectBuilder}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `openapi` found for struct `derive_path_parameters_with_all_options_success::ApiDoc` in the current scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 31 | struct ApiDoc; [INFO] [stdout] | ------------- function or associated item `openapi` not found for this struct [INFO] [stdout] 32 | [INFO] [stdout] 33 | let doc = serde_json::to_value(ApiDoc::openapi()).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `derive_path_parameters_with_all_options_success::ApiDoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use fastapi::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use fastapi::Path; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use fastapi::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 159 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 160 | | derive_path_with_all_info::test_operation2, [INFO] [stdout] 161 | | operation: post, [INFO] [stdout] 162 | | path: "/foo/bar/{id}" [INFO] [stdout] 163 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 189 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 190 | | derive_path_with_defaults::test_operation3, [INFO] [stdout] 191 | | operation: post, [INFO] [stdout] 192 | | path: "/foo/bar" [INFO] [stdout] 193 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 225 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 226 | | get_foos_by_id_since, [INFO] [stdout] 227 | | operation: get, [INFO] [stdout] 228 | | path: "/foo/{id}" [INFO] [stdout] 229 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 276 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 277 | | get_items, [INFO] [stdout] 278 | | operation: get, [INFO] [stdout] 279 | | path: "/items" [INFO] [stdout] 280 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 321 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 322 | | get_foos_by_id_date, [INFO] [stdout] 323 | | operation: get, [INFO] [stdout] 324 | | path: "/foo/{id}/{start}" [INFO] [stdout] 325 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 387 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 388 | | get_foos_by_id_date, [INFO] [stdout] 389 | | operation: get, [INFO] [stdout] 390 | | path: "/foo/{id}" [INFO] [stdout] 391 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 453 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 454 | | get_foos_by_id_since, [INFO] [stdout] 455 | | operation: get, [INFO] [stdout] 456 | | path: "/foo/{id}" [INFO] [stdout] 457 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 525 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 526 | | get_foos_by_id_since, [INFO] [stdout] 527 | | operation: get, [INFO] [stdout] 528 | | path: "/foo/{id}" [INFO] [stdout] 529 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 610 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 611 | | use_maps, [INFO] [stdout] 612 | | operation: get, [INFO] [stdout] 613 | | path: "/foo" [INFO] [stdout] 614 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 655 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 656 | | struct MyParams { [INFO] [stdout] 657 | | #[param(example = json!({"key": "value"}))] [INFO] [stdout] 658 | | map: HashMap, [INFO] [stdout] ... | [INFO] [stdout] 662 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 703 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 704 | | struct MyParams { [INFO] [stdout] 705 | | #[param(additional_properties)] [INFO] [stdout] 706 | | map: HashMap, [INFO] [stdout] 707 | | } [INFO] [stdout] 708 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 729 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 730 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 731 | | struct MyParams { [INFO] [stdout] 732 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 738 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 773 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 774 | | #[into_params(parameter_in = Path)] [INFO] [stdout] 775 | | struct MyParams { [INFO] [stdout] 776 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 779 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 799 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 800 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 801 | | struct MyParams { [INFO] [stdout] 802 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 822 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 911 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 912 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 913 | | #[serde(rename_all = "camelCase")] [INFO] [stdout] 914 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 930 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 988 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 989 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 990 | | struct MyParams { [INFO] [stdout] 991 | | vec_default: Option>, [INFO] [stdout] 992 | | } [INFO] [stdout] 993 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `openapi` found for struct `derive_path_parameters_minimal_success::ApiDoc` in the current scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 72 | struct ApiDoc; [INFO] [stdout] | ------------- function or associated item `openapi` not found for this struct [INFO] [stdout] 73 | [INFO] [stdout] 74 | let doc = serde_json::to_value(ApiDoc::openapi()).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `derive_path_parameters_minimal_success::ApiDoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1016 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1017 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 1018 | | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 1019 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 1022 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1045 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1046 | | #[derive(Default)] [INFO] [stdout] 1047 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 1048 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 1053 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1136 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 1137 | | list, [INFO] [stdout] 1138 | | operation: get, [INFO] [stdout] 1139 | | path: "/list/{id}" [INFO] [stdout] 1140 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1245:9 [INFO] [stdout] | [INFO] [stdout] 1245 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1715 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1716 | | get_items, [INFO] [stdout] 1717 | | operation: get, [INFO] [stdout] 1718 | | path: "/items" [INFO] [stdout] 1719 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1755 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1756 | | get_params, [INFO] [stdout] 1757 | | operation: get, [INFO] [stdout] 1758 | | path: "/params" [INFO] [stdout] 1759 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1809 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1810 | | get_params, [INFO] [stdout] 1811 | | operation: get, [INFO] [stdout] 1812 | | path: "/params" [INFO] [stdout] 1813 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1857 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1858 | | get_params, [INFO] [stdout] 1859 | | operation: get, [INFO] [stdout] 1860 | | path: "/params" [INFO] [stdout] 1861 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1903 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1904 | | get_params, [INFO] [stdout] 1905 | | operation: get, [INFO] [stdout] 1906 | | path: "/params" [INFO] [stdout] 1907 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1951 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1952 | | get_items, [INFO] [stdout] 1953 | | operation: get, [INFO] [stdout] 1954 | | path: "/api/v1/prefix/items" [INFO] [stdout] 1955 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1977 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1978 | | get_items, [INFO] [stdout] 1979 | | operation: get, [INFO] [stdout] 1980 | | path: "/api/v1/prefix/items" [INFO] [stdout] 1981 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2002 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2003 | | get_items, [INFO] [stdout] 2004 | | operation: get, [INFO] [stdout] 2005 | | path: "/items" [INFO] [stdout] 2006 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2028 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2029 | | get_items, [INFO] [stdout] 2030 | | operation: get, [INFO] [stdout] 2031 | | path: "/items" [INFO] [stdout] 2032 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2069 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2070 | | get_items, [INFO] [stdout] 2071 | | operation: get, [INFO] [stdout] 2072 | | path: "/items" [INFO] [stdout] 2073 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2114 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2115 | | test_description_summary, [INFO] [stdout] 2116 | | operation: get, [INFO] [stdout] 2117 | | path: "/test-description" [INFO] [stdout] 2118 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2152 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2153 | | test_description_summary, [INFO] [stdout] 2154 | | operation: get, [INFO] [stdout] 2155 | | path: "/test-description" [INFO] [stdout] 2156 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_path::__path_test_path` [INFO] [stdout] --> tests/path_derive.rs:2314:9 [INFO] [stdout] | [INFO] [stdout] 2314 | use test_path::__path_test_path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `__path_test_path` in `::test_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2363:9 [INFO] [stdout] | [INFO] [stdout] 2363 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2425:9 [INFO] [stdout] | [INFO] [stdout] 2425 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2494:9 [INFO] [stdout] | [INFO] [stdout] 2494 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2555:9 [INFO] [stdout] | [INFO] [stdout] 2555 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2605:9 [INFO] [stdout] | [INFO] [stdout] 2605 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2673:9 [INFO] [stdout] | [INFO] [stdout] 2673 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2762:9 [INFO] [stdout] | [INFO] [stdout] 2762 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2878 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2879 | | get_params, [INFO] [stdout] 2880 | | operation: get, [INFO] [stdout] 2881 | | path: "/params" [INFO] [stdout] 2882 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2916 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2917 | | get_params, [INFO] [stdout] 2918 | | operation: get, [INFO] [stdout] 2919 | | path: "/params" [INFO] [stdout] 2920 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 136 | / test_api_fn! { [INFO] [stdout] 137 | | name: test_operation2, [INFO] [stdout] 138 | | module: derive_path_with_all_info, [INFO] [stdout] 139 | | operation: post, [INFO] [stdout] ... | [INFO] [stdout] 154 | | #[deprecated] [INFO] [stdout] 155 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 183 | / test_api_fn! { [INFO] [stdout] 184 | | name: test_operation3, [INFO] [stdout] 185 | | module: derive_path_with_defaults, [INFO] [stdout] 186 | | operation: post, [INFO] [stdout] 187 | | path: "/foo/bar"; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:208:7 [INFO] [stdout] | [INFO] [stdout] 208 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:260:7 [INFO] [stdout] | [INFO] [stdout] 260 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:292:34 [INFO] [stdout] | [INFO] [stdout] 292 | #[derive(serde::Deserialize, fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:305:7 [INFO] [stdout] | [INFO] [stdout] 305 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:358:34 [INFO] [stdout] | [INFO] [stdout] 358 | #[derive(serde::Deserialize, fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:371:7 [INFO] [stdout] | [INFO] [stdout] 371 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:424:34 [INFO] [stdout] | [INFO] [stdout] 424 | #[derive(serde::Deserialize, fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:437:7 [INFO] [stdout] | [INFO] [stdout] 437 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:496:34 [INFO] [stdout] | [INFO] [stdout] 496 | #[derive(serde::Deserialize, fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:509:7 [INFO] [stdout] | [INFO] [stdout] 509 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:595:7 [INFO] [stdout] | [INFO] [stdout] 595 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 655 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 656 | | struct MyParams { [INFO] [stdout] 657 | | #[param(example = json!({"key": "value"}))] [INFO] [stdout] 658 | | map: HashMap, [INFO] [stdout] ... | [INFO] [stdout] 662 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 655 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 656 | | struct MyParams { [INFO] [stdout] 657 | | #[param(example = json!({"key": "value"}))] [INFO] [stdout] 658 | | map: HashMap, [INFO] [stdout] ... | [INFO] [stdout] 662 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 703 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 704 | | struct MyParams { [INFO] [stdout] 705 | | #[param(additional_properties)] [INFO] [stdout] 706 | | map: HashMap, [INFO] [stdout] 707 | | } [INFO] [stdout] 708 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 703 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 704 | | struct MyParams { [INFO] [stdout] 705 | | #[param(additional_properties)] [INFO] [stdout] 706 | | map: HashMap, [INFO] [stdout] 707 | | } [INFO] [stdout] 708 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 729 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 730 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 731 | | struct MyParams { [INFO] [stdout] 732 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 738 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 729 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 730 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 731 | | struct MyParams { [INFO] [stdout] 732 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 738 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 773 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 774 | | #[into_params(parameter_in = Path)] [INFO] [stdout] 775 | | struct MyParams { [INFO] [stdout] 776 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 779 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 773 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 774 | | #[into_params(parameter_in = Path)] [INFO] [stdout] 775 | | struct MyParams { [INFO] [stdout] 776 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 779 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 799 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 800 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 801 | | struct MyParams { [INFO] [stdout] 802 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 822 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 799 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 800 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 801 | | struct MyParams { [INFO] [stdout] 802 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 822 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 911 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 912 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 913 | | #[serde(rename_all = "camelCase")] [INFO] [stdout] 914 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 930 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 911 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 912 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 913 | | #[serde(rename_all = "camelCase")] [INFO] [stdout] 914 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 930 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 988 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 989 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 990 | | struct MyParams { [INFO] [stdout] 991 | | vec_default: Option>, [INFO] [stdout] 992 | | } [INFO] [stdout] 993 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 988 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 989 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 990 | | struct MyParams { [INFO] [stdout] 991 | | vec_default: Option>, [INFO] [stdout] 992 | | } [INFO] [stdout] 993 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1016 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1017 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 1018 | | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 1019 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 1022 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1016 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1017 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 1018 | | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 1019 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 1022 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1045 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1046 | | #[derive(Default)] [INFO] [stdout] 1047 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 1048 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 1053 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1045 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1046 | | #[derive(Default)] [INFO] [stdout] 1047 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 1048 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 1053 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1120:7 [INFO] [stdout] | [INFO] [stdout] 1120 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1276:7 [INFO] [stdout] | [INFO] [stdout] 1276 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1391:7 [INFO] [stdout] | [INFO] [stdout] 1391 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1433:7 [INFO] [stdout] | [INFO] [stdout] 1433 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1468:7 [INFO] [stdout] | [INFO] [stdout] 1468 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1504:7 [INFO] [stdout] | [INFO] [stdout] 1504 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `openapi` found for struct `derive_path_parameter_multiple_success::ApiDoc` in the current scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:116:44 [INFO] [stdout] | [INFO] [stdout] 114 | struct ApiDoc; [INFO] [stdout] | ------------- function or associated item `openapi` not found for this struct [INFO] [stdout] 115 | [INFO] [stdout] 116 | let doc = serde_json::to_value(ApiDoc::openapi()).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `derive_path_parameter_multiple_success::ApiDoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1589:7 [INFO] [stdout] | [INFO] [stdout] 1589 | #[fastapi::path(get, path = "foo", responses(MyResponse))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1701:7 [INFO] [stdout] | [INFO] [stdout] 1701 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1752:7 [INFO] [stdout] | [INFO] [stdout] 1752 | #[fastapi::path(get, path = "/params", params(Params))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1806:7 [INFO] [stdout] | [INFO] [stdout] 1806 | #[fastapi::path(get, path = "/params", params(Params))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1854:7 [INFO] [stdout] | [INFO] [stdout] 1854 | #[fastapi::path(get, path = "/params", params(Params))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1900:7 [INFO] [stdout] | [INFO] [stdout] 1900 | #[fastapi::path(get, path = "/params", params(Params))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1938:7 [INFO] [stdout] | [INFO] [stdout] 1938 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1964:7 [INFO] [stdout] | [INFO] [stdout] 1964 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1990:7 [INFO] [stdout] | [INFO] [stdout] 1990 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2015:7 [INFO] [stdout] | [INFO] [stdout] 2015 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2055:7 [INFO] [stdout] | [INFO] [stdout] 2055 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2100:7 [INFO] [stdout] | [INFO] [stdout] 2100 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2139:7 [INFO] [stdout] | [INFO] [stdout] 2139 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2177:11 [INFO] [stdout] | [INFO] [stdout] 2177 | #[fastapi::path(get, path = "/test")] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2185:18 [INFO] [stdout] | [INFO] [stdout] 2185 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2190:11 [INFO] [stdout] | [INFO] [stdout] 2190 | #[fastapi::path(get, path = "/test")] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2197:14 [INFO] [stdout] | [INFO] [stdout] 2197 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2235:11 [INFO] [stdout] | [INFO] [stdout] 2235 | #[fastapi::path(get, path = "/test", tag = "this_is_tag", tags = ["additional"])] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2243:18 [INFO] [stdout] | [INFO] [stdout] 2243 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2248:11 [INFO] [stdout] | [INFO] [stdout] 2248 | #[fastapi::path(get, path = "/test", tag = "this_is_tag:nest", tags = ["additional:nest"])] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2255:14 [INFO] [stdout] | [INFO] [stdout] 2255 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2293:11 [INFO] [stdout] | [INFO] [stdout] 2293 | #[fastapi::path(get, path = "/test")] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2301:18 [INFO] [stdout] | [INFO] [stdout] 2301 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2306:11 [INFO] [stdout] | [INFO] [stdout] 2306 | #[fastapi::path(get, path = "/test")] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2315:14 [INFO] [stdout] | [INFO] [stdout] 2315 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2352:7 [INFO] [stdout] | [INFO] [stdout] 2352 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2402:7 [INFO] [stdout] | [INFO] [stdout] 2402 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2482:7 [INFO] [stdout] | [INFO] [stdout] 2482 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2548:7 [INFO] [stdout] | [INFO] [stdout] 2548 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2598:7 [INFO] [stdout] | [INFO] [stdout] 2598 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2661:7 [INFO] [stdout] | [INFO] [stdout] 2661 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2750:7 [INFO] [stdout] | [INFO] [stdout] 2750 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2830:7 [INFO] [stdout] | [INFO] [stdout] 2830 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2875:7 [INFO] [stdout] | [INFO] [stdout] 2875 | #[fastapi::path(get, path = "/params", params(Params))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2913:7 [INFO] [stdout] | [INFO] [stdout] 2913 | #[fastapi::path(get, path = "/params", params(Params))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2951:7 [INFO] [stdout] | [INFO] [stdout] 2951 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2991:14 [INFO] [stdout] | [INFO] [stdout] 2991 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2995:7 [INFO] [stdout] | [INFO] [stdout] 2995 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:3031:14 [INFO] [stdout] | [INFO] [stdout] 3031 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:3038:7 [INFO] [stdout] | [INFO] [stdout] 3038 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:3089:7 [INFO] [stdout] | [INFO] [stdout] 3089 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:3135:7 [INFO] [stdout] | [INFO] [stdout] 3135 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:3160:7 [INFO] [stdout] | [INFO] [stdout] 3160 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | #[openapi(paths( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 160 | | derive_path_with_all_info::test_operation2, [INFO] [stdout] 161 | | operation: post, [INFO] [stdout] 162 | | path: "/foo/bar/{id}" [INFO] [stdout] 163 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 190 | | derive_path_with_defaults::test_operation3, [INFO] [stdout] 191 | | operation: post, [INFO] [stdout] 192 | | path: "/foo/bar" [INFO] [stdout] 193 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 226 | | get_foos_by_id_since, [INFO] [stdout] 227 | | operation: get, [INFO] [stdout] 228 | | path: "/foo/{id}" [INFO] [stdout] 229 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 277 | | get_items, [INFO] [stdout] 278 | | operation: get, [INFO] [stdout] 279 | | path: "/items" [INFO] [stdout] 280 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 322 | | get_foos_by_id_date, [INFO] [stdout] 323 | | operation: get, [INFO] [stdout] 324 | | path: "/foo/{id}/{start}" [INFO] [stdout] 325 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 388 | | get_foos_by_id_date, [INFO] [stdout] 389 | | operation: get, [INFO] [stdout] 390 | | path: "/foo/{id}" [INFO] [stdout] 391 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 454 | | get_foos_by_id_since, [INFO] [stdout] 455 | | operation: get, [INFO] [stdout] 456 | | path: "/foo/{id}" [INFO] [stdout] 457 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 526 | | get_foos_by_id_since, [INFO] [stdout] 527 | | operation: get, [INFO] [stdout] 528 | | path: "/foo/{id}" [INFO] [stdout] 529 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 611 | | use_maps, [INFO] [stdout] 612 | | operation: get, [INFO] [stdout] 613 | | path: "/foo" [INFO] [stdout] 614 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:657:15 [INFO] [stdout] | [INFO] [stdout] 657 | #[param(example = json!({"key": "value"}))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:659:15 [INFO] [stdout] | [INFO] [stdout] 659 | #[param(example = json!(["value1", "value2"]))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 655 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 656 | | struct MyParams { [INFO] [stdout] 657 | | #[param(example = json!({"key": "value"}))] [INFO] [stdout] 658 | | map: HashMap, [INFO] [stdout] ... | [INFO] [stdout] 662 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:705:15 [INFO] [stdout] | [INFO] [stdout] 705 | #[param(additional_properties)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 703 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 704 | | struct MyParams { [INFO] [stdout] 705 | | #[param(additional_properties)] [INFO] [stdout] 706 | | map: HashMap, [INFO] [stdout] 707 | | } [INFO] [stdout] 708 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:730:11 [INFO] [stdout] | [INFO] [stdout] 730 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:733:15 [INFO] [stdout] | [INFO] [stdout] 733 | #[param(write_only, read_only, default = "value", nullable, xml(name = "xml_value"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:735:15 [INFO] [stdout] | [INFO] [stdout] 735 | #[param(value_type = String, format = Binary)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 730 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 731 | | struct MyParams { [INFO] [stdout] 732 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 738 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:774:11 [INFO] [stdout] | [INFO] [stdout] 774 | #[into_params(parameter_in = Path)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 773 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 774 | | #[into_params(parameter_in = Path)] [INFO] [stdout] 775 | | struct MyParams { [INFO] [stdout] 776 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 779 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:800:11 [INFO] [stdout] | [INFO] [stdout] 800 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 799 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 800 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 801 | | struct MyParams { [INFO] [stdout] 802 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 822 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:912:11 [INFO] [stdout] | [INFO] [stdout] 912 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:921:15 [INFO] [stdout] | [INFO] [stdout] 921 | #[param(rename = "vec2")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:925:15 [INFO] [stdout] | [INFO] [stdout] 925 | #[param(rename = "string_r2")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 911 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 912 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 913 | | #[serde(rename_all = "camelCase")] [INFO] [stdout] 914 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 930 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:989:11 [INFO] [stdout] | [INFO] [stdout] 989 | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 988 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 989 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 990 | | struct MyParams { [INFO] [stdout] 991 | | vec_default: Option>, [INFO] [stdout] 992 | | } [INFO] [stdout] 993 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1017:11 [INFO] [stdout] | [INFO] [stdout] 1017 | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1016 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1017 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 1018 | | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 1019 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 1022 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1047:11 [INFO] [stdout] | [INFO] [stdout] 1047 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1045 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1046 | | #[derive(Default)] [INFO] [stdout] 1047 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 1048 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 1053 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/path_derive.rs:1085:7 [INFO] [stdout] | [INFO] [stdout] 1085 | #[schema(default = "foo1", example = "foo1")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `schema` is an attribute that can be used by the derive macro `ToSchema`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1093:7 [INFO] [stdout] | [INFO] [stdout] 1093 | #[into_params(style = Form, parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1096:11 [INFO] [stdout] | [INFO] [stdout] 1096 | #[param(example = 1)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `openapi` found for struct `derive_parameters_with_all_types::ApiDoc` in the current scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:171:44 [INFO] [stdout] | [INFO] [stdout] 169 | struct ApiDoc; [INFO] [stdout] | ------------- function or associated item `openapi` not found for this struct [INFO] [stdout] 170 | [INFO] [stdout] 171 | let doc = serde_json::to_value(ApiDoc::openapi()).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `derive_parameters_with_all_types::ApiDoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1100:11 [INFO] [stdout] | [INFO] [stdout] 1100 | #[param(example = "2020-04-12T10:23:00Z")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1107:11 [INFO] [stdout] | [INFO] [stdout] 1107 | #[param(inline)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1111:11 [INFO] [stdout] | [INFO] [stdout] 1111 | #[param(inline)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1115:11 [INFO] [stdout] | [INFO] [stdout] 1115 | #[param(inline)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1136 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 1137 | | list, [INFO] [stdout] 1138 | | operation: get, [INFO] [stdout] 1139 | | path: "/list/{id}" [INFO] [stdout] 1140 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1255:7 [INFO] [stdout] | [INFO] [stdout] 1255 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1258:11 [INFO] [stdout] | [INFO] [stdout] 1258 | #[param(value_type = i64, style = Simple)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1260:11 [INFO] [stdout] | [INFO] [stdout] 1260 | #[param(value_type = Object)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1262:11 [INFO] [stdout] | [INFO] [stdout] 1262 | #[param(value_type = Vec>)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1264:11 [INFO] [stdout] | [INFO] [stdout] 1264 | #[param(value_type = Vec)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1266:11 [INFO] [stdout] | [INFO] [stdout] 1266 | #[param(value_type = Option)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1268:11 [INFO] [stdout] | [INFO] [stdout] 1268 | #[param(value_type = Option)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1270:11 [INFO] [stdout] | [INFO] [stdout] 1270 | #[param(value_type = Vec)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1272:11 [INFO] [stdout] | [INFO] [stdout] 1272 | #[param(value_type = Vec)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:1290:7 [INFO] [stdout] | [INFO] [stdout] 1290 | #[openapi(paths(get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1385:7 [INFO] [stdout] | [INFO] [stdout] 1385 | #[into_params(parameter_in = Path)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:1405:7 [INFO] [stdout] | [INFO] [stdout] 1405 | #[openapi(paths(get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1427:7 [INFO] [stdout] | [INFO] [stdout] 1427 | #[into_params(parameter_in = Path)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:1447:7 [INFO] [stdout] | [INFO] [stdout] 1447 | #[openapi(paths(get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:1480:7 [INFO] [stdout] | [INFO] [stdout] 1480 | #[openapi(paths(get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1494:11 [INFO] [stdout] | [INFO] [stdout] 1494 | #[param(maximum = 10, minimum = 5, multiple_of = 2.5)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1497:11 [INFO] [stdout] | [INFO] [stdout] 1497 | #[param(max_length = 10, min_length = 5, pattern = "[a-z]*")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1500:11 [INFO] [stdout] | [INFO] [stdout] 1500 | #[param(max_items = 5, min_items = 1)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:1518:7 [INFO] [stdout] | [INFO] [stdout] 1518 | #[openapi(paths(get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:1594:7 [INFO] [stdout] | [INFO] [stdout] 1594 | #[openapi(paths(get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1694:7 [INFO] [stdout] | [INFO] [stdout] 1694 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1697:11 [INFO] [stdout] | [INFO] [stdout] 1697 | #[param(schema_with = custom_type)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1715 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1716 | | get_items, [INFO] [stdout] 1717 | | operation: get, [INFO] [stdout] 1718 | | path: "/items" [INFO] [stdout] 1719 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1743:7 [INFO] [stdout] | [INFO] [stdout] 1743 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1748:11 [INFO] [stdout] | [INFO] [stdout] 1748 | #[param(required)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1755 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1756 | | get_params, [INFO] [stdout] 1757 | | operation: get, [INFO] [stdout] 1758 | | path: "/params" [INFO] [stdout] 1759 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1797:7 [INFO] [stdout] | [INFO] [stdout] 1797 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1809 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1810 | | get_params, [INFO] [stdout] 1811 | | operation: get, [INFO] [stdout] 1812 | | path: "/params" [INFO] [stdout] 1813 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1845:7 [INFO] [stdout] | [INFO] [stdout] 1845 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1857 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1858 | | get_params, [INFO] [stdout] 1859 | | operation: get, [INFO] [stdout] 1860 | | path: "/params" [INFO] [stdout] 1861 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1891:7 [INFO] [stdout] | [INFO] [stdout] 1891 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1903 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1904 | | get_params, [INFO] [stdout] 1905 | | operation: get, [INFO] [stdout] 1906 | | path: "/params" [INFO] [stdout] 1907 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1951 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1952 | | get_items, [INFO] [stdout] 1953 | | operation: get, [INFO] [stdout] 1954 | | path: "/api/v1/prefix/items" [INFO] [stdout] 1955 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1977 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1978 | | get_items, [INFO] [stdout] 1979 | | operation: get, [INFO] [stdout] 1980 | | path: "/api/v1/prefix/items" [INFO] [stdout] 1981 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2002 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2003 | | get_items, [INFO] [stdout] 2004 | | operation: get, [INFO] [stdout] 2005 | | path: "/items" [INFO] [stdout] 2006 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2028 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2029 | | get_items, [INFO] [stdout] 2030 | | operation: get, [INFO] [stdout] 2031 | | path: "/items" [INFO] [stdout] 2032 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2069 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2070 | | get_items, [INFO] [stdout] 2071 | | operation: get, [INFO] [stdout] 2072 | | path: "/items" [INFO] [stdout] 2073 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2114 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2115 | | test_description_summary, [INFO] [stdout] 2116 | | operation: get, [INFO] [stdout] 2117 | | path: "/test-description" [INFO] [stdout] 2118 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2152 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2153 | | test_description_summary, [INFO] [stdout] 2154 | | operation: get, [INFO] [stdout] 2155 | | path: "/test-description" [INFO] [stdout] 2156 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2186:11 [INFO] [stdout] | [INFO] [stdout] 2186 | #[openapi(paths(test_path_nested))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 2187 + #[derive(OpenApi)] [INFO] [stdout] 2188 | pub struct NestApi; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2198:7 [INFO] [stdout] | [INFO] [stdout] 2198 | #[openapi( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2244:11 [INFO] [stdout] | [INFO] [stdout] 2244 | #[openapi(paths(test_path_nested))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 2245 + #[derive(OpenApi)] [INFO] [stdout] 2246 | pub struct NestApi; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2256:7 [INFO] [stdout] | [INFO] [stdout] 2256 | #[openapi( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2302:11 [INFO] [stdout] | [INFO] [stdout] 2302 | #[openapi(paths(test_path_nested))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 2303 + #[derive(OpenApi)] [INFO] [stdout] 2304 | pub struct NestApi; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2316:7 [INFO] [stdout] | [INFO] [stdout] 2316 | #[openapi( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2365:7 [INFO] [stdout] | [INFO] [stdout] 2365 | #[openapi(paths(test_multiple))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2427:7 [INFO] [stdout] | [INFO] [stdout] 2427 | #[openapi(paths(test_links))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2496:7 [INFO] [stdout] | [INFO] [stdout] 2496 | #[openapi(paths(test_collect_schemas))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2557:7 [INFO] [stdout] | [INFO] [stdout] 2557 | #[openapi(paths(test_collect_schemas))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/path_derive.rs:2594:11 [INFO] [stdout] | [INFO] [stdout] 2594 | #[schema(inline)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `schema` is an attribute that can be used by the derive macro `ToSchema`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2607:7 [INFO] [stdout] | [INFO] [stdout] 2607 | #[openapi(paths(test_collect_schemas))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2675:7 [INFO] [stdout] | [INFO] [stdout] 2675 | #[openapi(paths(test_collect_schemas))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2764:7 [INFO] [stdout] | [INFO] [stdout] 2764 | #[openapi(paths(test_collect_schemas))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/path_derive.rs:2824:7 [INFO] [stdout] | [INFO] [stdout] 2824 | #[schema(as = types::calculation::calculation_assembly_cost::v1::CalculationAssemblyCostResponse)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `schema` is an attribute that can be used by the derive macro `ToSchema`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/path_derive.rs:2826:11 [INFO] [stdout] | [INFO] [stdout] 2826 | #[schema(value_type = uuid::Uuid)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `schema` is an attribute that can be used by the derive macro `ToSchema`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:2868:7 [INFO] [stdout] | [INFO] [stdout] 2868 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:2871:11 [INFO] [stdout] | [INFO] [stdout] 2871 | #[param(ignore)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2878 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2879 | | get_params, [INFO] [stdout] 2880 | | operation: get, [INFO] [stdout] 2881 | | path: "/params" [INFO] [stdout] 2882 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `openapi` found for struct `derive_params_without_fn_args::ApiDoc` in the current scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:243:44 [INFO] [stdout] | [INFO] [stdout] 241 | struct ApiDoc; [INFO] [stdout] | ------------- function or associated item `openapi` not found for this struct [INFO] [stdout] 242 | [INFO] [stdout] 243 | let doc = serde_json::to_value(ApiDoc::openapi()).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `derive_params_without_fn_args::ApiDoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:2906:7 [INFO] [stdout] | [INFO] [stdout] 2906 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_params` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:2909:11 [INFO] [stdout] | [INFO] [stdout] 2909 | #[param(ignore = false)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `param` is an attribute that can be used by the derive macro `IntoParams`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2916 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2917 | | get_params, [INFO] [stdout] 2918 | | operation: get, [INFO] [stdout] 2919 | | path: "/params" [INFO] [stdout] 2920 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `openapi` is an attribute that can be used by the derive macro `OpenApi`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/path_derive.rs:2992:7 [INFO] [stdout] | [INFO] [stdout] 2992 | #[schema(content_encoding = "base64")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `schema` is an attribute that can be used by the derive macro `ToSchema`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/path_derive.rs:3034:11 [INFO] [stdout] | [INFO] [stdout] 3034 | #[schema(content_media_type = "application/octet-stream")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `schema` is an attribute that can be used by the derive macro `ToSchema`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `openapi` found for struct `derive_params_with_params_ext::ApiDoc` in the current scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:279:44 [INFO] [stdout] | [INFO] [stdout] 277 | struct ApiDoc; [INFO] [stdout] | ------------- function or associated item `openapi` not found for this struct [INFO] [stdout] 278 | [INFO] [stdout] 279 | let doc = serde_json::to_value(ApiDoc::openapi()).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `derive_params_with_params_ext::ApiDoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1686:26 [INFO] [stdout] | [INFO] [stdout] 1686 | .format(Some(fastapi::openapi::SchemaFormat::Custom( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1685:26 [INFO] [stdout] | [INFO] [stdout] 1685 | .schema_type(fastapi::openapi::Type::String) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1685 - .schema_type(fastapi::openapi::Type::String) [INFO] [stdout] 1685 + .schema_type(Type::String) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_nest::NestApi` [INFO] [stdout] --> tests/path_derive.rs:2313:9 [INFO] [stdout] | [INFO] [stdout] 2313 | use test_nest::NestApi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:383:25 [INFO] [stdout] | [INFO] [stdout] 383 | #[derive(Serialize, ToSchema)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/openapi_derive.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | #[derive(Serialize, ToSchema)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `__path_handler` [INFO] [stdout] --> tests/path_derive.rs:2840:21 [INFO] [stdout] | [INFO] [stdout] 2840 | let operation = __path_handler::operation(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_handler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_handler`, use `cargo add __path_handler` 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 `__path_test_octet_stream` [INFO] [stdout] --> tests/path_derive.rs:2961:42 [INFO] [stdout] | [INFO] [stdout] 2961 | let operation = serde_json::to_value(__path_test_octet_stream::operation()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_test_octet_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_test_octet_stream`, use `cargo add __path_test_octet_stream` 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 `__path_test_png` [INFO] [stdout] --> tests/path_derive.rs:3006:30 [INFO] [stdout] | [INFO] [stdout] 3006 | serde_json::to_value(__path_test_png::operation()).expect("Operation is JSON serializable"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_test_png` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_test_png`, use `cargo add __path_test_png` 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 `__path_test_multipart` [INFO] [stdout] --> tests/path_derive.rs:3048:42 [INFO] [stdout] | [INFO] [stdout] 3048 | let operation = serde_json::to_value(__path_test_multipart::operation()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_test_multipart` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_test_multipart`, use `cargo add __path_test_multipart` 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 `__path_test_multipart` [INFO] [stdout] --> tests/path_derive.rs:3104:42 [INFO] [stdout] | [INFO] [stdout] 3104 | let operation = serde_json::to_value(__path_test_multipart::operation()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_test_multipart` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_test_multipart`, use `cargo add __path_test_multipart` 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 `__path_test_const_generic` [INFO] [stdout] --> tests/path_derive.rs:3142:34 [INFO] [stdout] | [INFO] [stdout] 3142 | let _ = serde_json::to_value(__path_test_const_generic::operation()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_test_const_generic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_test_const_generic`, use `cargo add __path_test_const_generic` 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 `__path_test_const_generic` [INFO] [stdout] --> tests/path_derive.rs:3167:34 [INFO] [stdout] | [INFO] [stdout] 3167 | let _ = serde_json::to_value(__path_test_const_generic::operation()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_test_const_generic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_test_const_generic`, use `cargo add __path_test_const_generic` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `openapi` found for struct `derive_path_params_with_parameter_type_args::ApiDoc` in the current scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:318:44 [INFO] [stdout] | [INFO] [stdout] 316 | struct ApiDoc; [INFO] [stdout] | ------------- function or associated item `openapi` not found for this struct [INFO] [stdout] 317 | [INFO] [stdout] 318 | let doc = serde_json::to_value(ApiDoc::openapi()).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `derive_path_params_with_parameter_type_args::ApiDoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `__path_handler` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:360:46 [INFO] [stdout] | [INFO] [stdout] 360 | let value = serde_json::to_value(__path_handler::operation()) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_handler` [INFO] [stdout] ... [INFO] [stdout] 372 | let value = into_params! { [INFO] [stdout] | _________________- [INFO] [stdout] 373 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 374 | | #[allow(unused)] [INFO] [stdout] 375 | | struct TasksFilterQuery { [INFO] [stdout] ... | [INFO] [stdout] 389 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_handler`, use `cargo add __path_handler` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:274:48 [INFO] [stdout] | [INFO] [stdout] 274 | Admin(#[content("application/json/1")] Admin), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fastapi-gen` (test "path_derive") due to 249 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fastapi-gen` (test "path_parameter_derive_test") due to 30 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:276:52 [INFO] [stdout] | [INFO] [stdout] 276 | Moderator(#[content("application/json/2")] Moderator), [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:330:24 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fastapi-gen` (test "openapi_derive") due to 41 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:402:24 [INFO] [stdout] | [INFO] [stdout] 402 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:425:14 [INFO] [stdout] | [INFO] [stdout] 425 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::http::header::Header; [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::web::Header; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:330:24 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:402:24 [INFO] [stdout] | [INFO] [stdout] 402 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:425:14 [INFO] [stdout] | [INFO] [stdout] 425 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:278:32 [INFO] [stdout] | [INFO] [stdout] 278 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | Admin, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | Moderator, [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:349:32 [INFO] [stdout] | [INFO] [stdout] 349 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:406:47 [INFO] [stdout] | [INFO] [stdout] 406 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:427:51 [INFO] [stdout] | [INFO] [stdout] 427 | struct PersonSuccessResponse(#[to_schema] Vec); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` 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 `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:429:47 [INFO] [stdout] | [INFO] [stdout] 429 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fastapi-gen` (test "response_derive_test") due to 84 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 473 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 474 | | /// This is success response [INFO] [stdout] 475 | | #[response(status = 200)] [INFO] [stdout] 476 | | struct SuccessResponse { [INFO] [stdout] ... | [INFO] [stdout] 479 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 507 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 508 | | /// Not found response [INFO] [stdout] 509 | | #[response(status = NOT_FOUND)] [INFO] [stdout] 510 | | struct NotFound; [INFO] [stdout] 511 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 531 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 532 | | #[response(status = 201)] [INFO] [stdout] 533 | | struct CreatedResponse(#[to_schema] Foo); [INFO] [stdout] 534 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 561 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 562 | | #[response(status = 201)] [INFO] [stdout] 563 | | struct CreatedResponse(String); [INFO] [stdout] 564 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 591 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 592 | | #[response(status = 201)] [INFO] [stdout] 593 | | struct CreatedResponse(Foo); [INFO] [stdout] 594 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 621 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 622 | | #[response(status = 201)] [INFO] [stdout] 623 | | struct CreatedResponse(#[ref_response] Foo); [INFO] [stdout] 624 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 644 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 645 | | #[response(status = 201)] [INFO] [stdout] 646 | | struct CreatedResponse(#[to_response] Foo); [INFO] [stdout] 647 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 686 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 687 | | enum UserResponses { [INFO] [stdout] 688 | | /// Success response [INFO] [stdout] 689 | | #[response(status = 200)] [INFO] [stdout] ... | [INFO] [stdout] 704 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `SerdeContainer` doesn't implement `Debug` [INFO] [stdout] --> src/component/serde.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | assert_eq!(expected, result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `SerdeContainer` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `SerdeContainer` or manually `impl Debug for SerdeContainer` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `SerdeContainer` doesn't implement `Debug` [INFO] [stdout] --> src/component/serde.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | assert_eq!(expected, result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `SerdeContainer` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `SerdeContainer` or manually `impl Debug for SerdeContainer` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fastapi-gen` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "e322ffdf3fa2afdd905e1c90cc7ca477e27914449a18b6b7cf267ec9c80d101d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e322ffdf3fa2afdd905e1c90cc7ca477e27914449a18b6b7cf267ec9c80d101d", kill_on_drop: false }` [INFO] [stdout] e322ffdf3fa2afdd905e1c90cc7ca477e27914449a18b6b7cf267ec9c80d101d