[INFO] fetching crate fastapi-gen 0.1.1... [INFO] testing fastapi-gen-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate fastapi-gen 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate fastapi-gen 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate fastapi-gen 0.1.1 [INFO] tweaked toml for crates.io crate fastapi-gen 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fastapi-gen 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fastapi-config v0.1.1 [INFO] [stderr] Downloaded actix-http v3.11.1 [INFO] [stderr] Downloaded regex-lite v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c846db62bc85c2b86c2197ba6aadb6e6c2a697ba34d80d88c3ad514609703fa2 [INFO] running `Command { std: "docker" "start" "-a" "c846db62bc85c2b86c2197ba6aadb6e6c2a697ba34d80d88c3ad514609703fa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c846db62bc85c2b86c2197ba6aadb6e6c2a697ba34d80d88c3ad514609703fa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c846db62bc85c2b86c2197ba6aadb6e6c2a697ba34d80d88c3ad514609703fa2", kill_on_drop: false }` [INFO] [stdout] c846db62bc85c2b86c2197ba6aadb6e6c2a697ba34d80d88c3ad514609703fa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d01014acf59c06b1da5298ee90ec3c3d8adbd991971b1ed7fbc5a60f555eb7d [INFO] running `Command { std: "docker" "start" "-a" "0d01014acf59c06b1da5298ee90ec3c3d8adbd991971b1ed7fbc5a60f555eb7d", 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 10.64s [INFO] running `Command { std: "docker" "inspect" "0d01014acf59c06b1da5298ee90ec3c3d8adbd991971b1ed7fbc5a60f555eb7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d01014acf59c06b1da5298ee90ec3c3d8adbd991971b1ed7fbc5a60f555eb7d", kill_on_drop: false }` [INFO] [stdout] 0d01014acf59c06b1da5298ee90ec3c3d8adbd991971b1ed7fbc5a60f555eb7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 154a391ae339451ab8ce60304fbe93d7eb565f6a7d94c62347cc7b097d3534bc [INFO] running `Command { std: "docker" "start" "-a" "154a391ae339451ab8ce60304fbe93d7eb565f6a7d94c62347cc7b097d3534bc", 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 ref-cast v1.0.24 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling inlinable_string v0.1.15 [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 actix-service v2.0.3 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling state v0.6.0 [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 language-tags v0.3.2 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling binascii v0.1.4 [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 tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [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 devise v0.4.2 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [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 axum-core v0.4.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties 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 serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling actix-router v0.5.3 [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 idna v1.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling chrono v0.4.41 [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/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: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/openapi_derive_test.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[schema(example = json!({"name": "bob the cat", "id": 1}))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `schema` is an attribute that can be used by the derive macro `ToSchema`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 15 + #[derive(ToSchema)] [INFO] [stdout] 16 | struct Pet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fastapi-gen` (test "openapi_derive_test") due to 4 previous errors [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fastapi::ToSchema; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [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/response_derive_test.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 257 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 473 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 474 | | /// This is success response [INFO] [stdout] 475 | | #[response(status = 200)] [INFO] [stdout] 476 | | struct SuccessResponse { [INFO] [stdout] ... | [INFO] [stdout] 479 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 507 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 508 | | /// Not found response [INFO] [stdout] 509 | | #[response(status = NOT_FOUND)] [INFO] [stdout] 510 | | struct NotFound; [INFO] [stdout] 511 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:525:14 [INFO] [stdout] | [INFO] [stdout] 525 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 531 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 532 | | #[response(status = 201)] [INFO] [stdout] 533 | | struct CreatedResponse(#[to_schema] Foo); [INFO] [stdout] 534 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 561 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 562 | | #[response(status = 201)] [INFO] [stdout] 563 | | struct CreatedResponse(String); [INFO] [stdout] 564 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:585:14 [INFO] [stdout] | [INFO] [stdout] 585 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 591 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 592 | | #[response(status = 201)] [INFO] [stdout] 593 | | struct CreatedResponse(Foo); [INFO] [stdout] 594 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:615:14 [INFO] [stdout] | [INFO] [stdout] 615 | #[derive(fastapi::ToResponse)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 621 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 622 | | #[response(status = 201)] [INFO] [stdout] 623 | | struct CreatedResponse(#[ref_response] Foo); [INFO] [stdout] 624 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:638:14 [INFO] [stdout] | [INFO] [stdout] 638 | #[derive(fastapi::ToResponse)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 644 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 645 | | #[response(status = 201)] [INFO] [stdout] 646 | | struct CreatedResponse(#[to_response] Foo); [INFO] [stdout] 647 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:674:14 [INFO] [stdout] | [INFO] [stdout] 674 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:680:14 [INFO] [stdout] | [INFO] [stdout] 680 | #[derive(fastapi::ToResponse)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(fastapi::IntoResponses)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 686 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 687 | | enum UserResponses { [INFO] [stdout] 688 | | /// Success response [INFO] [stdout] 689 | | #[response(status = 200)] [INFO] [stdout] ... | [INFO] [stdout] 704 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:475:11 [INFO] [stdout] | [INFO] [stdout] 475 | #[response(status = 200)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:509:11 [INFO] [stdout] | [INFO] [stdout] 509 | #[response(status = NOT_FOUND)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:532:11 [INFO] [stdout] | [INFO] [stdout] 532 | #[response(status = 201)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_schema` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:533:34 [INFO] [stdout] | [INFO] [stdout] 533 | struct CreatedResponse(#[to_schema] Foo); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `to_schema` is an attribute that can be used by the derive macros `IntoResponses` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:562:11 [INFO] [stdout] | [INFO] [stdout] 562 | #[response(status = 201)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:592:11 [INFO] [stdout] | [INFO] [stdout] 592 | #[response(status = 201)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:622:11 [INFO] [stdout] | [INFO] [stdout] 622 | #[response(status = 201)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ref_response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:623:34 [INFO] [stdout] | [INFO] [stdout] 623 | struct CreatedResponse(#[ref_response] Foo); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ref_response` is an attribute that can be used by the derive macro `IntoResponses`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:645:11 [INFO] [stdout] | [INFO] [stdout] 645 | #[response(status = 201)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:646:34 [INFO] [stdout] | [INFO] [stdout] 646 | struct CreatedResponse(#[to_response] Foo); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `to_response` is an attribute that can be used by the derive macro `IntoResponses`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:689:15 [INFO] [stdout] | [INFO] [stdout] 689 | #[response(status = 200)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:692:15 [INFO] [stdout] | [INFO] [stdout] 692 | #[response(status = 404)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:695:15 [INFO] [stdout] | [INFO] [stdout] 695 | #[response(status = 400)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:698:15 [INFO] [stdout] | [INFO] [stdout] 698 | #[response(status = 500)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ref_response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:699:27 [INFO] [stdout] | [INFO] [stdout] 699 | ServerError(#[ref_response] Response), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ref_response` is an attribute that can be used by the derive macro `IntoResponses`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 701 | #[response(status = 418)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `response` is an attribute that can be used by the derive macros `IntoResponses`, `Responder` and `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_response` in this scope [INFO] [stdout] --> tests/response_derive_test.rs:702:22 [INFO] [stdout] | [INFO] [stdout] 702 | TeaPot(#[to_response] Response), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `to_response` is an attribute that can be used by the derive macro `IntoResponses`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/modify_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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/modify_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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/modify_test.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | fastapi::openapi::ComponentsBuilder::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/response_derive_test.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [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 "modify_test") due to 3 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[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/request_body_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/request_body_derive_test.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 31 | / test_fn! { [INFO] [stdout] 32 | | module: derive_request_body_simple, [INFO] [stdout] 33 | | body: = Foo [INFO] [stdout] 34 | | } [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/request_body_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 31 | / test_fn! { [INFO] [stdout] 32 | | module: derive_request_body_simple, [INFO] [stdout] 33 | | body: = Foo [INFO] [stdout] 34 | | } [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/request_body_derive_test.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | #[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/request_body_derive_test.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[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/request_body_derive_test.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 87 | / test_fn! { [INFO] [stdout] 88 | | module: derive_request_body_option_array, [INFO] [stdout] 89 | | body: = Option<[Foo]> [INFO] [stdout] 90 | | } [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/request_body_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 87 | / test_fn! { [INFO] [stdout] 88 | | module: derive_request_body_option_array, [INFO] [stdout] 89 | | body: = Option<[Foo]> [INFO] [stdout] 90 | | } [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/request_body_derive_test.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 118 | / test_fn! { [INFO] [stdout] 119 | | module: derive_request_body_primitive_simple, [INFO] [stdout] 120 | | body: = String [INFO] [stdout] 121 | | } [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/request_body_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 118 | / test_fn! { [INFO] [stdout] 119 | | module: derive_request_body_primitive_simple, [INFO] [stdout] 120 | | body: = String [INFO] [stdout] 121 | | } [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/request_body_derive_test.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | #[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/request_body_derive_test.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | #[fastapi::path(post, path = "/foo", request_body(content_type = "application/json"))] [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/request_body_derive_test.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 171 | / test_fn! { [INFO] [stdout] 172 | | module: derive_request_body_primitive_simple_array, [INFO] [stdout] 173 | | body: = [i64] [INFO] [stdout] 174 | | } [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/request_body_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 171 | / test_fn! { [INFO] [stdout] 172 | | module: derive_request_body_primitive_simple_array, [INFO] [stdout] 173 | | body: = [i64] [INFO] [stdout] 174 | | } [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/request_body_derive_test.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 205 | / test_fn! { [INFO] [stdout] 206 | | module: derive_request_body_complex, [INFO] [stdout] 207 | | body: (content = Foo, description = "Create new Foo", content_type = "text/xml") [INFO] [stdout] 208 | | } [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/request_body_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 205 | / test_fn! { [INFO] [stdout] 206 | | module: derive_request_body_complex, [INFO] [stdout] 207 | | body: (content = Foo, description = "Create new Foo", content_type = "text/xml") [INFO] [stdout] 208 | | } [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/request_body_derive_test.rs:240:14 [INFO] [stdout] | [INFO] [stdout] 240 | #[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/request_body_derive_test.rs:247:7 [INFO] [stdout] | [INFO] [stdout] 247 | #[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/request_body_derive_test.rs:285:14 [INFO] [stdout] | [INFO] [stdout] 285 | #[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/request_body_derive_test.rs:292:7 [INFO] [stdout] | [INFO] [stdout] 292 | #[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/request_body_derive_test.rs:330:14 [INFO] [stdout] | [INFO] [stdout] 330 | #[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/request_body_derive_test.rs:337:7 [INFO] [stdout] | [INFO] [stdout] 337 | #[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/request_body_derive_test.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | #[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/request_body_derive_test.rs:378:7 [INFO] [stdout] | [INFO] [stdout] 378 | #[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/request_body_derive_test.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 433 | / test_fn! { [INFO] [stdout] 434 | | module: derive_request_body_complex_inline, [INFO] [stdout] 435 | | body: (content = inline(Foo), description = "Create new Foo", content_type = "text/xml") [INFO] [stdout] 436 | | } [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/request_body_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 433 | / test_fn! { [INFO] [stdout] 434 | | module: derive_request_body_complex_inline, [INFO] [stdout] 435 | | body: (content = inline(Foo), description = "Create new Foo", content_type = "text/xml") [INFO] [stdout] 436 | | } [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/request_body_derive_test.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 474 | / test_fn! { [INFO] [stdout] 475 | | module: derive_request_body_complex_array, [INFO] [stdout] 476 | | body: (content = [Foo], description = "Create new Foo", content_type = "text/xml") [INFO] [stdout] 477 | | } [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/request_body_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 474 | / test_fn! { [INFO] [stdout] 475 | | module: derive_request_body_complex_array, [INFO] [stdout] 476 | | body: (content = [Foo], description = "Create new Foo", content_type = "text/xml") [INFO] [stdout] 477 | | } [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/request_body_derive_test.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 508 | / test_fn! { [INFO] [stdout] 509 | | module: derive_request_body_complex_inline_array, [INFO] [stdout] 510 | | body: (content = inline([Foo]), description = "Create new Foo", content_type = "text/xml") [INFO] [stdout] 511 | | } [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/request_body_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 508 | / test_fn! { [INFO] [stdout] 509 | | module: derive_request_body_complex_inline_array, [INFO] [stdout] 510 | | body: (content = inline([Foo]), description = "Create new Foo", content_type = "text/xml") [INFO] [stdout] 511 | | } [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/request_body_derive_test.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 552 | / test_fn! { [INFO] [stdout] 553 | | module: derive_request_body_simple_inline, [INFO] [stdout] 554 | | body: = inline(Foo) [INFO] [stdout] 555 | | } [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/request_body_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 552 | / test_fn! { [INFO] [stdout] 553 | | module: derive_request_body_simple_inline, [INFO] [stdout] 554 | | body: = inline(Foo) [INFO] [stdout] 555 | | } [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/request_body_derive_test.rs:595:14 [INFO] [stdout] | [INFO] [stdout] 595 | #[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/request_body_derive_test.rs:601:7 [INFO] [stdout] | [INFO] [stdout] 601 | #[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/request_body_derive_test.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 639 | / test_fn! { [INFO] [stdout] 640 | | module: derive_request_body_complex_primitive_array, [INFO] [stdout] 641 | | body: (content = [i32], description = "Create new foo references") [INFO] [stdout] 642 | | } [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/request_body_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 639 | / test_fn! { [INFO] [stdout] 640 | | module: derive_request_body_complex_primitive_array, [INFO] [stdout] 641 | | body: (content = [i32], description = "Create new foo references") [INFO] [stdout] 642 | | } [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/request_body_derive_test.rs:683:7 [INFO] [stdout] | [INFO] [stdout] 683 | #[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/request_body_derive_test.rs:712:7 [INFO] [stdout] | [INFO] [stdout] 712 | #[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/request_body_derive_test.rs:752:7 [INFO] [stdout] | [INFO] [stdout] 752 | #[fastapi::path(get, path = "/item", request_body(content = Foo, example = json!({"value": "this is value"})))] [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/request_body_derive_test.rs:788:7 [INFO] [stdout] | [INFO] [stdout] 788 | #[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/request_body_derive_test.rs:836:7 [INFO] [stdout] | [INFO] [stdout] 836 | #[fastapi::path(get, path = "/item", request_body(content = [u8]))] [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/request_body_derive_test.rs:869:7 [INFO] [stdout] | [INFO] [stdout] 869 | #[fastapi::path(get, path = "/item", request_body(content = ref("./MyUser.json")))] [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/request_body_derive_test.rs:873:14 [INFO] [stdout] | [INFO] [stdout] 873 | #[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/response_derive_test.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/request_body_derive_test.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[openapi(paths(derive_request_body_simple::post_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/request_body_derive_test.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[openapi(paths(post_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/request_body_derive_test.rs:95:7 [INFO] [stdout] | [INFO] [stdout] 95 | #[openapi(paths(derive_request_body_option_array::post_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/request_body_derive_test.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | #[openapi(paths(derive_request_body_primitive_simple::post_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/request_body_derive_test.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 155 | #[openapi(paths(post_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/request_body_derive_test.rs:179:7 [INFO] [stdout] | [INFO] [stdout] 179 | #[openapi(paths(derive_request_body_primitive_simple_array::post_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/request_body_derive_test.rs:213:7 [INFO] [stdout] | [INFO] [stdout] 213 | #[openapi(paths(derive_request_body_complex::post_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/request_body_derive_test.rs:441:7 [INFO] [stdout] | [INFO] [stdout] 441 | #[openapi(paths(derive_request_body_complex_inline::post_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/request_body_derive_test.rs:482:7 [INFO] [stdout] | [INFO] [stdout] 482 | #[openapi(paths(derive_request_body_complex_array::post_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/request_body_derive_test.rs:516:7 [INFO] [stdout] | [INFO] [stdout] 516 | #[openapi(paths(derive_request_body_complex_inline_array::post_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/request_body_derive_test.rs:560:7 [INFO] [stdout] | [INFO] [stdout] 560 | #[openapi(paths(derive_request_body_simple_inline::post_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[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[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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/request_body_derive_test.rs:611:7 [INFO] [stdout] | [INFO] [stdout] 611 | #[openapi(paths(post_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/request_body_derive_test.rs:647:7 [INFO] [stdout] | [INFO] [stdout] 647 | #[openapi(paths(derive_request_body_complex_primitive_array::post_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/request_body_derive_test.rs:695:7 [INFO] [stdout] | [INFO] [stdout] 695 | #[openapi(paths(post_foo), components(schemas(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/request_body_derive_test.rs:721:7 [INFO] [stdout] | [INFO] [stdout] 721 | #[openapi(paths(unit_type_test))] [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/request_body_derive_test.rs:757:7 [INFO] [stdout] | [INFO] [stdout] 757 | #[openapi(components(schemas(Foo)), 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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/request_body_derive_test.rs:802:7 [INFO] [stdout] | [INFO] [stdout] 802 | #[openapi(components(schemas(Foo)), 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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/request_body_derive_test.rs:841:7 [INFO] [stdout] | [INFO] [stdout] 841 | #[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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/request_body_derive_test.rs:874:7 [INFO] [stdout] | [INFO] [stdout] 874 | #[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/response_derive_test.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/request_body_derive_test.rs:675:14 [INFO] [stdout] | [INFO] [stdout] 675 | #[derive(ToSchema)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `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[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/request_body_derive_test.rs:746:14 [INFO] [stdout] | [INFO] [stdout] 746 | #[derive(ToSchema)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/request_body_derive_test.rs:782:14 [INFO] [stdout] | [INFO] [stdout] 782 | #[derive(ToSchema)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/request_body_derive_test.rs:675:14 [INFO] [stdout] | [INFO] [stdout] 675 | #[derive(ToSchema)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/request_body_derive_test.rs:746:14 [INFO] [stdout] | [INFO] [stdout] 746 | #[derive(ToSchema)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/request_body_derive_test.rs:782:14 [INFO] [stdout] | [INFO] [stdout] 782 | #[derive(ToSchema)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `__path_post_foo` [INFO] [stdout] --> tests/request_body_derive_test.rs:257:42 [INFO] [stdout] | [INFO] [stdout] 257 | let operation = serde_json::to_value(__path_post_foo::operation()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_post_foo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_post_foo`, use `cargo add __path_post_foo` 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_foo` [INFO] [stdout] --> tests/request_body_derive_test.rs:302:42 [INFO] [stdout] | [INFO] [stdout] 302 | let operation = serde_json::to_value(__path_post_foo::operation()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_post_foo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_post_foo`, use `cargo add __path_post_foo` 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_foo` [INFO] [stdout] --> tests/request_body_derive_test.rs:347:42 [INFO] [stdout] | [INFO] [stdout] 347 | let operation = serde_json::to_value(__path_post_foo::operation()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_post_foo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_post_foo`, use `cargo add __path_post_foo` 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_foo` [INFO] [stdout] --> tests/request_body_derive_test.rs:398:42 [INFO] [stdout] | [INFO] [stdout] 398 | let operation = serde_json::to_value(__path_post_foo::operation()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_post_foo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_post_foo`, use `cargo add __path_post_foo` 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 "request_body_derive_test") due to 71 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:274:48 [INFO] [stdout] | [INFO] [stdout] 274 | Admin(#[content("application/json/1")] Admin), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:276:52 [INFO] [stdout] | [INFO] [stdout] 276 | Moderator(#[content("application/json/2")] Moderator), [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:330:24 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:402:24 [INFO] [stdout] | [INFO] [stdout] 402 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:425:14 [INFO] [stdout] | [INFO] [stdout] 425 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::http::header::Header; [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::web::Header; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:330:24 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:402:24 [INFO] [stdout] | [INFO] [stdout] 402 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:425:14 [INFO] [stdout] | [INFO] [stdout] 425 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response; [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:278:32 [INFO] [stdout] | [INFO] [stdout] 278 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | Admin, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | Moderator, [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:349:32 [INFO] [stdout] | [INFO] [stdout] 349 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:406:47 [INFO] [stdout] | [INFO] [stdout] 406 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:427:51 [INFO] [stdout] | [INFO] [stdout] 427 | struct PersonSuccessResponse(#[to_schema] Vec); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:429:47 [INFO] [stdout] | [INFO] [stdout] 429 | let (name, v) = ::response(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 473 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 474 | | /// This is success response [INFO] [stdout] 475 | | #[response(status = 200)] [INFO] [stdout] 476 | | struct SuccessResponse { [INFO] [stdout] ... | [INFO] [stdout] 479 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 507 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 508 | | /// Not found response [INFO] [stdout] 509 | | #[response(status = NOT_FOUND)] [INFO] [stdout] 510 | | struct NotFound; [INFO] [stdout] 511 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 531 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 532 | | #[response(status = 201)] [INFO] [stdout] 533 | | struct CreatedResponse(#[to_schema] Foo); [INFO] [stdout] 534 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 561 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 562 | | #[response(status = 201)] [INFO] [stdout] 563 | | struct CreatedResponse(String); [INFO] [stdout] 564 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 591 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 592 | | #[response(status = 201)] [INFO] [stdout] 593 | | struct CreatedResponse(Foo); [INFO] [stdout] 594 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 621 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 622 | | #[response(status = 201)] [INFO] [stdout] 623 | | struct CreatedResponse(#[ref_response] Foo); [INFO] [stdout] 624 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 644 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 645 | | #[response(status = 201)] [INFO] [stdout] 646 | | struct CreatedResponse(#[to_response] Foo); [INFO] [stdout] 647 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 686 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 687 | | enum UserResponses { [INFO] [stdout] 688 | | /// Success response [INFO] [stdout] 689 | | #[response(status = 200)] [INFO] [stdout] ... | [INFO] [stdout] 704 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fastapi-gen` (test "response_derive_test") due to 84 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/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] running `Command { std: "docker" "inspect" "154a391ae339451ab8ce60304fbe93d7eb565f6a7d94c62347cc7b097d3534bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "154a391ae339451ab8ce60304fbe93d7eb565f6a7d94c62347cc7b097d3534bc", kill_on_drop: false }` [INFO] [stdout] 154a391ae339451ab8ce60304fbe93d7eb565f6a7d94c62347cc7b097d3534bc