[INFO] fetching crate fastapi-gen 0.1.1... [INFO] testing fastapi-gen-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate fastapi-gen 0.1.1 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fastapi-gen 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 288 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 769e4a13fdaeb03f4009586ff2248a72e32c6687e3a069997385b4fee6aa7716 [INFO] running `Command { std: "docker" "start" "-a" "769e4a13fdaeb03f4009586ff2248a72e32c6687e3a069997385b4fee6aa7716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "769e4a13fdaeb03f4009586ff2248a72e32c6687e3a069997385b4fee6aa7716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "769e4a13fdaeb03f4009586ff2248a72e32c6687e3a069997385b4fee6aa7716", kill_on_drop: false }` [INFO] [stdout] 769e4a13fdaeb03f4009586ff2248a72e32c6687e3a069997385b4fee6aa7716 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06bd7fd7b9fca5d02bbf0733bede85033d8385e57b40d4ddca8502b2a82ba6a6 [INFO] running `Command { std: "docker" "start" "-a" "06bd7fd7b9fca5d02bbf0733bede85033d8385e57b40d4ddca8502b2a82ba6a6", kill_on_drop: false }` [INFO] [stderr] Compiling fastapi-gen v0.1.1 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.80s [INFO] running `Command { std: "docker" "inspect" "06bd7fd7b9fca5d02bbf0733bede85033d8385e57b40d4ddca8502b2a82ba6a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06bd7fd7b9fca5d02bbf0733bede85033d8385e57b40d4ddca8502b2a82ba6a6", kill_on_drop: false }` [INFO] [stdout] 06bd7fd7b9fca5d02bbf0733bede85033d8385e57b40d4ddca8502b2a82ba6a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c19eedc77318de923047ec60f258e55d87900e9ea7077dc0728b36f26bebcbaa [INFO] running `Command { std: "docker" "start" "-a" "c19eedc77318de923047ec60f258e55d87900e9ea7077dc0728b36f26bebcbaa", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [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] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling fastapi-gen v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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 smallvec v1.15.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-http v3.11.1 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling 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/path_response_derive_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fastapi::openapi::{RefOr, 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[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fastapi::{OpenApi, Path, 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] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 47 | let doc = api_doc!(module: simple_success_response); [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 `api_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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 70 | let doc = api_doc!(module: multiple_simple_responses); [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 `api_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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 104 | let doc = api_doc!(module: http_status_code_responses); [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 `api_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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 141 | let doc = api_doc!(module: reusable_responses); [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 `api_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/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/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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/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[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[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 262 | let doc = api_doc!(module: response_with_json_example); [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 `api_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_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 281 | let doc: Value = api_doc!(module: response_body_inline_schema); [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 `api_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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 38 | / test_fn! { [INFO] [stdout] 39 | | module: simple_success_response, [INFO] [stdout] 40 | | responses: ( [INFO] [stdout] 41 | | (status = 200, description = "success") [INFO] [stdout] 42 | | ) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 38 | / test_fn! { [INFO] [stdout] 39 | | module: simple_success_response, [INFO] [stdout] 40 | | responses: ( [INFO] [stdout] 41 | | (status = 200, description = "success") [INFO] [stdout] 42 | | ) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 56 | / test_fn! { [INFO] [stdout] 57 | | module: multiple_simple_responses, [INFO] [stdout] 58 | | responses: ( [INFO] [stdout] 59 | | (status = 200, description = "success"), [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 56 | / test_fn! { [INFO] [stdout] 57 | | module: multiple_simple_responses, [INFO] [stdout] 58 | | responses: ( [INFO] [stdout] 59 | | (status = 200, description = "success"), [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 94 | / test_fn! { [INFO] [stdout] 95 | | module: http_status_code_responses, [INFO] [stdout] 96 | | responses: ( [INFO] [stdout] 97 | | (status = OK, description = "success"), [INFO] [stdout] ... | [INFO] [stdout] 100 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 94 | / test_fn! { [INFO] [stdout] 95 | | module: http_status_code_responses, [INFO] [stdout] 96 | | responses: ( [INFO] [stdout] 97 | | (status = OK, description = "success"), [INFO] [stdout] ... | [INFO] [stdout] 100 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 131 | / test_fn! { [INFO] [stdout] 132 | | module: reusable_responses, [INFO] [stdout] 133 | | responses: ( [INFO] [stdout] 134 | | (status = 200, description = "success"), [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 131 | / test_fn! { [INFO] [stdout] 132 | | module: reusable_responses, [INFO] [stdout] 133 | | responses: ( [INFO] [stdout] 134 | | (status = 200, description = "success"), [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 253 | / test_fn! { [INFO] [stdout] 254 | | module: response_with_json_example, [INFO] [stdout] 255 | | responses: ( [INFO] [stdout] 256 | | (status = 200, description = "success", body = Foo, example = json!({"foo": "bar"})) [INFO] [stdout] 257 | | ) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 253 | / test_fn! { [INFO] [stdout] 254 | | module: response_with_json_example, [INFO] [stdout] 255 | | responses: ( [INFO] [stdout] 256 | | (status = 200, description = "success", body = Foo, example = json!({"foo": "bar"})) [INFO] [stdout] 257 | | ) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_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_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 274 | / test_fn! { [INFO] [stdout] 275 | | module: response_body_inline_schema, [INFO] [stdout] 276 | | responses: ( [INFO] [stdout] 277 | | (status = 200, description = "success", body = inline(Foo), content_type = "application/json") [INFO] [stdout] 278 | | ) [INFO] [stdout] 279 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_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_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 274 | / test_fn! { [INFO] [stdout] 275 | | module: response_body_inline_schema, [INFO] [stdout] 276 | | responses: ( [INFO] [stdout] 277 | | (status = 200, description = "success", body = inline(Foo), content_type = "application/json") [INFO] [stdout] 278 | | ) [INFO] [stdout] 279 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_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_response_derive_test.rs:316:32 [INFO] [stdout] | [INFO] [stdout] 316 | #[derive(serde::Serialize, 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_response_derive_test.rs:322:32 [INFO] [stdout] | [INFO] [stdout] 322 | #[derive(serde::Serialize, 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_response_derive_test.rs:328:7 [INFO] [stdout] | [INFO] [stdout] 328 | #[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_response_derive_test.rs:342:14 [INFO] [stdout] | [INFO] [stdout] 342 | #[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_response_derive_test.rs:408:32 [INFO] [stdout] | [INFO] [stdout] 408 | #[derive(serde::Serialize, 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_response_derive_test.rs:414:7 [INFO] [stdout] | [INFO] [stdout] 414 | #[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_response_derive_test.rs:430:14 [INFO] [stdout] | [INFO] [stdout] 430 | #[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_response_derive_test.rs:489:32 [INFO] [stdout] | [INFO] [stdout] 489 | #[derive(serde::Serialize, 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_response_derive_test.rs:495:32 [INFO] [stdout] | [INFO] [stdout] 495 | #[derive(serde::Serialize, 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_response_derive_test.rs:501:7 [INFO] [stdout] | [INFO] [stdout] 501 | #[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_response_derive_test.rs:525:14 [INFO] [stdout] | [INFO] [stdout] 525 | #[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_response_derive_test.rs:581:7 [INFO] [stdout] | [INFO] [stdout] 581 | #[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_response_derive_test.rs:591:14 [INFO] [stdout] | [INFO] [stdout] 591 | #[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_response_derive_test.rs:618:32 [INFO] [stdout] | [INFO] [stdout] 618 | #[derive(serde::Serialize, fastapi::ToSchema, 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/path_response_derive_test.rs:618:51 [INFO] [stdout] | [INFO] [stdout] 618 | #[derive(serde::Serialize, fastapi::ToSchema, 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/path_response_derive_test.rs:624:7 [INFO] [stdout] | [INFO] [stdout] 624 | #[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_response_derive_test.rs:634:14 [INFO] [stdout] | [INFO] [stdout] 634 | #[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_response_derive_test.rs:669:7 [INFO] [stdout] | [INFO] [stdout] 669 | #[fastapi::path(post, path = "/api/inner/secret", responses((status = OK)))] [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_response_derive_test.rs:694:7 [INFO] [stdout] | [INFO] [stdout] 694 | #[fastapi::path(post, path = "/api/inner/secret", responses( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [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[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/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 `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | let doc = api_doc!(module: simple_success_response); [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 `api_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_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | let doc = api_doc!(module: multiple_simple_responses); [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 `api_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_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | let doc = api_doc!(module: http_status_code_responses); [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 `api_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_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | let doc = api_doc!(module: reusable_responses); [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 `api_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_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_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/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] [stderr] error: could not compile `fastapi-gen` (test "fastapi_gen_test") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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: 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 `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_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 `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [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 `api_doc` which comes from the expansion of the macro `test_response_types` (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_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | let doc = api_doc!(module: response_with_json_example); [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 `api_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_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | let doc: Value = api_doc!(module: response_body_inline_schema); [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 `api_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_response_derive_test.rs:343:7 [INFO] [stdout] | [INFO] [stdout] 343 | #[openapi(paths(get_item))] [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/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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:431:7 [INFO] [stdout] | [INFO] [stdout] 431 | #[openapi(paths(get_item))] [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/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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:526:7 [INFO] [stdout] | [INFO] [stdout] 526 | #[openapi(paths(get_item), components(schemas(User, User2)))] [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_response_derive_test.rs:592:7 [INFO] [stdout] | [INFO] [stdout] 592 | #[openapi(paths(get_item))] [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/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[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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:635:7 [INFO] [stdout] | [INFO] [stdout] 635 | #[openapi(paths(get_item), components(schemas(User)))] [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/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[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[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[E0433]: failed to resolve: use of unresolved module or unlinked crate `__path_post_secret` [INFO] [stdout] --> tests/path_response_derive_test.rs:672:21 [INFO] [stdout] | [INFO] [stdout] 672 | let operation = __path_post_secret::operation(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_post_secret` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_post_secret`, use `cargo add __path_post_secret` 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_post_secret` [INFO] [stdout] --> tests/path_response_derive_test.rs:699:21 [INFO] [stdout] | [INFO] [stdout] 699 | let operation = __path_post_secret::operation(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_post_secret` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_post_secret`, use `cargo add __path_post_secret` 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] [stderr] error: could not compile `fastapi-gen` (test "path_response_derive_test") due to 108 previous errors [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[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: 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[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: 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[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: 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: 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 `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] 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[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 `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: 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[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] 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/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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fastapi-gen` (test "openapi_derive_test") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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_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[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[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fastapi::{OpenApi, 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/schema_derive_test.rs:5997:9 [INFO] [stdout] | [INFO] [stdout] 5997 | use fastapi::PartialSchema; [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/schema_derive_test.rs:6024:9 [INFO] [stdout] | [INFO] [stdout] 6024 | use fastapi::PartialSchema; [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_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 `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:911:14 [INFO] [stdout] | [INFO] [stdout] 911 | #[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/schema_derive_test.rs:3269:22 [INFO] [stdout] | [INFO] [stdout] 3269 | #[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/schema_derive_test.rs:3293:22 [INFO] [stdout] | [INFO] [stdout] 3293 | #[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/schema_derive_test.rs:3430:18 [INFO] [stdout] | [INFO] [stdout] 3430 | #[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/schema_derive_test.rs:5887:14 [INFO] [stdout] | [INFO] [stdout] 5887 | #[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 `__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 `__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] [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] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | #[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 `schema` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | #[schema(additional_properties)] [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/schema_derive_test.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | #[schema(default = "Mode1", example = "Mode2")] [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/schema_derive_test.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 197 | #[schema(default = mode_custom_default_fn)] [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/schema_derive_test.rs:239:15 [INFO] [stdout] | [INFO] [stdout] 239 | #[schema(default = String::default)] [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/schema_derive_test.rs:241:15 [INFO] [stdout] | [INFO] [stdout] 241 | #[schema( [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] [stderr] error: could not compile `fastapi-gen` (test "path_parameter_derive_test") due to 30 previous errors [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:265:11 [INFO] [stdout] | [INFO] [stdout] 265 | #[schema(default)] [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/schema_derive_test.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | #[schema(default = 0)] [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/schema_derive_test.rs:300:15 [INFO] [stdout] | [INFO] [stdout] 300 | #[schema(default = json!({ "name": "Dune" }))] [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/schema_derive_test.rs:302:15 [INFO] [stdout] | [INFO] [stdout] 302 | #[schema(default = json!([{ "name": "The Fellowship Of The Ring" }]))] [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/schema_derive_test.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | #[schema(default = json!({ "National Library": { "name": "The Stranger" } }))] [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/schema_derive_test.rs:306:15 [INFO] [stdout] | [INFO] [stdout] 306 | #[schema(default = json!({ "name": "My Book" }))] [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/schema_derive_test.rs:381:15 [INFO] [stdout] | [INFO] [stdout] 381 | #[schema(default = 0)] [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/schema_derive_test.rs:413:15 [INFO] [stdout] | [INFO] [stdout] 413 | #[schema(default = 1)] [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/schema_derive_test.rs:665:11 [INFO] [stdout] | [INFO] [stdout] 665 | #[schema(default)] [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/schema_derive_test.rs:685:11 [INFO] [stdout] | [INFO] [stdout] 685 | #[schema(default)] [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/schema_derive_test.rs:720:11 [INFO] [stdout] | [INFO] [stdout] 720 | #[schema(example = json!({"name": "bob the cat", "age": 8}))] [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/schema_derive_test.rs:758:11 [INFO] [stdout] | [INFO] [stdout] 758 | #[schema(deprecated)] [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/schema_derive_test.rs:761:15 [INFO] [stdout] | [INFO] [stdout] 761 | #[schema(deprecated)] [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/schema_derive_test.rs:781:11 [INFO] [stdout] | [INFO] [stdout] 781 | #[schema(example = 8)] [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/schema_derive_test.rs:794:11 [INFO] [stdout] | [INFO] [stdout] 794 | #[schema(deprecated, example = 8)] [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/schema_derive_test.rs:807:11 [INFO] [stdout] | [INFO] [stdout] 807 | #[schema(example = "0", default = i64::default)] [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/schema_derive_test.rs:842:11 [INFO] [stdout] | [INFO] [stdout] 842 | #[schema(deprecated)] [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/schema_derive_test.rs:919:15 [INFO] [stdout] | [INFO] [stdout] 919 | #[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 `schema` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:921:15 [INFO] [stdout] | [INFO] [stdout] 921 | #[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 `schema` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:923:15 [INFO] [stdout] | [INFO] [stdout] 923 | #[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 `schema` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:925:15 [INFO] [stdout] | [INFO] [stdout] 925 | #[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 `schema` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:1251:11 [INFO] [stdout] | [INFO] [stdout] 1251 | #[schema(example = json!(EnumWithProperties::Variant2{name: String::from("foobar")}), [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/schema_derive_test.rs:1509:15 [INFO] [stdout] | [INFO] [stdout] 1509 | #[schema(deprecated)] [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/schema_derive_test.rs:1579:15 [INFO] [stdout] | [INFO] [stdout] 1579 | #[schema(title = "Unit")] [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/schema_derive_test.rs:1581:15 [INFO] [stdout] | [INFO] [stdout] 1581 | #[schema(title = "Named")] [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/schema_derive_test.rs:1585:15 [INFO] [stdout] | [INFO] [stdout] 1585 | #[schema(title = "Unnamed")] [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/schema_derive_test.rs:1642:15 [INFO] [stdout] | [INFO] [stdout] 1642 | #[schema(example = "EX: Unit")] [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/schema_derive_test.rs:1644:15 [INFO] [stdout] | [INFO] [stdout] 1644 | #[schema(example = "EX: Named")] [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/schema_derive_test.rs:1646:19 [INFO] [stdout] | [INFO] [stdout] 1646 | #[schema(example = "EX: Named id field")] [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/schema_derive_test.rs:1649:15 [INFO] [stdout] | [INFO] [stdout] 1649 | #[schema(example = "EX: Unnamed")] [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/schema_derive_test.rs:1836:11 [INFO] [stdout] | [INFO] [stdout] 1836 | #[schema(rename_all = "SCREAMING-KEBAB-CASE")] [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/schema_derive_test.rs:1840:15 [INFO] [stdout] | [INFO] [stdout] 1840 | #[schema(rename = "post_comment")] [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/schema_derive_test.rs:1874:11 [INFO] [stdout] | [INFO] [stdout] 1874 | #[schema(rename_all = "UPPERCASE")] [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/schema_derive_test.rs:1878:15 [INFO] [stdout] | [INFO] [stdout] 1878 | #[schema(rename = "update_post", rename_all = "PascalCase")] [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/schema_derive_test.rs:1882:19 [INFO] [stdout] | [INFO] [stdout] 1882 | #[schema(rename = "post_comment")] [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/schema_derive_test.rs:1960:11 [INFO] [stdout] | [INFO] [stdout] 1960 | #[schema(rename_all = "UPPERCASE")] [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/schema_derive_test.rs:1963:15 [INFO] [stdout] | [INFO] [stdout] 1963 | #[schema(rename = "custom_value")] [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/schema_derive_test.rs:2009:11 [INFO] [stdout] | [INFO] [stdout] 2009 | #[schema(title = "Post")] [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/schema_derive_test.rs:2034:11 [INFO] [stdout] | [INFO] [stdout] 2034 | #[schema(title = "UserType")] [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/schema_derive_test.rs:2056:15 [INFO] [stdout] | [INFO] [stdout] 2056 | #[schema(title = "admin")] [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/schema_derive_test.rs:2058:15 [INFO] [stdout] | [INFO] [stdout] 2058 | #[schema(title = "moderator")] [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/schema_derive_test.rs:2060:15 [INFO] [stdout] | [INFO] [stdout] 2060 | #[schema(title = "user")] [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/schema_derive_test.rs:2279:11 [INFO] [stdout] | [INFO] [stdout] 2279 | #[schema(title = "FooTitle")] [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/schema_derive_test.rs:2601:11 [INFO] [stdout] | [INFO] [stdout] 2601 | #[schema(discriminator = "bar")] [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/schema_derive_test.rs:2644:11 [INFO] [stdout] | [INFO] [stdout] 2644 | #[schema(discriminator(property_name = "bar_type", mapping( [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/schema_derive_test.rs:2846:15 [INFO] [stdout] | [INFO] [stdout] 2846 | #[schema(title = "Unit")] [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/schema_derive_test.rs:2848:15 [INFO] [stdout] | [INFO] [stdout] 2848 | #[schema(title = "Named")] [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/schema_derive_test.rs:2902:15 [INFO] [stdout] | [INFO] [stdout] 2902 | #[schema(read_only)] [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/schema_derive_test.rs:2904:15 [INFO] [stdout] | [INFO] [stdout] 2904 | #[schema(write_only)] [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/schema_derive_test.rs:2924:15 [INFO] [stdout] | [INFO] [stdout] 2924 | #[schema(nullable)] [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/schema_derive_test.rs:2927:15 [INFO] [stdout] | [INFO] [stdout] 2927 | #[schema(nullable)] [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/schema_derive_test.rs:2929:15 [INFO] [stdout] | [INFO] [stdout] 2929 | #[schema(nullable = false)] [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/schema_derive_test.rs:2932:15 [INFO] [stdout] | [INFO] [stdout] 2932 | #[schema(nullable)] [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/schema_derive_test.rs:2936:15 [INFO] [stdout] | [INFO] [stdout] 2936 | #[schema(required)] [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/schema_derive_test.rs:3011:22 [INFO] [stdout] | [INFO] [stdout] 3011 | Number(#[schema(inline)] Number), [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/schema_derive_test.rs:3012:21 [INFO] [stdout] | [INFO] [stdout] 3012 | Color(#[schema(inline)] Color), [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/schema_derive_test.rs:3067:11 [INFO] [stdout] | [INFO] [stdout] 3067 | #[schema(xml(name = "user", prefix = "u", namespace = "https://mynamespace.test"))] [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/schema_derive_test.rs:3069:15 [INFO] [stdout] | [INFO] [stdout] 3069 | #[schema(xml(attribute, prefix = "u"))] [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/schema_derive_test.rs:3071:15 [INFO] [stdout] | [INFO] [stdout] 3071 | #[schema(xml(name = "user_name", prefix = "u"))] [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/schema_derive_test.rs:3073:15 [INFO] [stdout] | [INFO] [stdout] 3073 | #[schema(xml(wrapped(name = "linkList"), name = "link"))] [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/schema_derive_test.rs:3075:15 [INFO] [stdout] | [INFO] [stdout] 3075 | #[schema(xml(wrapped, name = "photo_url"))] [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/schema_derive_test.rs:3119:11 [INFO] [stdout] | [INFO] [stdout] 3119 | #[schema(xml(name = "user"))] [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/schema_derive_test.rs:3121:15 [INFO] [stdout] | [INFO] [stdout] 3121 | #[schema(xml(attribute, prefix = "u"))] [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/schema_derive_test.rs:3123:15 [INFO] [stdout] | [INFO] [stdout] 3123 | #[schema(xml(wrapped(name = "linkList"), name = "link"))] [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/schema_derive_test.rs:3252:15 [INFO] [stdout] | [INFO] [stdout] 3252 | #[schema(value_type = String)] [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/schema_derive_test.rs:3276:15 [INFO] [stdout] | [INFO] [stdout] 3276 | #[schema(value_type = path::to::Foo)] [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/schema_derive_test.rs:3294:15 [INFO] [stdout] | [INFO] [stdout] 3294 | #[schema(as = path::to::Foo)] [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] 3295 + #[derive(ToSchema)] [INFO] [stdout] 3296 | pub struct Foo(()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:3301:15 [INFO] [stdout] | [INFO] [stdout] 3301 | #[schema(value_type = path::to::Foo)] [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/schema_derive_test.rs:3319:15 [INFO] [stdout] | [INFO] [stdout] 3319 | #[schema(value_type = String, format = Byte)] [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/schema_derive_test.rs:3336:15 [INFO] [stdout] | [INFO] [stdout] 3336 | #[schema(value_type = String, format = "uri")] [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/schema_derive_test.rs:3352:15 [INFO] [stdout] | [INFO] [stdout] 3352 | #[schema(value_type = String, format = Binary)] [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/schema_derive_test.rs:3368:11 [INFO] [stdout] | [INFO] [stdout] 3368 | #[schema(value_type = String)] [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/schema_derive_test.rs:3381:11 [INFO] [stdout] | [INFO] [stdout] 3381 | #[schema(value_type = String, format = Byte)] [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/schema_derive_test.rs:3394:11 [INFO] [stdout] | [INFO] [stdout] 3394 | #[schema(format = Ipv4)] [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/schema_derive_test.rs:3408:15 [INFO] [stdout] | [INFO] [stdout] 3408 | #[schema(value_type = Object)] [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/schema_derive_test.rs:3437:15 [INFO] [stdout] | [INFO] [stdout] 3437 | #[schema(value_type = custom::NewBar)] [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/schema_derive_test.rs:3595:11 [INFO] [stdout] | [INFO] [stdout] 3595 | #[schema(bound = "")] [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/schema_derive_test.rs:3710:7 [INFO] [stdout] | [INFO] [stdout] 3710 | #[schema(as = named::BarBar)] [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/schema_derive_test.rs:3717:7 [INFO] [stdout] | [INFO] [stdout] 3717 | #[openapi(components(schemas(BarBar)))] [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/schema_derive_test.rs:3761:15 [INFO] [stdout] | [INFO] [stdout] 3761 | #[schema(value_type = i64)] [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/schema_derive_test.rs:3763:15 [INFO] [stdout] | [INFO] [stdout] 3763 | #[schema(value_type = Object)] [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/schema_derive_test.rs:3765:15 [INFO] [stdout] | [INFO] [stdout] 3765 | #[schema(value_type = Vec>)] [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/schema_derive_test.rs:3767:15 [INFO] [stdout] | [INFO] [stdout] 3767 | #[schema(value_type = Vec)] [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/schema_derive_test.rs:3769:15 [INFO] [stdout] | [INFO] [stdout] 3769 | #[schema(value_type = Option)] [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/schema_derive_test.rs:3771:15 [INFO] [stdout] | [INFO] [stdout] 3771 | #[schema(value_type = Option)] [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/schema_derive_test.rs:3773:15 [INFO] [stdout] | [INFO] [stdout] 3773 | #[schema(value_type = Vec)] [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/schema_derive_test.rs:3775:15 [INFO] [stdout] | [INFO] [stdout] 3775 | #[schema(value_type = Vec)] [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/schema_derive_test.rs:4198:15 [INFO] [stdout] | [INFO] [stdout] 4198 | #[schema(example = json!(["foobar", "barfoo"]))] [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/schema_derive_test.rs:4231:15 [INFO] [stdout] | [INFO] [stdout] 4231 | #[schema(example = "test")] [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/schema_derive_test.rs:4233:15 [INFO] [stdout] | [INFO] [stdout] 4233 | #[schema(example = json!("test"))] [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/schema_derive_test.rs:4235:15 [INFO] [stdout] | [INFO] [stdout] 4235 | #[schema(example = json!({ [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/schema_derive_test.rs:4239:15 [INFO] [stdout] | [INFO] [stdout] 4239 | #[schema(example = json!({ [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/schema_derive_test.rs:4298:11 [INFO] [stdout] | [INFO] [stdout] 4298 | #[schema(examples(json!("kim"), json!("jim")))] [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/schema_derive_test.rs:4316:11 [INFO] [stdout] | [INFO] [stdout] 4316 | #[schema(examples(json!("kim"), json!("jim")))] [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/schema_derive_test.rs:4332:11 [INFO] [stdout] | [INFO] [stdout] 4332 | #[schema(examples(json!({"username": "kim"}), json!(UsernameRequest {username: "jim".to_string()})))] [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/schema_derive_test.rs:4334:15 [INFO] [stdout] | [INFO] [stdout] 4334 | #[schema(examples(json!("foobar"), "barfoo"))] [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/schema_derive_test.rs:4448:15 [INFO] [stdout] | [INFO] [stdout] 4448 | #[schema(maximum = 10, minimum = 5, multiple_of = 2.5)] [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/schema_derive_test.rs:4451:15 [INFO] [stdout] | [INFO] [stdout] 4451 | #[schema(max_length = 10, min_length = 5, pattern = "[a-z]*")] [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/schema_derive_test.rs:4454:15 [INFO] [stdout] | [INFO] [stdout] 4454 | #[schema(max_items = 5, min_items = 1, min_length = 1)] [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/schema_derive_test.rs:4459:15 [INFO] [stdout] | [INFO] [stdout] 4459 | #[schema(minimum = 2)] [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/schema_derive_test.rs:4693:15 [INFO] [stdout] | [INFO] [stdout] 4693 | #[schema(schema_with = custom_type)] [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/schema_derive_test.rs:4754:15 [INFO] [stdout] | [INFO] [stdout] 4754 | #[schema(min_length = 5)] [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/schema_derive_test.rs:4755:15 [INFO] [stdout] | [INFO] [stdout] 4755 | #[schema(max_length = 10)] [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/schema_derive_test.rs:4846:15 [INFO] [stdout] | [INFO] [stdout] 4846 | #[schema(deprecated)] [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/schema_derive_test.rs:4848:15 [INFO] [stdout] | [INFO] [stdout] 4848 | #[schema(deprecated)] [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/schema_derive_test.rs:4850:15 [INFO] [stdout] | [INFO] [stdout] 4850 | #[schema(deprecated)] [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/schema_derive_test.rs:4852:15 [INFO] [stdout] | [INFO] [stdout] 4852 | #[schema(deprecated)] [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/schema_derive_test.rs:4854:15 [INFO] [stdout] | [INFO] [stdout] 4854 | #[schema(deprecated)] [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/schema_derive_test.rs:4909:15 [INFO] [stdout] | [INFO] [stdout] 4909 | #[schema(value_type = Object)] [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/schema_derive_test.rs:4933:15 [INFO] [stdout] | [INFO] [stdout] 4933 | #[schema(value_type = Value)] [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/schema_derive_test.rs:5459:11 [INFO] [stdout] | [INFO] [stdout] 5459 | #[schema( [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/schema_derive_test.rs:5486:11 [INFO] [stdout] | [INFO] [stdout] 5486 | #[schema( [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/schema_derive_test.rs:5505:11 [INFO] [stdout] | [INFO] [stdout] 5505 | #[schema( [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/schema_derive_test.rs:5532:11 [INFO] [stdout] | [INFO] [stdout] 5532 | #[schema( [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/schema_derive_test.rs:5568:15 [INFO] [stdout] | [INFO] [stdout] 5568 | #[schema(content_encoding = "bas64", value_type = String)] [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/schema_derive_test.rs:5594:15 [INFO] [stdout] | [INFO] [stdout] 5594 | #[schema(content_media_type = "application/octet-stream", value_type = String)] [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/schema_derive_test.rs:5625:15 [INFO] [stdout] | [INFO] [stdout] 5625 | #[schema(required = false, value_type = u32, example = 12)] [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/schema_derive_test.rs:5628:15 [INFO] [stdout] | [INFO] [stdout] 5628 | #[schema(required = true, value_type = u32, example = 12)] [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/schema_derive_test.rs:5631:15 [INFO] [stdout] | [INFO] [stdout] 5631 | #[schema(value_type = Option, example = 12)] [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/schema_derive_test.rs:5634:15 [INFO] [stdout] | [INFO] [stdout] 5634 | #[schema(required = true, value_type = Option, example = 12)] [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/schema_derive_test.rs:5690:11 [INFO] [stdout] | [INFO] [stdout] 5690 | #[schema(default)] [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/schema_derive_test.rs:5693:15 [INFO] [stdout] | [INFO] [stdout] 5693 | #[schema(default = -1, minimum = -2.1)] [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/schema_derive_test.rs:5695:15 [INFO] [stdout] | [INFO] [stdout] 5695 | #[schema(default = -2, maximum = -3)] [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/schema_derive_test.rs:5759:15 [INFO] [stdout] | [INFO] [stdout] 5759 | #[schema(ignore)] [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/schema_derive_test.rs:5784:15 [INFO] [stdout] | [INFO] [stdout] 5784 | #[schema(ignore = false)] [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/schema_derive_test.rs:5813:15 [INFO] [stdout] | [INFO] [stdout] 5813 | #[schema(ignore = Self::ignore)] [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/schema_derive_test.rs:5846:11 [INFO] [stdout] | [INFO] [stdout] 5846 | #[schema(title = "This is vec title")] [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/schema_derive_test.rs:5868:11 [INFO] [stdout] | [INFO] [stdout] 5868 | #[schema(title = "This is enum ref title")] [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/schema_derive_test.rs:5896:15 [INFO] [stdout] | [INFO] [stdout] 5896 | #[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 `schema` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:5899:15 [INFO] [stdout] | [INFO] [stdout] 5899 | #[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 `schema` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:6021:7 [INFO] [stdout] | [INFO] [stdout] 6021 | #[schema(title = "Title")] [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/schema_derive_test.rs:6044:11 [INFO] [stdout] | [INFO] [stdout] 6044 | #[schema(no_recursion)] [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/schema_derive_test.rs:6061:15 [INFO] [stdout] | [INFO] [stdout] 6061 | #[schema(no_recursion)] [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] 6059 + #[derive(ToSchema)] [INFO] [stdout] 6060 | pub enum Recursion { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:6064:11 [INFO] [stdout] | [INFO] [stdout] 6064 | #[schema(no_recursion)] [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] 6059 + #[derive(ToSchema)] [INFO] [stdout] 6060 | pub enum Recursion { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:6076:7 [INFO] [stdout] | [INFO] [stdout] 6076 | #[schema(no_recursion)] [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/schema_derive_test.rs:6080:7 [INFO] [stdout] | [INFO] [stdout] 6080 | #[openapi(components(schemas(Error, Recur)))] [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/schema_derive_test.rs:6094:7 [INFO] [stdout] | [INFO] [stdout] 6094 | #[schema(no_recursion)] [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/schema_derive_test.rs:6102:7 [INFO] [stdout] | [INFO] [stdout] 6102 | #[schema(no_recursion)] [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/schema_derive_test.rs:6111:11 [INFO] [stdout] | [INFO] [stdout] 6111 | #[schema(no_recursion)] [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] 6110 + #[derive(ToSchema)] [INFO] [stdout] 6111 | pub enum Recursion { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:6116:11 [INFO] [stdout] | [INFO] [stdout] 6116 | #[schema(no_recursion)] [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] 6110 + #[derive(ToSchema)] [INFO] [stdout] 6111 | pub enum Recursion { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:6122:7 [INFO] [stdout] | [INFO] [stdout] 6122 | #[openapi(components(schemas(Recursion, Tree, TreeRecursion)))] [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[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Debug` is not implemented for `SerdeContainer` [INFO] [stdout] --> src/component/serde.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Debug` is not implemented for `SerdeContainer` [INFO] [stdout] --> src/component/serde.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:4685:26 [INFO] [stdout] | [INFO] [stdout] 4685 | .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/schema_derive_test.rs:5958:24 [INFO] [stdout] | [INFO] [stdout] 5958 | fn schema() -> 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/schema_derive_test.rs:5958:48 [INFO] [stdout] | [INFO] [stdout] 5958 | fn schema() -> 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/schema_derive_test.rs:4684:26 [INFO] [stdout] | [INFO] [stdout] 4684 | .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] 4684 - .schema_type(fastapi::openapi::Type::String) [INFO] [stdout] 4684 + .schema_type(Type::String) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 33 | let map = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 34 | | struct Map { [INFO] [stdout] 35 | | map: HashMap, [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 52 | let map = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 53 | | struct Map { [INFO] [stdout] 54 | | map: HashMap, [INFO] [stdout] 55 | | #[schema(inline)] [INFO] [stdout] ... | [INFO] [stdout] 58 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 92 | let map = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 93 | | struct Map { [INFO] [stdout] 94 | | #[schema(additional_properties)] [INFO] [stdout] 95 | | map: HashMap, [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 116 | let map = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 117 | | #[derive(Serialize)] [INFO] [stdout] 118 | | struct Map { [INFO] [stdout] 119 | | #[serde(flatten)] [INFO] [stdout] ... | [INFO] [stdout] 122 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 141 | let map = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 142 | | #[derive(Serialize)] [INFO] [stdout] 143 | | struct Map { [INFO] [stdout] 144 | | #[serde(flatten)] [INFO] [stdout] ... | [INFO] [stdout] 147 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 160 | let mode = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 161 | | #[schema(default = "Mode1", example = "Mode2")] [INFO] [stdout] 162 | | enum Mode { [INFO] [stdout] 163 | | Mode1, Mode2 [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 177 | let mode = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 178 | | enum Mode { [INFO] [stdout] 179 | | Mode1, [INFO] [stdout] 180 | | Mode2 [INFO] [stdout] 181 | | } [INFO] [stdout] 182 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 196 | let mode = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 197 | | #[schema(default = mode_custom_default_fn)] [INFO] [stdout] 198 | | enum Mode { [INFO] [stdout] 199 | | Mode1, [INFO] [stdout] ... | [INFO] [stdout] 202 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 220 | let book = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 221 | | struct Book { [INFO] [stdout] 222 | | name: String, [INFO] [stdout] 223 | | hash: String, [INFO] [stdout] 224 | | } [INFO] [stdout] 225 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 237 | let book = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 238 | | struct Book { [INFO] [stdout] 239 | | #[schema(default = String::default)] [INFO] [stdout] 240 | | name: String, [INFO] [stdout] ... | [INFO] [stdout] 248 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 264 | let book = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 265 | | #[schema(default)] [INFO] [stdout] 266 | | struct Book { [INFO] [stdout] 267 | | name: String, [INFO] [stdout] ... | [INFO] [stdout] 284 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 298 | let owner = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 299 | | struct Owner { [INFO] [stdout] 300 | | #[schema(default = json!({ "name": "Dune" }))] [INFO] [stdout] 301 | | favorite_book: Book, [INFO] [stdout] ... | [INFO] [stdout] 309 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 376 | let book = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 377 | | #[derive(serde::Deserialize)] [INFO] [stdout] 378 | | #[serde(default)] [INFO] [stdout] 379 | | struct Book { [INFO] [stdout] ... | [INFO] [stdout] 397 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 411 | let owner = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 412 | | struct Owner { [INFO] [stdout] 413 | | #[schema(default = 1)] [INFO] [stdout] 414 | | id: i64, [INFO] [stdout] ... | [INFO] [stdout] 420 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 472 | let account = api_doc! { [INFO] [stdout] | ___________________- [INFO] [stdout] 473 | | /// This is user account dto object [INFO] [stdout] 474 | | /// [INFO] [stdout] 475 | | /// Detailed documentation here. [INFO] [stdout] ... | [INFO] [stdout] 489 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 539 | let account = api_doc! { [INFO] [stdout] | ___________________- [INFO] [stdout] 540 | | /// This is user account status enum [INFO] [stdout] 541 | | /// [INFO] [stdout] 542 | | /// Detailed documentation here. [INFO] [stdout] ... | [INFO] [stdout] 552 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 561 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 562 | | struct Point(f32); [INFO] [stdout] 563 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 573 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 574 | | /// Contains x and y coordinates [INFO] [stdout] 575 | | /// [INFO] [stdout] 576 | | /// Coordinates are used to pinpoint location on a map [INFO] [stdout] 577 | | struct Point(f64, f64); [INFO] [stdout] 578 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 592 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 593 | | struct Point(f64, String); [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 605 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 606 | | struct Wrapper(Option); [INFO] [stdout] 607 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 616 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 617 | | /// Some description [INFO] [stdout] 618 | | struct Wrapper(Option>); [INFO] [stdout] 619 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 631 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 632 | | /// Some documentation [INFO] [stdout] 633 | | struct Wrapper(Option>, String); [INFO] [stdout] 634 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 646 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 647 | | /// Some documentation [INFO] [stdout] 648 | | /// more documentation [INFO] [stdout] 649 | | struct Wrapper(Vec); [INFO] [stdout] 650 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 664 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 665 | | #[schema(default)] [INFO] [stdout] 666 | | struct Point(f32); [INFO] [stdout] ... | [INFO] [stdout] 673 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 684 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 685 | | #[schema(default)] [INFO] [stdout] 686 | | struct Point(f32, f32); [INFO] [stdout] ... | [INFO] [stdout] 693 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 701 | let vecs = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 702 | | struct VecTest { [INFO] [stdout] 703 | | vecs: Vec> [INFO] [stdout] 704 | | } [INFO] [stdout] 705 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 719 | let pet = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 720 | | #[schema(example = json!({"name": "bob the cat", "age": 8}))] [INFO] [stdout] 721 | | struct Pet { [INFO] [stdout] 722 | | name: String, [INFO] [stdout] ... | [INFO] [stdout] 725 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 736 | let pet = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 737 | | #[deprecated] [INFO] [stdout] 738 | | struct Pet { [INFO] [stdout] 739 | | name: String, [INFO] [stdout] ... | [INFO] [stdout] 743 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 757 | let pet = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 758 | | #[schema(deprecated)] [INFO] [stdout] 759 | | struct Pet { [INFO] [stdout] 760 | | name: String, [INFO] [stdout] ... | [INFO] [stdout] 764 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 779 | let pet_age = api_doc! { [INFO] [stdout] | ___________________- [INFO] [stdout] 780 | | #[deprecated] [INFO] [stdout] 781 | | #[schema(example = 8)] [INFO] [stdout] 782 | | struct PetAge(u64); [INFO] [stdout] 783 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 793 | let pet_age = api_doc! { [INFO] [stdout] | ___________________- [INFO] [stdout] 794 | | #[schema(deprecated, example = 8)] [INFO] [stdout] 795 | | struct PetAge(u64); [INFO] [stdout] 796 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 806 | let pet_age = api_doc! { [INFO] [stdout] | ___________________- [INFO] [stdout] 807 | | #[schema(example = "0", default = i64::default)] [INFO] [stdout] 808 | | struct PetAge(i64, i64); [INFO] [stdout] 809 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 825 | let mode = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 826 | | #[deprecated] [INFO] [stdout] 827 | | enum Mode { [INFO] [stdout] 828 | | Mode1, Mode2 [INFO] [stdout] 829 | | } [INFO] [stdout] 830 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 841 | let mode = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 842 | | #[schema(deprecated)] [INFO] [stdout] 843 | | enum Mode { [INFO] [stdout] 844 | | Mode1, Mode2 [INFO] [stdout] 845 | | } [INFO] [stdout] 846 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 858 | let greeting = api_doc! { [INFO] [stdout] | ____________________- [INFO] [stdout] 859 | | struct Greeting<'a> { [INFO] [stdout] 860 | | greeting: &'a str [INFO] [stdout] 861 | | } [INFO] [stdout] 862 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 872 | let greeting = api_doc! { [INFO] [stdout] | ____________________- [INFO] [stdout] 873 | | struct Greeting<'a> { [INFO] [stdout] 874 | | greeting: Cow<'a, str> [INFO] [stdout] 875 | | } [INFO] [stdout] 876 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 893 | let greeting = api_doc! { [INFO] [stdout] | ____________________- [INFO] [stdout] 894 | | struct Greeting { [INFO] [stdout] 895 | | foo: Box, [INFO] [stdout] 896 | | ref_cell_foo: RefCell [INFO] [stdout] 897 | | } [INFO] [stdout] 898 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 917 | let greeting = api_doc! { [INFO] [stdout] | ____________________- [INFO] [stdout] 918 | | struct Greeting { [INFO] [stdout] 919 | | #[schema(inline)] [INFO] [stdout] 920 | | foo1: Foo, [INFO] [stdout] ... | [INFO] [stdout] 928 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1007 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1008 | | #[derive(Serialize)] [INFO] [stdout] 1009 | | enum Bar { [INFO] [stdout] 1010 | | A, [INFO] [stdout] ... | [INFO] [stdout] 1014 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1031 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1032 | | #[derive(Serialize)] [INFO] [stdout] 1033 | | #[serde(tag = "tag")] [INFO] [stdout] 1034 | | enum Bar { [INFO] [stdout] ... | [INFO] [stdout] 1039 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1100 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1101 | | #[derive(Serialize)] [INFO] [stdout] 1102 | | #[serde(tag = "tag")] [INFO] [stdout] 1103 | | enum Bar { [INFO] [stdout] ... | [INFO] [stdout] 1109 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1143 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1144 | | #[derive(Serialize)] [INFO] [stdout] 1145 | | #[serde(untagged)] [INFO] [stdout] 1146 | | enum Foo { [INFO] [stdout] ... | [INFO] [stdout] 1150 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1168 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 1169 | | #[derive(Serialize)] [INFO] [stdout] 1170 | | /// Since OpenAPI 3.1 the description can be applied to Ref types [INFO] [stdout] 1171 | | struct Foo(Bar); [INFO] [stdout] 1172 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1189 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1190 | | #[derive(Serialize)] [INFO] [stdout] 1191 | | enum EnumWithReference { [INFO] [stdout] 1192 | | /// Since OpenAPI 3.1 the comments can be added to the Ref types as well [INFO] [stdout] ... | [INFO] [stdout] 1195 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1219 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1220 | | #[derive(Serialize)] [INFO] [stdout] 1221 | | #[serde(tag = "tag")] [INFO] [stdout] 1222 | | enum EnumWithReference { [INFO] [stdout] ... | [INFO] [stdout] 1225 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1248 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1249 | | /// This is the description [INFO] [stdout] 1250 | | #[derive(Serialize)] [INFO] [stdout] 1251 | | #[schema(example = json!(EnumWithProperties::Variant2{name: String::from("foobar")}), [INFO] [stdout] ... | [INFO] [stdout] 1261 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1319 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1320 | | #[derive(Serialize)] [INFO] [stdout] 1321 | | #[serde(tag = "enum")] [INFO] [stdout] 1322 | | enum EnumWithReference { [INFO] [stdout] ... | [INFO] [stdout] 1325 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1359 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1360 | | #[derive(Serialize)] [INFO] [stdout] 1361 | | #[serde(tag = "enum")] [INFO] [stdout] 1362 | | enum EnumWithReference { [INFO] [stdout] ... | [INFO] [stdout] 1370 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1440 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1441 | | #[derive(Serialize)] [INFO] [stdout] 1442 | | enum Bar { [INFO] [stdout] 1443 | | UnitValue, [INFO] [stdout] ... | [INFO] [stdout] 1450 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1506 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1507 | | #[derive(Serialize)] [INFO] [stdout] 1508 | | enum Bar { [INFO] [stdout] 1509 | | #[schema(deprecated)] [INFO] [stdout] ... | [INFO] [stdout] 1519 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1576 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1577 | | #[derive(Serialize)] [INFO] [stdout] 1578 | | enum Bar { [INFO] [stdout] 1579 | | #[schema(title = "Unit")] [INFO] [stdout] ... | [INFO] [stdout] 1588 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1639 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1640 | | #[derive(Serialize)] [INFO] [stdout] 1641 | | enum EnumWithExample { [INFO] [stdout] 1642 | | #[schema(example = "EX: Unit")] [INFO] [stdout] ... | [INFO] [stdout] 1652 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1704 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1705 | | #[derive(Serialize)] [INFO] [stdout] 1706 | | #[serde(rename_all = "snake_case")] [INFO] [stdout] 1707 | | enum Bar { [INFO] [stdout] ... | [INFO] [stdout] 1715 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1769 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1770 | | #[derive(Serialize)] [INFO] [stdout] 1771 | | enum Bar { [INFO] [stdout] 1772 | | #[serde(rename = "renamed_unit_value")] [INFO] [stdout] ... | [INFO] [stdout] 1784 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1835 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1836 | | #[schema(rename_all = "SCREAMING-KEBAB-CASE")] [INFO] [stdout] 1837 | | struct Post { [INFO] [stdout] 1838 | | post_id: i64, [INFO] [stdout] ... | [INFO] [stdout] 1843 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1873 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1874 | | #[schema(rename_all = "UPPERCASE")] [INFO] [stdout] 1875 | | enum PostType { [INFO] [stdout] 1876 | | NewPost(String), [INFO] [stdout] ... | [INFO] [stdout] 1890 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1957 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1958 | | #[derive(serde::Deserialize)] [INFO] [stdout] 1959 | | #[serde(rename_all = "lowercase")] [INFO] [stdout] 1960 | | #[schema(rename_all = "UPPERCASE")] [INFO] [stdout] ... | [INFO] [stdout] 1970 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2008 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2009 | | #[schema(title = "Post")] [INFO] [stdout] 2010 | | struct Post { [INFO] [stdout] 2011 | | id: i64, [INFO] [stdout] 2012 | | } [INFO] [stdout] 2013 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2033 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2034 | | #[schema(title = "UserType")] [INFO] [stdout] 2035 | | enum UserType { [INFO] [stdout] 2036 | | Admin, [INFO] [stdout] ... | [INFO] [stdout] 2040 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2054 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2055 | | enum UserType { [INFO] [stdout] 2056 | | #[schema(title = "admin")] [INFO] [stdout] 2057 | | Admin(String), [INFO] [stdout] ... | [INFO] [stdout] 2063 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2114 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2115 | | #[derive(Serialize)] [INFO] [stdout] 2116 | | #[serde(tag = "tag")] [INFO] [stdout] 2117 | | enum Bar { [INFO] [stdout] ... | [INFO] [stdout] 2124 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2197 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2198 | | #[derive(Serialize)] [INFO] [stdout] 2199 | | struct Record { [INFO] [stdout] 2200 | | amount: i64, [INFO] [stdout] ... | [INFO] [stdout] 2205 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2237 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2238 | | #[derive(Serialize)] [INFO] [stdout] 2239 | | struct NamedFields { [INFO] [stdout] 2240 | | id: &'static str, [INFO] [stdout] ... | [INFO] [stdout] 2246 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2276 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2277 | | #[derive(Serialize)] [INFO] [stdout] 2278 | | #[serde(untagged)] [INFO] [stdout] 2279 | | #[schema(title = "FooTitle")] [INFO] [stdout] ... | [INFO] [stdout] 2284 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2305 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2306 | | #[derive(Serialize)] [INFO] [stdout] 2307 | | #[serde(untagged)] [INFO] [stdout] 2308 | | enum EnumWithUnit { [INFO] [stdout] ... | [INFO] [stdout] 2312 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2339 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2340 | | #[derive(Serialize)] [INFO] [stdout] 2341 | | #[serde(untagged)] [INFO] [stdout] 2342 | | enum Bar { [INFO] [stdout] ... | [INFO] [stdout] 2346 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2372 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2373 | | #[derive(Serialize)] [INFO] [stdout] 2374 | | #[serde(untagged)] [INFO] [stdout] 2375 | | enum Foo { [INFO] [stdout] ... | [INFO] [stdout] 2379 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2421 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2422 | | #[derive(Serialize)] [INFO] [stdout] 2423 | | #[serde(untagged)] [INFO] [stdout] 2424 | | enum Foo { [INFO] [stdout] ... | [INFO] [stdout] 2430 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2466 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2467 | | #[derive(Serialize)] [INFO] [stdout] 2468 | | #[serde(tag = "tag", content = "content")] [INFO] [stdout] 2469 | | enum Foo { [INFO] [stdout] ... | [INFO] [stdout] 2473 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2529 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2530 | | #[derive(Serialize)] [INFO] [stdout] 2531 | | #[serde(tag = "tag", content = "content")] [INFO] [stdout] 2532 | | enum Bar { [INFO] [stdout] ... | [INFO] [stdout] 2536 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2598 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2599 | | #[derive(Serialize)] [INFO] [stdout] 2600 | | #[serde(untagged)] [INFO] [stdout] 2601 | | #[schema(discriminator = "bar")] [INFO] [stdout] ... | [INFO] [stdout] 2606 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2641 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2642 | | #[derive(Serialize)] [INFO] [stdout] 2643 | | #[serde(untagged)] [INFO] [stdout] 2644 | | #[schema(discriminator(property_name = "bar_type", mapping( [INFO] [stdout] ... | [INFO] [stdout] 2652 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2684 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2685 | | #[derive(Serialize)] [INFO] [stdout] 2686 | | #[serde(tag = "tag", content = "content")] [INFO] [stdout] 2687 | | enum Foo { [INFO] [stdout] ... | [INFO] [stdout] 2691 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2763 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2764 | | #[derive(Serialize)] [INFO] [stdout] 2765 | | #[serde(tag = "tag", content = "content")] [INFO] [stdout] 2766 | | enum Foo { [INFO] [stdout] ... | [INFO] [stdout] 2772 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2842 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2843 | | #[derive(Serialize)] [INFO] [stdout] 2844 | | #[serde(tag = "tag")] [INFO] [stdout] 2845 | | enum Bar { [INFO] [stdout] ... | [INFO] [stdout] 2853 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2900 | let user = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 2901 | | struct User { [INFO] [stdout] 2902 | | #[schema(read_only)] [INFO] [stdout] 2903 | | username: String, [INFO] [stdout] ... | [INFO] [stdout] 2907 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2921 | let user = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 2922 | | #[derive(Serialize)] [INFO] [stdout] 2923 | | struct User { [INFO] [stdout] 2924 | | #[schema(nullable)] [INFO] [stdout] ... | [INFO] [stdout] 2939 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3009 | let card = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3010 | | enum Card { [INFO] [stdout] 3011 | | Number(#[schema(inline)] Number), [INFO] [stdout] 3012 | | Color(#[schema(inline)] Color), [INFO] [stdout] 3013 | | } [INFO] [stdout] 3014 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3066 | let user = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3067 | | #[schema(xml(name = "user", prefix = "u", namespace = "https://mynamespace.test"))] [INFO] [stdout] 3068 | | struct User { [INFO] [stdout] 3069 | | #[schema(xml(attribute, prefix = "u"))] [INFO] [stdout] ... | [INFO] [stdout] 3078 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3118 | let user = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3119 | | #[schema(xml(name = "user"))] [INFO] [stdout] 3120 | | struct User { [INFO] [stdout] 3121 | | #[schema(xml(attribute, prefix = "u"))] [INFO] [stdout] ... | [INFO] [stdout] 3126 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3249 | let post = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3250 | | struct Post { [INFO] [stdout] 3251 | | id: i32, [INFO] [stdout] 3252 | | #[schema(value_type = String)] [INFO] [stdout] ... | [INFO] [stdout] 3255 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3273 | let post = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3274 | | struct Post { [INFO] [stdout] 3275 | | id: i32, [INFO] [stdout] 3276 | | #[schema(value_type = path::to::Foo)] [INFO] [stdout] ... | [INFO] [stdout] 3279 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3298 | let post = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3299 | | struct Post { [INFO] [stdout] 3300 | | id: i32, [INFO] [stdout] 3301 | | #[schema(value_type = path::to::Foo)] [INFO] [stdout] ... | [INFO] [stdout] 3304 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3316 | let post = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3317 | | struct Post { [INFO] [stdout] 3318 | | id: i32, [INFO] [stdout] 3319 | | #[schema(value_type = String, format = Byte)] [INFO] [stdout] ... | [INFO] [stdout] 3322 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3334 | let post = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3335 | | struct Post { [INFO] [stdout] 3336 | | #[schema(value_type = String, format = "uri")] [INFO] [stdout] 3337 | | value: String, [INFO] [stdout] 3338 | | } [INFO] [stdout] 3339 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3349 | let post = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3350 | | struct Post { [INFO] [stdout] 3351 | | id: i32, [INFO] [stdout] 3352 | | #[schema(value_type = String, format = Binary)] [INFO] [stdout] ... | [INFO] [stdout] 3355 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3367 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 3368 | | #[schema(value_type = String)] [INFO] [stdout] 3369 | | struct Value(i64); [INFO] [stdout] 3370 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3380 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 3381 | | #[schema(value_type = String, format = Byte)] [INFO] [stdout] 3382 | | struct Value(i64); [INFO] [stdout] 3383 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3393 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 3394 | | #[schema(format = Ipv4)] [INFO] [stdout] 3395 | | struct Ipv4(String); [INFO] [stdout] 3396 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3406 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 3407 | | struct Value { [INFO] [stdout] 3408 | | #[schema(value_type = Object)] [INFO] [stdout] 3409 | | field: String, [INFO] [stdout] 3410 | | } [INFO] [stdout] 3411 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3435 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 3436 | | struct Value { [INFO] [stdout] 3437 | | #[schema(value_type = custom::NewBar)] [INFO] [stdout] 3438 | | field: String, [INFO] [stdout] 3439 | | } [INFO] [stdout] 3440 | | }; [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 `api_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/schema_derive_test.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | <$ident<$generic> as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3592 | let post = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3593 | | #[derive(Serialize)] [INFO] [stdout] 3594 | | #[serde(rename_all = "camelCase")] [INFO] [stdout] 3595 | | #[schema(bound = "")] [INFO] [stdout] ... | [INFO] [stdout] 3605 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3630 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 3631 | | #[derive(Serialize)] [INFO] [stdout] 3632 | | #[serde(rename_all = "camelCase")] [INFO] [stdout] 3633 | | enum Value { [INFO] [stdout] ... | [INFO] [stdout] 3639 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3650 | let mixed_enum = api_doc! { [INFO] [stdout] | ______________________- [INFO] [stdout] 3651 | | #[derive(Serialize)] [INFO] [stdout] 3652 | | #[serde(rename_all = "camelCase")] [INFO] [stdout] 3653 | | enum Bar { [INFO] [stdout] ... | [INFO] [stdout] 3665 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3682 | let ty = api_doc! { [INFO] [stdout] | ______________- [INFO] [stdout] 3683 | | struct Bar { [INFO] [stdout] 3684 | | args: Vec> [INFO] [stdout] 3685 | | } [INFO] [stdout] 3686 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3758 | let doc = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 3759 | | #[allow(unused)] [INFO] [stdout] 3760 | | struct Random { [INFO] [stdout] 3761 | | #[schema(value_type = i64)] [INFO] [stdout] ... | [INFO] [stdout] 3778 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3846 | let doc = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 3847 | | enum Bar<'bar> { [INFO] [stdout] 3848 | | A { foo: Foo<'bar> }, [INFO] [stdout] 3849 | | B, [INFO] [stdout] ... | [INFO] [stdout] 3852 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3888 | let doc = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 3889 | | struct Bar { [INFO] [stdout] 3890 | | r#in: String [INFO] [stdout] 3891 | | } [INFO] [stdout] 3892 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3912 | let example_schema = api_doc! { [INFO] [stdout] | __________________________- [INFO] [stdout] 3913 | | struct ExampleSchema { [INFO] [stdout] 3914 | | values: LinkedList [INFO] [stdout] 3915 | | } [INFO] [stdout] 3916 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3966 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 3967 | | #[derive(serde::Deserialize)] [INFO] [stdout] 3968 | | struct MyValue { [INFO] [stdout] 3969 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 3972 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3989 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 3990 | | #[derive(serde::Deserialize, Default)] [INFO] [stdout] 3991 | | #[serde(default)] [INFO] [stdout] 3992 | | struct MyValue { [INFO] [stdout] ... | [INFO] [stdout] 3995 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4013 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 4014 | | #[derive(serde::Deserialize, Default)] [INFO] [stdout] 4015 | | #[serde(deny_unknown_fields)] [INFO] [stdout] 4016 | | struct MyValue { [INFO] [stdout] ... | [INFO] [stdout] 4019 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4195 | let post = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 4196 | | struct Post { [INFO] [stdout] 4197 | | id: i32, [INFO] [stdout] 4198 | | #[schema(example = json!(["foobar", "barfoo"]))] [INFO] [stdout] ... | [INFO] [stdout] 4201 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4229 | let doc = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 4230 | | struct MyValue { [INFO] [stdout] 4231 | | #[schema(example = "test")] [INFO] [stdout] 4232 | | field1: String, [INFO] [stdout] ... | [INFO] [stdout] 4244 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4296 | let doc = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 4297 | | #[derive(serde::Serialize, serde::Deserialize)] [INFO] [stdout] 4298 | | #[schema(examples(json!("kim"), json!("jim")))] [INFO] [stdout] 4299 | | struct UsernameRequestWrapper(String); [INFO] [stdout] 4300 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4314 | let doc = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 4315 | | #[derive(serde::Serialize, serde::Deserialize)] [INFO] [stdout] 4316 | | #[schema(examples(json!("kim"), json!("jim")))] [INFO] [stdout] 4317 | | struct UsernameRequestWrapper(Username); [INFO] [stdout] 4318 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4330 | let doc = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 4331 | | #[derive(serde::Serialize, serde::Deserialize)] [INFO] [stdout] 4332 | | #[schema(examples(json!({"username": "kim"}), json!(UsernameRequest {username: "jim".to_string()})))] [INFO] [stdout] 4333 | | struct UsernameRequest { [INFO] [stdout] ... | [INFO] [stdout] 4337 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4362 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 4363 | | struct Item { [INFO] [stdout] 4364 | | id: String, [INFO] [stdout] 4365 | | previous: Box, [INFO] [stdout] 4366 | | } [INFO] [stdout] 4367 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4388 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 4389 | | struct Item(Box); [INFO] [stdout] 4390 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4402 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 4403 | | enum EnumValue { [INFO] [stdout] 4404 | | Item(Box), [INFO] [stdout] 4405 | | Item2 { [INFO] [stdout] ... | [INFO] [stdout] 4409 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4446 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 4447 | | struct Item { [INFO] [stdout] 4448 | | #[schema(maximum = 10, minimum = 5, multiple_of = 2.5)] [INFO] [stdout] 4449 | | id: i32, [INFO] [stdout] ... | [INFO] [stdout] 4463 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4623 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 4624 | | struct Item<'a> { [INFO] [stdout] 4625 | | array: [&'a str; 10], [INFO] [stdout] 4626 | | slice: &'a [&'a str], [INFO] [stdout] 4627 | | } [INFO] [stdout] 4628 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4658 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 4659 | | #[derive(serde::Deserialize)] [INFO] [stdout] 4660 | | struct Value { [INFO] [stdout] 4661 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 4665 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4691 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 4692 | | struct Value { [INFO] [stdout] 4693 | | #[schema(schema_with = custom_type)] [INFO] [stdout] 4694 | | id: String, [INFO] [stdout] 4695 | | } [INFO] [stdout] 4696 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4716 | let data = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 4717 | | struct Data { [INFO] [stdout] 4718 | | unit_type: () [INFO] [stdout] 4719 | | } [INFO] [stdout] 4720 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4738 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 4739 | | struct UnitValue; [INFO] [stdout] 4740 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4752 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 4753 | | struct UserName { [INFO] [stdout] 4754 | | #[schema(min_length = 5)] [INFO] [stdout] 4755 | | #[schema(max_length = 10)] [INFO] [stdout] ... | [INFO] [stdout] 4758 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4780 | let account = api_doc! { [INFO] [stdout] | ___________________- [INFO] [stdout] 4781 | | struct Account { [INFO] [stdout] 4782 | | #[deprecated] [INFO] [stdout] 4783 | | id: i64, [INFO] [stdout] ... | [INFO] [stdout] 4793 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4844 | let account = api_doc! { [INFO] [stdout] | ___________________- [INFO] [stdout] 4845 | | struct AccountA { [INFO] [stdout] 4846 | | #[schema(deprecated)] [INFO] [stdout] 4847 | | id: i64, [INFO] [stdout] ... | [INFO] [stdout] 4857 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4906 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 4907 | | struct Value { [INFO] [stdout] 4908 | | /// This is object value [INFO] [stdout] 4909 | | #[schema(value_type = Object)] [INFO] [stdout] ... | [INFO] [stdout] 4912 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4931 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 4932 | | struct Value { [INFO] [stdout] 4933 | | #[schema(value_type = Value)] [INFO] [stdout] 4934 | | any: String, [INFO] [stdout] 4935 | | } [INFO] [stdout] 4936 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4953 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 4954 | | struct Value { [INFO] [stdout] 4955 | | any: serde_json::Value, [INFO] [stdout] 4956 | | } [INFO] [stdout] 4957 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 4980 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 4981 | | struct Post { [INFO] [stdout] 4982 | | info: (String, i64, bool, Person) [INFO] [stdout] 4983 | | } [INFO] [stdout] 4984 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5024 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5025 | | struct Post { [INFO] [stdout] 5026 | | /// This is description [INFO] [stdout] 5027 | | #[deprecated] [INFO] [stdout] ... | [INFO] [stdout] 5030 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5062 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5063 | | #[derive(Serialize)] [INFO] [stdout] 5064 | | #[serde(untagged)] [INFO] [stdout] 5065 | | enum ComputeRequest { [INFO] [stdout] ... | [INFO] [stdout] 5069 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5089 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5090 | | struct Container { [INFO] [stdout] 5091 | | volumes: HashMap> [INFO] [stdout] 5092 | | } [INFO] [stdout] 5093 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5239 | let greeting = api_doc! { [INFO] [stdout] | ____________________- [INFO] [stdout] 5240 | | struct Greeting { [INFO] [stdout] 5241 | | values: BTreeSet, [INFO] [stdout] 5242 | | } [INFO] [stdout] 5243 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5269 | let greeting = api_doc! { [INFO] [stdout] | ____________________- [INFO] [stdout] 5270 | | struct Greeting { [INFO] [stdout] 5271 | | values: HashSet, [INFO] [stdout] 5272 | | } [INFO] [stdout] 5273 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5297 | let map = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 5298 | | #[doc(hidden)] [INFO] [stdout] 5299 | | struct Map { [INFO] [stdout] 5300 | | map: HashMap, [INFO] [stdout] 5301 | | } [INFO] [stdout] 5302 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5311 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 5312 | | /// top level doc for My enum [INFO] [stdout] 5313 | | #[derive(Serialize)] [INFO] [stdout] 5314 | | enum MyEnum { [INFO] [stdout] ... | [INFO] [stdout] 5320 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5354 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 5355 | | /// top level doc for My enum [INFO] [stdout] 5356 | | enum MyEnum { [INFO] [stdout] 5357 | | /// doc for tuple variant with Option as first element - I now produce a description [INFO] [stdout] ... | [INFO] [stdout] 5363 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5398 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 5399 | | /// top level doc for My enum [INFO] [stdout] 5400 | | enum MyEnum { [INFO] [stdout] 5401 | | /// doc for tuple variant with Option as first element - I now produce a description [INFO] [stdout] ... | [INFO] [stdout] 5407 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5457 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5458 | | /// Normal description [INFO] [stdout] 5459 | | #[schema( [INFO] [stdout] 5460 | | description = "This is overridden description" [INFO] [stdout] ... | [INFO] [stdout] 5465 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5484 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5485 | | /// Normal description [INFO] [stdout] 5486 | | #[schema( [INFO] [stdout] 5487 | | description = include_str!("./testdata/description_override") [INFO] [stdout] 5488 | | )] [INFO] [stdout] 5489 | | struct SchemaDescOverride(&'static str); [INFO] [stdout] 5490 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5503 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5504 | | /// Normal description [INFO] [stdout] 5505 | | #[schema( [INFO] [stdout] 5506 | | description = include_str!("./testdata/description_override") [INFO] [stdout] ... | [INFO] [stdout] 5511 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5530 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5531 | | /// Normal description [INFO] [stdout] 5532 | | #[schema( [INFO] [stdout] 5533 | | description = include_str!("./testdata/description_override") [INFO] [stdout] ... | [INFO] [stdout] 5539 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5566 | let item = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 5567 | | struct PersonRequest { [INFO] [stdout] 5568 | | #[schema(content_encoding = "bas64", value_type = String)] [INFO] [stdout] 5569 | | picture: Vec [INFO] [stdout] 5570 | | } [INFO] [stdout] 5571 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5592 | let item = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 5593 | | struct PersonRequest { [INFO] [stdout] 5594 | | #[schema(content_media_type = "application/octet-stream", value_type = String)] [INFO] [stdout] 5595 | | doc: Vec [INFO] [stdout] 5596 | | } [INFO] [stdout] 5597 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5621 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5622 | | #[allow(unused)] [INFO] [stdout] 5623 | | struct Params { [INFO] [stdout] 5624 | | /// Maximum number of results to return. [INFO] [stdout] ... | [INFO] [stdout] 5637 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5689 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5690 | | #[schema(default)] [INFO] [stdout] 5691 | | #[derive(Default)] [INFO] [stdout] 5692 | | struct Negative { [INFO] [stdout] ... | [INFO] [stdout] 5698 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5733 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5734 | | struct Mapped(std::collections::BTreeMap); [INFO] [stdout] 5735 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5756 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5757 | | struct SchemaIgnoredField { [INFO] [stdout] 5758 | | value: String, [INFO] [stdout] 5759 | | #[schema(ignore)] [INFO] [stdout] ... | [INFO] [stdout] 5762 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5781 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5782 | | struct SchemaIgnoredField { [INFO] [stdout] 5783 | | value: String, [INFO] [stdout] 5784 | | #[schema(ignore = false)] [INFO] [stdout] ... | [INFO] [stdout] 5787 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5810 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5811 | | struct SchemaIgnoredField { [INFO] [stdout] 5812 | | value: String, [INFO] [stdout] 5813 | | #[schema(ignore = Self::ignore)] [INFO] [stdout] ... | [INFO] [stdout] 5822 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5845 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5846 | | #[schema(title = "This is vec title")] [INFO] [stdout] 5847 | | struct SchemaIgnoredField (Vec); [INFO] [stdout] 5848 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5867 | let enum_value = api_doc! { [INFO] [stdout] | ______________________- [INFO] [stdout] 5868 | | #[schema(title = "This is enum ref title")] [INFO] [stdout] 5869 | | struct SchemaIgnoredField (UnnamedEnum); [INFO] [stdout] 5870 | | }; [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 `api_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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5893 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5894 | | struct FooInlined { [INFO] [stdout] 5895 | | /// This is description [INFO] [stdout] 5896 | | #[schema(inline)] [INFO] [stdout] ... | [INFO] [stdout] 5902 | | }; [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 `api_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/schema_derive_test.rs:5957:10 [INFO] [stdout] | [INFO] [stdout] 5957 | impl fastapi::PartialSchema for Newtype { [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/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 5963 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 5964 | | struct Dto { [INFO] [stdout] 5965 | | customer: Newtype [INFO] [stdout] 5966 | | } [INFO] [stdout] 5967 | | }; [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 `api_doc` (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] [stderr] error: could not compile `fastapi-gen` (test "schema_derive_test") due to 309 previous errors [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" "c19eedc77318de923047ec60f258e55d87900e9ea7077dc0728b36f26bebcbaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c19eedc77318de923047ec60f258e55d87900e9ea7077dc0728b36f26bebcbaa", kill_on_drop: false }` [INFO] [stdout] c19eedc77318de923047ec60f258e55d87900e9ea7077dc0728b36f26bebcbaa