[INFO] fetching crate fastapi-gen 0.1.1... [INFO] testing fastapi-gen-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate fastapi-gen 0.1.1 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fastapi-gen 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 291 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fastapi-config v0.1.1 [INFO] [stderr] Downloaded ulid v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e78615c6eacb32e98b21bf84e1acbd1441cf35c1ffa88fcc5a38c5aec578ea1e [INFO] running `Command { std: "docker" "start" "-a" "e78615c6eacb32e98b21bf84e1acbd1441cf35c1ffa88fcc5a38c5aec578ea1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e78615c6eacb32e98b21bf84e1acbd1441cf35c1ffa88fcc5a38c5aec578ea1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e78615c6eacb32e98b21bf84e1acbd1441cf35c1ffa88fcc5a38c5aec578ea1e", kill_on_drop: false }` [INFO] [stdout] e78615c6eacb32e98b21bf84e1acbd1441cf35c1ffa88fcc5a38c5aec578ea1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cfaaff270ea95711a88337dc94c6bf29aa9345f9d076253a06da74bbb1fe3a26 [INFO] running `Command { std: "docker" "start" "-a" "cfaaff270ea95711a88337dc94c6bf29aa9345f9d076253a06da74bbb1fe3a26", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 491 | pub fn as_type_tree(&self) -> Result, Diagnostics> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ext.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | _: &'_ Punctuated, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 291 | ) -> Result { [INFO] [stdout] | --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 288 ~ _: &Punctuated, [INFO] [stdout] 289 | _: Option>, [INFO] [stdout] 290 | _: String, [INFO] [stdout] 291 ~ ) -> Result, Diagnostics> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse_openapi_attrs(attrs: &[Attribute]) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 185 | pub fn get_type_tree(&self) -> Result>>, Diagnostics> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/path/media_type.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | fn to_type_tree(&self) -> Result { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 373 | fn to_type_tree(&self) -> Result, Diagnostics> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 664 | fn parse_lit_int(input: ParseStream<'_>) -> syn::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 11.16s [INFO] running `Command { std: "docker" "inspect" "cfaaff270ea95711a88337dc94c6bf29aa9345f9d076253a06da74bbb1fe3a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfaaff270ea95711a88337dc94c6bf29aa9345f9d076253a06da74bbb1fe3a26", kill_on_drop: false }` [INFO] [stdout] cfaaff270ea95711a88337dc94c6bf29aa9345f9d076253a06da74bbb1fe3a26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] eafd96210360255d36ed64e5054571507db35fcd443f36cc4ffb51bf63dc6309 [INFO] running `Command { std: "docker" "start" "-a" "eafd96210360255d36ed64e5054571507db35fcd443f36cc4ffb51bf63dc6309", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling binascii v0.1.4 [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 typenum v1.18.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling serde_with_macros v3.13.0 [INFO] [stderr] Compiling fastapi-gen v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stdout] warning: struct `IsInteger` is never constructed [INFO] [stdout] --> src/component/features/validators.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct IsInteger<'a>(&'a SchemaType<'a>); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 491 | pub fn as_type_tree(&self) -> Result, Diagnostics> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ext.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | _: &'_ Punctuated, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 291 | ) -> Result { [INFO] [stdout] | --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 288 ~ _: &Punctuated, [INFO] [stdout] 289 | _: Option>, [INFO] [stdout] 290 | _: String, [INFO] [stdout] 291 ~ ) -> Result, Diagnostics> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse_openapi_attrs(attrs: &[Attribute]) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 185 | pub fn get_type_tree(&self) -> Result>>, Diagnostics> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/path/media_type.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | fn to_type_tree(&self) -> Result { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 373 | fn to_type_tree(&self) -> Result, Diagnostics> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 664 | fn parse_lit_int(input: ParseStream<'_>) -> syn::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 680 | fn parse_variant_attributes(variant: &Variant) -> Result, Diagnostics> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde_with v3.13.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-http v3.11.0 [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/schema_generics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fastapi::openapi::{Info, RefOr, Schema}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fastapi::openapi::{RefOr, Response}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fastapi::ToSchema; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fastapi::{OpenApi, Path, ToResponse}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 47 | let doc = api_doc!(module: simple_success_response); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 70 | let doc = api_doc!(module: multiple_simple_responses); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 104 | let doc = api_doc!(module: http_status_code_responses); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 141 | let doc = api_doc!(module: reusable_responses); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fastapi::{OpenApi, Path}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:145:7 [INFO] [stdout] | [INFO] [stdout] 145 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:221:7 [INFO] [stdout] | [INFO] [stdout] 221 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:260:7 [INFO] [stdout] | [INFO] [stdout] 260 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:299:7 [INFO] [stdout] | [INFO] [stdout] 299 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | #[derive(fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 372 | let value = into_params! { [INFO] [stdout] | _________________- [INFO] [stdout] 373 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 374 | | #[allow(unused)] [INFO] [stdout] 375 | | struct TasksFilterQuery { [INFO] [stdout] ... | [INFO] [stdout] 389 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:356:15 [INFO] [stdout] | [INFO] [stdout] 356 | #[fastapi::path(get, path = "/handler", params($name))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 372 | let value = into_params! { [INFO] [stdout] | _________________- [INFO] [stdout] 373 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 374 | | #[allow(unused)] [INFO] [stdout] 375 | | struct TasksFilterQuery { [INFO] [stdout] ... | [INFO] [stdout] 389 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `into_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/schema_generics.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use fastapi::{schema, OpenApi, PartialSchema, ToSchema}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_generics.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[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/schema_generics.rs:191:7 [INFO] [stdout] | [INFO] [stdout] 191 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/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/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/fastapi_gen_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fastapi::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/fastapi_gen_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fastapi::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/fastapi_gen_test.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/openapi_derive_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fastapi::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/openapi_derive_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fastapi::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/openapi_derive_test.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 262 | let doc = api_doc!(module: response_with_json_example); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 281 | let doc: Value = api_doc!(module: response_body_inline_schema); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 38 | / test_fn! { [INFO] [stdout] 39 | | module: simple_success_response, [INFO] [stdout] 40 | | responses: ( [INFO] [stdout] 41 | | (status = 200, description = "success") [INFO] [stdout] 42 | | ) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 38 | / test_fn! { [INFO] [stdout] 39 | | module: simple_success_response, [INFO] [stdout] 40 | | responses: ( [INFO] [stdout] 41 | | (status = 200, description = "success") [INFO] [stdout] 42 | | ) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 56 | / test_fn! { [INFO] [stdout] 57 | | module: multiple_simple_responses, [INFO] [stdout] 58 | | responses: ( [INFO] [stdout] 59 | | (status = 200, description = "success"), [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 56 | / test_fn! { [INFO] [stdout] 57 | | module: multiple_simple_responses, [INFO] [stdout] 58 | | responses: ( [INFO] [stdout] 59 | | (status = 200, description = "success"), [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 94 | / test_fn! { [INFO] [stdout] 95 | | module: http_status_code_responses, [INFO] [stdout] 96 | | responses: ( [INFO] [stdout] 97 | | (status = OK, description = "success"), [INFO] [stdout] ... | [INFO] [stdout] 100 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 94 | / test_fn! { [INFO] [stdout] 95 | | module: http_status_code_responses, [INFO] [stdout] 96 | | responses: ( [INFO] [stdout] 97 | | (status = OK, description = "success"), [INFO] [stdout] ... | [INFO] [stdout] 100 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 131 | / test_fn! { [INFO] [stdout] 132 | | module: reusable_responses, [INFO] [stdout] 133 | | responses: ( [INFO] [stdout] 134 | | (status = 200, description = "success"), [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 131 | / test_fn! { [INFO] [stdout] 132 | | module: reusable_responses, [INFO] [stdout] 133 | | responses: ( [INFO] [stdout] 134 | | (status = 200, description = "success"), [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 253 | / test_fn! { [INFO] [stdout] 254 | | module: response_with_json_example, [INFO] [stdout] 255 | | responses: ( [INFO] [stdout] 256 | | (status = 200, description = "success", body = Foo, example = json!({"foo": "bar"})) [INFO] [stdout] 257 | | ) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 253 | / test_fn! { [INFO] [stdout] 254 | | module: response_with_json_example, [INFO] [stdout] 255 | | responses: ( [INFO] [stdout] 256 | | (status = 200, description = "success", body = Foo, example = json!({"foo": "bar"})) [INFO] [stdout] 257 | | ) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 274 | / test_fn! { [INFO] [stdout] 275 | | module: response_body_inline_schema, [INFO] [stdout] 276 | | responses: ( [INFO] [stdout] 277 | | (status = 200, description = "success", body = inline(Foo), content_type = "application/json") [INFO] [stdout] 278 | | ) [INFO] [stdout] 279 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[fastapi::path(get,path = "/foo",responses $($responses)*)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 274 | / test_fn! { [INFO] [stdout] 275 | | module: response_body_inline_schema, [INFO] [stdout] 276 | | responses: ( [INFO] [stdout] 277 | | (status = 200, description = "success", body = inline(Foo), content_type = "application/json") [INFO] [stdout] 278 | | ) [INFO] [stdout] 279 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:316:32 [INFO] [stdout] | [INFO] [stdout] 316 | #[derive(serde::Serialize, fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:322:32 [INFO] [stdout] | [INFO] [stdout] 322 | #[derive(serde::Serialize, fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:328:7 [INFO] [stdout] | [INFO] [stdout] 328 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:342:14 [INFO] [stdout] | [INFO] [stdout] 342 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:408:32 [INFO] [stdout] | [INFO] [stdout] 408 | #[derive(serde::Serialize, fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:414:7 [INFO] [stdout] | [INFO] [stdout] 414 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:430:14 [INFO] [stdout] | [INFO] [stdout] 430 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:489:32 [INFO] [stdout] | [INFO] [stdout] 489 | #[derive(serde::Serialize, fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:495:32 [INFO] [stdout] | [INFO] [stdout] 495 | #[derive(serde::Serialize, fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:501:7 [INFO] [stdout] | [INFO] [stdout] 501 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:525:14 [INFO] [stdout] | [INFO] [stdout] 525 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:581:7 [INFO] [stdout] | [INFO] [stdout] 581 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:591:14 [INFO] [stdout] | [INFO] [stdout] 591 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:618:32 [INFO] [stdout] | [INFO] [stdout] 618 | #[derive(serde::Serialize, fastapi::ToSchema, fastapi::ToResponse)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:618:51 [INFO] [stdout] | [INFO] [stdout] 618 | #[derive(serde::Serialize, fastapi::ToSchema, fastapi::ToResponse)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:624:7 [INFO] [stdout] | [INFO] [stdout] 624 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:634:14 [INFO] [stdout] | [INFO] [stdout] 634 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:669:7 [INFO] [stdout] | [INFO] [stdout] 669 | #[fastapi::path(post, path = "/api/inner/secret", responses((status = OK)))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_response_derive_test.rs:694:7 [INFO] [stdout] | [INFO] [stdout] 694 | #[fastapi::path(post, path = "/api/inner/secret", responses( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/fastapi_gen_test.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[schema(example = json!({"name": "bob the cat", "id": 1}))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/schema_generics.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[openapi( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/schema_generics.rs:203:7 [INFO] [stdout] | [INFO] [stdout] 203 | #[openapi( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/schema_generics.rs:249:7 [INFO] [stdout] | [INFO] [stdout] 249 | #[openapi(components(schemas(Top)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/schema_generics.rs:287:7 [INFO] [stdout] | [INFO] [stdout] 287 | #[openapi(components(schemas(FoosEnum)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/fastapi_gen_test.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | fastapi::openapi::OpenApi::new( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[openapi(paths(derive_params_all_options::get_foo_by_id))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/schema_generics.rs:346:7 [INFO] [stdout] | [INFO] [stdout] 346 | #[openapi(components(schemas(FoosEnum)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[openapi(paths(derive_params_minimal::get_foo_by_id))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | #[openapi(paths(derive_params_multiple::get_foo_by_id))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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 macro `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 macro `ToResponse`, 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_generics.rs:379:7 [INFO] [stdout] | [INFO] [stdout] 379 | #[openapi(components(schemas(HighBox, HighCow, HighRefCell)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 168 | #[openapi(paths(mod_derive_parameters_all_types::get_foo_by_id))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:240:7 [INFO] [stdout] | [INFO] [stdout] 240 | #[openapi(paths(derive_params_without_args::get_foo_by_id))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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 macro `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 macro `ToResponse`, 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] [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 macro `ToResponse`, 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] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:276:7 [INFO] [stdout] | [INFO] [stdout] 276 | #[openapi(paths(get_foo_by_id))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fastapi::openapi::RefOr; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fastapi::openapi::{Object, ObjectBuilder}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `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 macro `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:315:7 [INFO] [stdout] | [INFO] [stdout] 315 | #[openapi(paths(get_foo_by_id))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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] [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 macro `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] help: the derive macro `ToResponse` accepts the similarly named `response` attribute [INFO] [stdout] | [INFO] [stdout] 623 - struct CreatedResponse(#[ref_response] Foo); [INFO] [stdout] 623 + struct CreatedResponse(#[response] Foo); [INFO] [stdout] | [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] [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] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:373:11 [INFO] [stdout] | [INFO] [stdout] 373 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [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 macro `ToResponse`, 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] [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] help: the derive macro `ToResponse` accepts the similarly named `response` attribute [INFO] [stdout] | [INFO] [stdout] 646 - struct CreatedResponse(#[to_response] Foo); [INFO] [stdout] 646 + struct CreatedResponse(#[response] Foo); [INFO] [stdout] | [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 macro `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 macro `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/fastapi_gen_test.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | fastapi::openapi::Paths::new(), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 macro `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 macro `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] help: the derive macro `ToResponse` accepts the similarly named `response` attribute [INFO] [stdout] | [INFO] [stdout] 699 - ServerError(#[ref_response] Response), [INFO] [stdout] 699 + ServerError(#[response] Response), [INFO] [stdout] | [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 macro `ToResponse`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 377 | #[param(required = false, value_type = u32, example = 12)] [INFO] [stdout] | ^^^^^ [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] help: the derive macro `ToResponse` accepts the similarly named `response` attribute [INFO] [stdout] | [INFO] [stdout] 702 - TeaPot(#[to_response] Response), [INFO] [stdout] 702 + TeaPot(#[response] Response), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:380:15 [INFO] [stdout] | [INFO] [stdout] 380 | #[param(required = true, value_type = u32, example = 12)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/fastapi_gen_test.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | fastapi::openapi::Info::new("my application", "0.1.0"), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rocket::fairing::Info; [INFO] [stdout] | [INFO] [stdout] help: if you import `Info`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 157 - fastapi::openapi::Info::new("my application", "0.1.0"), [INFO] [stdout] 157 + Info::new("my application", "0.1.0"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:383:15 [INFO] [stdout] | [INFO] [stdout] 383 | #[param(value_type = Option, example = 12)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [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] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | let doc = api_doc!(module: simple_success_response); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:386:15 [INFO] [stdout] | [INFO] [stdout] 386 | #[param(required = true, value_type = Option, example = 12)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | let doc = api_doc!(module: multiple_simple_responses); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | let doc = api_doc!(module: http_status_code_responses); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use fastapi::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use fastapi::Path; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use fastapi::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 159 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 160 | | derive_path_with_all_info::test_operation2, [INFO] [stdout] 161 | | operation: post, [INFO] [stdout] 162 | | path: "/foo/bar/{id}" [INFO] [stdout] 163 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 189 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 190 | | derive_path_with_defaults::test_operation3, [INFO] [stdout] 191 | | operation: post, [INFO] [stdout] 192 | | path: "/foo/bar" [INFO] [stdout] 193 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 225 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 226 | | get_foos_by_id_since, [INFO] [stdout] 227 | | operation: get, [INFO] [stdout] 228 | | path: "/foo/{id}" [INFO] [stdout] 229 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 276 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 277 | | get_items, [INFO] [stdout] 278 | | operation: get, [INFO] [stdout] 279 | | path: "/items" [INFO] [stdout] 280 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 321 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 322 | | get_foos_by_id_date, [INFO] [stdout] 323 | | operation: get, [INFO] [stdout] 324 | | path: "/foo/{id}/{start}" [INFO] [stdout] 325 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 387 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 388 | | get_foos_by_id_date, [INFO] [stdout] 389 | | operation: get, [INFO] [stdout] 390 | | path: "/foo/{id}" [INFO] [stdout] 391 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 453 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 454 | | get_foos_by_id_since, [INFO] [stdout] 455 | | operation: get, [INFO] [stdout] 456 | | path: "/foo/{id}" [INFO] [stdout] 457 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 525 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 526 | | get_foos_by_id_since, [INFO] [stdout] 527 | | operation: get, [INFO] [stdout] 528 | | path: "/foo/{id}" [INFO] [stdout] 529 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 610 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 611 | | use_maps, [INFO] [stdout] 612 | | operation: get, [INFO] [stdout] 613 | | path: "/foo" [INFO] [stdout] 614 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 655 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 656 | | struct MyParams { [INFO] [stdout] 657 | | #[param(example = json!({"key": "value"}))] [INFO] [stdout] 658 | | map: HashMap, [INFO] [stdout] ... | [INFO] [stdout] 662 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 703 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 704 | | struct MyParams { [INFO] [stdout] 705 | | #[param(additional_properties)] [INFO] [stdout] 706 | | map: HashMap, [INFO] [stdout] 707 | | } [INFO] [stdout] 708 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 729 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 730 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 731 | | struct MyParams { [INFO] [stdout] 732 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 738 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 773 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 774 | | #[into_params(parameter_in = Path)] [INFO] [stdout] 775 | | struct MyParams { [INFO] [stdout] 776 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 779 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 799 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 800 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 801 | | struct MyParams { [INFO] [stdout] 802 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 822 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 911 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 912 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 913 | | #[serde(rename_all = "camelCase")] [INFO] [stdout] 914 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 930 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 988 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 989 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 990 | | struct MyParams { [INFO] [stdout] 991 | | vec_default: Option>, [INFO] [stdout] 992 | | } [INFO] [stdout] 993 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1016 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1017 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 1018 | | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 1019 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 1022 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1045 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1046 | | #[derive(Default)] [INFO] [stdout] 1047 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 1048 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 1053 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1136 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 1137 | | list, [INFO] [stdout] 1138 | | operation: get, [INFO] [stdout] 1139 | | path: "/list/{id}" [INFO] [stdout] 1140 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1245:9 [INFO] [stdout] | [INFO] [stdout] 1245 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1715 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1716 | | get_items, [INFO] [stdout] 1717 | | operation: get, [INFO] [stdout] 1718 | | path: "/items" [INFO] [stdout] 1719 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1755 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1756 | | get_params, [INFO] [stdout] 1757 | | operation: get, [INFO] [stdout] 1758 | | path: "/params" [INFO] [stdout] 1759 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1809 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1810 | | get_params, [INFO] [stdout] 1811 | | operation: get, [INFO] [stdout] 1812 | | path: "/params" [INFO] [stdout] 1813 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1857 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1858 | | get_params, [INFO] [stdout] 1859 | | operation: get, [INFO] [stdout] 1860 | | path: "/params" [INFO] [stdout] 1861 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1903 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1904 | | get_params, [INFO] [stdout] 1905 | | operation: get, [INFO] [stdout] 1906 | | path: "/params" [INFO] [stdout] 1907 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1951 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1952 | | get_items, [INFO] [stdout] 1953 | | operation: get, [INFO] [stdout] 1954 | | path: "/api/v1/prefix/items" [INFO] [stdout] 1955 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1977 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1978 | | get_items, [INFO] [stdout] 1979 | | operation: get, [INFO] [stdout] 1980 | | path: "/api/v1/prefix/items" [INFO] [stdout] 1981 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2002 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2003 | | get_items, [INFO] [stdout] 2004 | | operation: get, [INFO] [stdout] 2005 | | path: "/items" [INFO] [stdout] 2006 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2028 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2029 | | get_items, [INFO] [stdout] 2030 | | operation: get, [INFO] [stdout] 2031 | | path: "/items" [INFO] [stdout] 2032 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2069 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2070 | | get_items, [INFO] [stdout] 2071 | | operation: get, [INFO] [stdout] 2072 | | path: "/items" [INFO] [stdout] 2073 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2114 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2115 | | test_description_summary, [INFO] [stdout] 2116 | | operation: get, [INFO] [stdout] 2117 | | path: "/test-description" [INFO] [stdout] 2118 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] [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] [INFO] [stderr] error: could not compile `fastapi-gen` (test "modify_test") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | let doc = api_doc!(module: reusable_responses); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/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] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/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 `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/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] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2152 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2153 | | test_description_summary, [INFO] [stdout] 2154 | | operation: get, [INFO] [stdout] 2155 | | path: "/test-description" [INFO] [stdout] 2156 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_path::__path_test_path` [INFO] [stdout] --> tests/path_derive.rs:2314:9 [INFO] [stdout] | [INFO] [stdout] 2314 | use test_path::__path_test_path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `__path_test_path` in `::test_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2363:9 [INFO] [stdout] | [INFO] [stdout] 2363 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2425:9 [INFO] [stdout] | [INFO] [stdout] 2425 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2494:9 [INFO] [stdout] | [INFO] [stdout] 2494 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2555:9 [INFO] [stdout] | [INFO] [stdout] 2555 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2605:9 [INFO] [stdout] | [INFO] [stdout] 2605 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2673:9 [INFO] [stdout] | [INFO] [stdout] 2673 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2762:9 [INFO] [stdout] | [INFO] [stdout] 2762 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2878 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2879 | | get_params, [INFO] [stdout] 2880 | | operation: get, [INFO] [stdout] 2881 | | path: "/params" [INFO] [stdout] 2882 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/path_derive.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use fastapi::OpenApi; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2916 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2917 | | get_params, [INFO] [stdout] 2918 | | operation: get, [INFO] [stdout] 2919 | | path: "/params" [INFO] [stdout] 2920 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` which comes from the expansion of the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 136 | / test_api_fn! { [INFO] [stdout] 137 | | name: test_operation2, [INFO] [stdout] 138 | | module: derive_path_with_all_info, [INFO] [stdout] 139 | | operation: post, [INFO] [stdout] ... | [INFO] [stdout] 154 | | #[deprecated] [INFO] [stdout] 155 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 183 | / test_api_fn! { [INFO] [stdout] 184 | | name: test_operation3, [INFO] [stdout] 185 | | module: derive_path_with_defaults, [INFO] [stdout] 186 | | operation: post, [INFO] [stdout] 187 | | path: "/foo/bar"; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:208:7 [INFO] [stdout] | [INFO] [stdout] 208 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:260:7 [INFO] [stdout] | [INFO] [stdout] 260 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:292:34 [INFO] [stdout] | [INFO] [stdout] 292 | #[derive(serde::Deserialize, fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:305:7 [INFO] [stdout] | [INFO] [stdout] 305 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:358:34 [INFO] [stdout] | [INFO] [stdout] 358 | #[derive(serde::Deserialize, fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:371:7 [INFO] [stdout] | [INFO] [stdout] 371 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:424:34 [INFO] [stdout] | [INFO] [stdout] 424 | #[derive(serde::Deserialize, fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:437:7 [INFO] [stdout] | [INFO] [stdout] 437 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:496:34 [INFO] [stdout] | [INFO] [stdout] 496 | #[derive(serde::Deserialize, fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:509:7 [INFO] [stdout] | [INFO] [stdout] 509 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:595:7 [INFO] [stdout] | [INFO] [stdout] 595 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 655 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 656 | | struct MyParams { [INFO] [stdout] 657 | | #[param(example = json!({"key": "value"}))] [INFO] [stdout] 658 | | map: HashMap, [INFO] [stdout] ... | [INFO] [stdout] 662 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 655 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 656 | | struct MyParams { [INFO] [stdout] 657 | | #[param(example = json!({"key": "value"}))] [INFO] [stdout] 658 | | map: HashMap, [INFO] [stdout] ... | [INFO] [stdout] 662 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 703 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 704 | | struct MyParams { [INFO] [stdout] 705 | | #[param(additional_properties)] [INFO] [stdout] 706 | | map: HashMap, [INFO] [stdout] 707 | | } [INFO] [stdout] 708 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 703 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 704 | | struct MyParams { [INFO] [stdout] 705 | | #[param(additional_properties)] [INFO] [stdout] 706 | | map: HashMap, [INFO] [stdout] 707 | | } [INFO] [stdout] 708 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 729 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 730 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 731 | | struct MyParams { [INFO] [stdout] 732 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 738 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 729 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 730 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 731 | | struct MyParams { [INFO] [stdout] 732 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 738 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 773 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 774 | | #[into_params(parameter_in = Path)] [INFO] [stdout] 775 | | struct MyParams { [INFO] [stdout] 776 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 779 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 773 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 774 | | #[into_params(parameter_in = Path)] [INFO] [stdout] 775 | | struct MyParams { [INFO] [stdout] 776 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 779 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 799 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 800 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 801 | | struct MyParams { [INFO] [stdout] 802 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 822 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 799 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 800 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 801 | | struct MyParams { [INFO] [stdout] 802 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 822 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 911 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 912 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 913 | | #[serde(rename_all = "camelCase")] [INFO] [stdout] 914 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 930 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 911 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 912 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 913 | | #[serde(rename_all = "camelCase")] [INFO] [stdout] 914 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 930 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 988 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 989 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 990 | | struct MyParams { [INFO] [stdout] 991 | | vec_default: Option>, [INFO] [stdout] 992 | | } [INFO] [stdout] 993 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 988 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 989 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 990 | | struct MyParams { [INFO] [stdout] 991 | | vec_default: Option>, [INFO] [stdout] 992 | | } [INFO] [stdout] 993 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1016 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1017 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 1018 | | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 1019 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 1022 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1016 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1017 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 1018 | | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 1019 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 1022 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(serde::Deserialize, fastapi::IntoParams)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1045 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1046 | | #[derive(Default)] [INFO] [stdout] 1047 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 1048 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 1053 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1045 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1046 | | #[derive(Default)] [INFO] [stdout] 1047 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 1048 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 1053 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1120:7 [INFO] [stdout] | [INFO] [stdout] 1120 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1276:7 [INFO] [stdout] | [INFO] [stdout] 1276 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1391:7 [INFO] [stdout] | [INFO] [stdout] 1391 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1433:7 [INFO] [stdout] | [INFO] [stdout] 1433 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1468:7 [INFO] [stdout] | [INFO] [stdout] 1468 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1504:7 [INFO] [stdout] | [INFO] [stdout] 1504 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fastapi-gen` (test "openapi_derive_test") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1589:7 [INFO] [stdout] | [INFO] [stdout] 1589 | #[fastapi::path(get, path = "foo", responses(MyResponse))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1701:7 [INFO] [stdout] | [INFO] [stdout] 1701 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1752:7 [INFO] [stdout] | [INFO] [stdout] 1752 | #[fastapi::path(get, path = "/params", params(Params))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1806:7 [INFO] [stdout] | [INFO] [stdout] 1806 | #[fastapi::path(get, path = "/params", params(Params))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1854:7 [INFO] [stdout] | [INFO] [stdout] 1854 | #[fastapi::path(get, path = "/params", params(Params))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1900:7 [INFO] [stdout] | [INFO] [stdout] 1900 | #[fastapi::path(get, path = "/params", params(Params))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1938:7 [INFO] [stdout] | [INFO] [stdout] 1938 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1964:7 [INFO] [stdout] | [INFO] [stdout] 1964 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1990:7 [INFO] [stdout] | [INFO] [stdout] 1990 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2015:7 [INFO] [stdout] | [INFO] [stdout] 2015 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2055:7 [INFO] [stdout] | [INFO] [stdout] 2055 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2100:7 [INFO] [stdout] | [INFO] [stdout] 2100 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2139:7 [INFO] [stdout] | [INFO] [stdout] 2139 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2177:11 [INFO] [stdout] | [INFO] [stdout] 2177 | #[fastapi::path(get, path = "/test")] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2185:18 [INFO] [stdout] | [INFO] [stdout] 2185 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2190:11 [INFO] [stdout] | [INFO] [stdout] 2190 | #[fastapi::path(get, path = "/test")] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2197:14 [INFO] [stdout] | [INFO] [stdout] 2197 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2235:11 [INFO] [stdout] | [INFO] [stdout] 2235 | #[fastapi::path(get, path = "/test", tag = "this_is_tag", tags = ["additional"])] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2243:18 [INFO] [stdout] | [INFO] [stdout] 2243 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2248:11 [INFO] [stdout] | [INFO] [stdout] 2248 | #[fastapi::path(get, path = "/test", tag = "this_is_tag:nest", tags = ["additional:nest"])] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2255:14 [INFO] [stdout] | [INFO] [stdout] 2255 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2293:11 [INFO] [stdout] | [INFO] [stdout] 2293 | #[fastapi::path(get, path = "/test")] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2301:18 [INFO] [stdout] | [INFO] [stdout] 2301 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2306:11 [INFO] [stdout] | [INFO] [stdout] 2306 | #[fastapi::path(get, path = "/test")] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2315:14 [INFO] [stdout] | [INFO] [stdout] 2315 | #[derive(fastapi::OpenApi)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2352:7 [INFO] [stdout] | [INFO] [stdout] 2352 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2402:7 [INFO] [stdout] | [INFO] [stdout] 2402 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2482:7 [INFO] [stdout] | [INFO] [stdout] 2482 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2548:7 [INFO] [stdout] | [INFO] [stdout] 2548 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2598:7 [INFO] [stdout] | [INFO] [stdout] 2598 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2661:7 [INFO] [stdout] | [INFO] [stdout] 2661 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2750:7 [INFO] [stdout] | [INFO] [stdout] 2750 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2830:7 [INFO] [stdout] | [INFO] [stdout] 2830 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2875:7 [INFO] [stdout] | [INFO] [stdout] 2875 | #[fastapi::path(get, path = "/params", params(Params))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2913:7 [INFO] [stdout] | [INFO] [stdout] 2913 | #[fastapi::path(get, path = "/params", params(Params))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2951:7 [INFO] [stdout] | [INFO] [stdout] 2951 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2991:14 [INFO] [stdout] | [INFO] [stdout] 2991 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:2995:7 [INFO] [stdout] | [INFO] [stdout] 2995 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:3031:14 [INFO] [stdout] | [INFO] [stdout] 3031 | #[derive(fastapi::ToSchema)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:3038:7 [INFO] [stdout] | [INFO] [stdout] 3038 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:3089:7 [INFO] [stdout] | [INFO] [stdout] 3089 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:3135:7 [INFO] [stdout] | [INFO] [stdout] 3135 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:3160:7 [INFO] [stdout] | [INFO] [stdout] 3160 | #[fastapi::path( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/request_body_derive_test.rs:841:7 [INFO] [stdout] | [INFO] [stdout] 841 | #[openapi(paths(get_item))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | #[openapi(paths( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | / test_path_operation! { [INFO] [stdout] 94 | | derive_path_post: post [INFO] [stdout] 95 | | derive_path_get: get [INFO] [stdout] 96 | | derive_path_delete: delete [INFO] [stdout] ... | [INFO] [stdout] 101 | | derive_path_trace: trace [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_path_operation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/request_body_derive_test.rs:874:7 [INFO] [stdout] | [INFO] [stdout] 874 | #[openapi(paths(get_item))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 160 | | derive_path_with_all_info::test_operation2, [INFO] [stdout] 161 | | operation: post, [INFO] [stdout] 162 | | path: "/foo/bar/{id}" [INFO] [stdout] 163 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 190 | | derive_path_with_defaults::test_operation3, [INFO] [stdout] 191 | | operation: post, [INFO] [stdout] 192 | | path: "/foo/bar" [INFO] [stdout] 193 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 226 | | get_foos_by_id_since, [INFO] [stdout] 227 | | operation: get, [INFO] [stdout] 228 | | path: "/foo/{id}" [INFO] [stdout] 229 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 277 | | get_items, [INFO] [stdout] 278 | | operation: get, [INFO] [stdout] 279 | | path: "/items" [INFO] [stdout] 280 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 322 | | get_foos_by_id_date, [INFO] [stdout] 323 | | operation: get, [INFO] [stdout] 324 | | path: "/foo/{id}/{start}" [INFO] [stdout] 325 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 388 | | get_foos_by_id_date, [INFO] [stdout] 389 | | operation: get, [INFO] [stdout] 390 | | path: "/foo/{id}" [INFO] [stdout] 391 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 454 | | get_foos_by_id_since, [INFO] [stdout] 455 | | operation: get, [INFO] [stdout] 456 | | path: "/foo/{id}" [INFO] [stdout] 457 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 526 | | get_foos_by_id_since, [INFO] [stdout] 527 | | operation: get, [INFO] [stdout] 528 | | path: "/foo/{id}" [INFO] [stdout] 529 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 611 | | use_maps, [INFO] [stdout] 612 | | operation: get, [INFO] [stdout] 613 | | path: "/foo" [INFO] [stdout] 614 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:657:15 [INFO] [stdout] | [INFO] [stdout] 657 | #[param(example = json!({"key": "value"}))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:659:15 [INFO] [stdout] | [INFO] [stdout] 659 | #[param(example = json!(["value1", "value2"]))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 655 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 656 | | struct MyParams { [INFO] [stdout] 657 | | #[param(example = json!({"key": "value"}))] [INFO] [stdout] 658 | | map: HashMap, [INFO] [stdout] ... | [INFO] [stdout] 662 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:705:15 [INFO] [stdout] | [INFO] [stdout] 705 | #[param(additional_properties)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 703 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 704 | | struct MyParams { [INFO] [stdout] 705 | | #[param(additional_properties)] [INFO] [stdout] 706 | | map: HashMap, [INFO] [stdout] 707 | | } [INFO] [stdout] 708 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:730:11 [INFO] [stdout] | [INFO] [stdout] 730 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:733:15 [INFO] [stdout] | [INFO] [stdout] 733 | #[param(write_only, read_only, default = "value", nullable, xml(name = "xml_value"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / test_response_types! { [INFO] [stdout] 182 | | primitive_string_body => body: String, assert: [INFO] [stdout] 183 | | "responses.200.content.text~1plain.schema.type" = r#""string""#, "Response content type" [INFO] [stdout] 184 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] ... | [INFO] [stdout] 250 | | "responses.200.headers" = r###"null"###, "Response headers" [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` which comes from the expansion of the macro `test_response_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:735:15 [INFO] [stdout] | [INFO] [stdout] 735 | #[param(value_type = String, format = Binary)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | let doc = api_doc!(module: response_with_json_example); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 730 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 731 | | struct MyParams { [INFO] [stdout] 732 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 738 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:774:11 [INFO] [stdout] | [INFO] [stdout] 774 | #[into_params(parameter_in = Path)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 773 | let operation = api_fn_doc_with_params! {get: "/foo" => [INFO] [stdout] | _____________________- [INFO] [stdout] 774 | | #[into_params(parameter_in = Path)] [INFO] [stdout] 775 | | struct MyParams { [INFO] [stdout] 776 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 779 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[openapi(paths($module::get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | let doc: Value = api_doc!(module: response_body_inline_schema); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:800:11 [INFO] [stdout] | [INFO] [stdout] 800 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 799 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 800 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 801 | | struct MyParams { [INFO] [stdout] 802 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 822 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:912:11 [INFO] [stdout] | [INFO] [stdout] 912 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:343:7 [INFO] [stdout] | [INFO] [stdout] 343 | #[openapi(paths(get_item))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:431:7 [INFO] [stdout] | [INFO] [stdout] 431 | #[openapi(paths(get_item))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:921:15 [INFO] [stdout] | [INFO] [stdout] 921 | #[param(rename = "vec2")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:925:15 [INFO] [stdout] | [INFO] [stdout] 925 | #[param(rename = "string_r2")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:526:7 [INFO] [stdout] | [INFO] [stdout] 526 | #[openapi(paths(get_item), components(schemas(User, User2)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 911 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 912 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 913 | | #[serde(rename_all = "camelCase")] [INFO] [stdout] 914 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 930 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:989:11 [INFO] [stdout] | [INFO] [stdout] 989 | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fastapi-gen` (test "schema_generics") due to 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(ToSchema, ToResponse)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `ToResponse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 988 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 989 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 990 | | struct MyParams { [INFO] [stdout] 991 | | vec_default: Option>, [INFO] [stdout] 992 | | } [INFO] [stdout] 993 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1017:11 [INFO] [stdout] | [INFO] [stdout] 1017 | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:592:7 [INFO] [stdout] | [INFO] [stdout] 592 | #[openapi(paths(get_item))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1016 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1017 | | #[into_params(rename_all = "camelCase", parameter_in = Query)] [INFO] [stdout] 1018 | | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 1019 | | struct MyParams { [INFO] [stdout] ... | [INFO] [stdout] 1022 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_response_derive_test.rs:635:7 [INFO] [stdout] | [INFO] [stdout] 635 | #[openapi(paths(get_item), components(schemas(User)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1047:11 [INFO] [stdout] | [INFO] [stdout] 1047 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1045 | let operation = api_fn_doc_with_params! {get: "/list/{id}" => [INFO] [stdout] | _____________________- [INFO] [stdout] 1046 | | #[derive(Default)] [INFO] [stdout] 1047 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 1048 | | #[serde(default)] [INFO] [stdout] ... | [INFO] [stdout] 1053 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` which comes from the expansion of the macro `api_fn_doc_with_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/path_derive.rs:1085:7 [INFO] [stdout] | [INFO] [stdout] 1085 | #[schema(default = "foo1", example = "foo1")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1093:7 [INFO] [stdout] | [INFO] [stdout] 1093 | #[into_params(style = Form, parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1096:11 [INFO] [stdout] | [INFO] [stdout] 1096 | #[param(example = 1)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1100:11 [INFO] [stdout] | [INFO] [stdout] 1100 | #[param(example = "2020-04-12T10:23:00Z")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [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: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1107:11 [INFO] [stdout] | [INFO] [stdout] 1107 | #[param(inline)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fastapi-gen` (test "fastapi_gen_test") due to 7 previous errors [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1111:11 [INFO] [stdout] | [INFO] [stdout] 1111 | #[param(inline)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [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: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1115:11 [INFO] [stdout] | [INFO] [stdout] 1115 | #[param(inline)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1136 | let operation: Value = test_api_fn_doc! { [INFO] [stdout] | ____________________________- [INFO] [stdout] 1137 | | list, [INFO] [stdout] 1138 | | operation: get, [INFO] [stdout] 1139 | | path: "/list/{id}" [INFO] [stdout] 1140 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/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: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1255:7 [INFO] [stdout] | [INFO] [stdout] 1255 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1258:11 [INFO] [stdout] | [INFO] [stdout] 1258 | #[param(value_type = i64, style = Simple)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1260:11 [INFO] [stdout] | [INFO] [stdout] 1260 | #[param(value_type = Object)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [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: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1262:11 [INFO] [stdout] | [INFO] [stdout] 1262 | #[param(value_type = Vec>)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [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: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1264:11 [INFO] [stdout] | [INFO] [stdout] 1264 | #[param(value_type = Vec)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1266:11 [INFO] [stdout] | [INFO] [stdout] 1266 | #[param(value_type = Option)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1268:11 [INFO] [stdout] | [INFO] [stdout] 1268 | #[param(value_type = Option)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1270:11 [INFO] [stdout] | [INFO] [stdout] 1270 | #[param(value_type = Vec)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [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: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1272:11 [INFO] [stdout] | [INFO] [stdout] 1272 | #[param(value_type = Vec)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:1290:7 [INFO] [stdout] | [INFO] [stdout] 1290 | #[openapi(paths(get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1385:7 [INFO] [stdout] | [INFO] [stdout] 1385 | #[into_params(parameter_in = Path)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:1405:7 [INFO] [stdout] | [INFO] [stdout] 1405 | #[openapi(paths(get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1427:7 [INFO] [stdout] | [INFO] [stdout] 1427 | #[into_params(parameter_in = Path)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:1447:7 [INFO] [stdout] | [INFO] [stdout] 1447 | #[openapi(paths(get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:1480:7 [INFO] [stdout] | [INFO] [stdout] 1480 | #[openapi(paths(get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1494:11 [INFO] [stdout] | [INFO] [stdout] 1494 | #[param(maximum = 10, minimum = 5, multiple_of = 2.5)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1497:11 [INFO] [stdout] | [INFO] [stdout] 1497 | #[param(max_length = 10, min_length = 5, pattern = "[a-z]*")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1500:11 [INFO] [stdout] | [INFO] [stdout] 1500 | #[param(max_items = 5, min_items = 1)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:1518:7 [INFO] [stdout] | [INFO] [stdout] 1518 | #[openapi(paths(get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:1594:7 [INFO] [stdout] | [INFO] [stdout] 1594 | #[openapi(paths(get_foo))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1694:7 [INFO] [stdout] | [INFO] [stdout] 1694 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1697:11 [INFO] [stdout] | [INFO] [stdout] 1697 | #[param(schema_with = custom_type)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1715 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1716 | | get_items, [INFO] [stdout] 1717 | | operation: get, [INFO] [stdout] 1718 | | path: "/items" [INFO] [stdout] 1719 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1743:7 [INFO] [stdout] | [INFO] [stdout] 1743 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:1748:11 [INFO] [stdout] | [INFO] [stdout] 1748 | #[param(required)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1755 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1756 | | get_params, [INFO] [stdout] 1757 | | operation: get, [INFO] [stdout] 1758 | | path: "/params" [INFO] [stdout] 1759 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1797:7 [INFO] [stdout] | [INFO] [stdout] 1797 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1809 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1810 | | get_params, [INFO] [stdout] 1811 | | operation: get, [INFO] [stdout] 1812 | | path: "/params" [INFO] [stdout] 1813 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1845:7 [INFO] [stdout] | [INFO] [stdout] 1845 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1857 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1858 | | get_params, [INFO] [stdout] 1859 | | operation: get, [INFO] [stdout] 1860 | | path: "/params" [INFO] [stdout] 1861 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:1891:7 [INFO] [stdout] | [INFO] [stdout] 1891 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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 `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1903 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1904 | | get_params, [INFO] [stdout] 1905 | | operation: get, [INFO] [stdout] 1906 | | path: "/params" [INFO] [stdout] 1907 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1951 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1952 | | get_items, [INFO] [stdout] 1953 | | operation: get, [INFO] [stdout] 1954 | | path: "/api/v1/prefix/items" [INFO] [stdout] 1955 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/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 `__path_post_secret` [INFO] [stdout] --> tests/path_response_derive_test.rs:672:21 [INFO] [stdout] | [INFO] [stdout] 672 | let operation = __path_post_secret::operation(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_post_secret` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_post_secret`, use `cargo add __path_post_secret` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `__path_post_secret` [INFO] [stdout] --> tests/path_response_derive_test.rs:699:21 [INFO] [stdout] | [INFO] [stdout] 699 | let operation = __path_post_secret::operation(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_post_secret` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_post_secret`, use `cargo add __path_post_secret` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1977 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1978 | | get_items, [INFO] [stdout] 1979 | | operation: get, [INFO] [stdout] 1980 | | path: "/api/v1/prefix/items" [INFO] [stdout] 1981 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2002 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2003 | | get_items, [INFO] [stdout] 2004 | | operation: get, [INFO] [stdout] 2005 | | path: "/items" [INFO] [stdout] 2006 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2028 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2029 | | get_items, [INFO] [stdout] 2030 | | operation: get, [INFO] [stdout] 2031 | | path: "/items" [INFO] [stdout] 2032 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2069 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2070 | | get_items, [INFO] [stdout] 2071 | | operation: get, [INFO] [stdout] 2072 | | path: "/items" [INFO] [stdout] 2073 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2114 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2115 | | test_description_summary, [INFO] [stdout] 2116 | | operation: get, [INFO] [stdout] 2117 | | path: "/test-description" [INFO] [stdout] 2118 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2152 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2153 | | test_description_summary, [INFO] [stdout] 2154 | | operation: get, [INFO] [stdout] 2155 | | path: "/test-description" [INFO] [stdout] 2156 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastapi` [INFO] [stdout] --> tests/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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2186:11 [INFO] [stdout] | [INFO] [stdout] 2186 | #[openapi(paths(test_path_nested))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2198:7 [INFO] [stdout] | [INFO] [stdout] 2198 | #[openapi( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2244:11 [INFO] [stdout] | [INFO] [stdout] 2244 | #[openapi(paths(test_path_nested))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2256:7 [INFO] [stdout] | [INFO] [stdout] 2256 | #[openapi( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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/path_derive.rs:2302:11 [INFO] [stdout] | [INFO] [stdout] 2302 | #[openapi(paths(test_path_nested))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2316:7 [INFO] [stdout] | [INFO] [stdout] 2316 | #[openapi( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fastapi-gen` (test "path_response_derive_test") due to 108 previous errors [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2365:7 [INFO] [stdout] | [INFO] [stdout] 2365 | #[openapi(paths(test_multiple))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2427:7 [INFO] [stdout] | [INFO] [stdout] 2427 | #[openapi(paths(test_links))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2496:7 [INFO] [stdout] | [INFO] [stdout] 2496 | #[openapi(paths(test_collect_schemas))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2557:7 [INFO] [stdout] | [INFO] [stdout] 2557 | #[openapi(paths(test_collect_schemas))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/path_derive.rs:2594:11 [INFO] [stdout] | [INFO] [stdout] 2594 | #[schema(inline)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2607:7 [INFO] [stdout] | [INFO] [stdout] 2607 | #[openapi(paths(test_collect_schemas))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2675:7 [INFO] [stdout] | [INFO] [stdout] 2675 | #[openapi(paths(test_collect_schemas))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:2764:7 [INFO] [stdout] | [INFO] [stdout] 2764 | #[openapi(paths(test_collect_schemas))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 507 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 508 | | /// Not found response [INFO] [stdout] 509 | | #[response(status = NOT_FOUND)] [INFO] [stdout] 510 | | struct NotFound; [INFO] [stdout] 511 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 531 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 532 | | #[response(status = 201)] [INFO] [stdout] 533 | | struct CreatedResponse(#[to_schema] Foo); [INFO] [stdout] 534 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 561 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 562 | | #[response(status = 201)] [INFO] [stdout] 563 | | struct CreatedResponse(String); [INFO] [stdout] 564 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 591 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 592 | | #[response(status = 201)] [INFO] [stdout] 593 | | struct CreatedResponse(Foo); [INFO] [stdout] 594 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 621 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 622 | | #[response(status = 201)] [INFO] [stdout] 623 | | struct CreatedResponse(#[ref_response] Foo); [INFO] [stdout] 624 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 644 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 645 | | #[response(status = 201)] [INFO] [stdout] 646 | | struct CreatedResponse(#[to_response] Foo); [INFO] [stdout] 647 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/response_derive_test.rs:465:40 [INFO] [stdout] | [INFO] [stdout] 465 | let responses = <$ident as fastapi::IntoResponses>::responses(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 686 | let responses = into_responses! { [INFO] [stdout] | _____________________- [INFO] [stdout] 687 | | enum UserResponses { [INFO] [stdout] 688 | | /// Success response [INFO] [stdout] 689 | | #[response(status = 200)] [INFO] [stdout] ... | [INFO] [stdout] 704 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_responses` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/path_derive.rs:2824:7 [INFO] [stdout] | [INFO] [stdout] 2824 | #[schema(as = types::calculation::calculation_assembly_cost::v1::CalculationAssemblyCostResponse)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/path_derive.rs:2826:11 [INFO] [stdout] | [INFO] [stdout] 2826 | #[schema(value_type = uuid::Uuid)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:2868:7 [INFO] [stdout] | [INFO] [stdout] 2868 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:2871:11 [INFO] [stdout] | [INFO] [stdout] 2871 | #[param(ignore)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2878 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2879 | | get_params, [INFO] [stdout] 2880 | | operation: get, [INFO] [stdout] 2881 | | path: "/params" [INFO] [stdout] 2882 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_params` in this scope [INFO] [stdout] --> tests/path_derive.rs:2906:7 [INFO] [stdout] | [INFO] [stdout] 2906 | #[into_params(parameter_in = Query)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fastapi-gen` (test "response_derive_test") due to 84 previous errors [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> tests/path_derive.rs:2909:11 [INFO] [stdout] | [INFO] [stdout] 2909 | #[param(ignore = false)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> tests/path_derive.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[openapi(paths($handler))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2916 | let operation = test_api_fn_doc! { [INFO] [stdout] | _____________________- [INFO] [stdout] 2917 | | get_params, [INFO] [stdout] 2918 | | operation: get, [INFO] [stdout] 2919 | | path: "/params" [INFO] [stdout] 2920 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_api_fn_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/path_derive.rs:2992:7 [INFO] [stdout] | [INFO] [stdout] 2992 | #[schema(content_encoding = "base64")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/path_derive.rs:3034:11 [INFO] [stdout] | [INFO] [stdout] 3034 | #[schema(content_media_type = "application/octet-stream")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [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] [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] [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] [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: 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] [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] [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] [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] [INFO] [stdout] error[E0599]: no function or associated item named `openapi` found for struct `derive_path_parameters_with_all_options_success::ApiDoc` in the current scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 31 | struct ApiDoc; [INFO] [stdout] | ------------- function or associated item `openapi` not found for this struct [INFO] [stdout] 32 | [INFO] [stdout] 33 | let doc = serde_json::to_value(ApiDoc::openapi()).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `derive_path_parameters_with_all_options_success::ApiDoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1686:26 [INFO] [stdout] | [INFO] [stdout] 1686 | .format(Some(fastapi::openapi::SchemaFormat::Custom( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] [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] [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] [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] [INFO] [stdout] error[E0599]: no function or associated item named `openapi` found for struct `derive_path_parameters_minimal_success::ApiDoc` in the current scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 72 | struct ApiDoc; [INFO] [stdout] | ------------- function or associated item `openapi` not found for this struct [INFO] [stdout] 73 | [INFO] [stdout] 74 | let doc = serde_json::to_value(ApiDoc::openapi()).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `derive_path_parameters_minimal_success::ApiDoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `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] [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] [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: 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] [INFO] [stdout] error[E0599]: no function or associated item named `openapi` found for struct `derive_path_parameter_multiple_success::ApiDoc` in the current scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:116:44 [INFO] [stdout] | [INFO] [stdout] 114 | struct ApiDoc; [INFO] [stdout] | ------------- function or associated item `openapi` not found for this struct [INFO] [stdout] 115 | [INFO] [stdout] 116 | let doc = serde_json::to_value(ApiDoc::openapi()).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `derive_path_parameter_multiple_success::ApiDoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/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: 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] [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] [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] [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] [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] [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] [INFO] [stderr] error: could not compile `fastapi-gen` (test "request_body_derive_test") due to 71 previous errors [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] [INFO] [stdout] error[E0599]: no function or associated item named `openapi` found for struct `derive_parameters_with_all_types::ApiDoc` in the current scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:171:44 [INFO] [stdout] | [INFO] [stdout] 169 | struct ApiDoc; [INFO] [stdout] | ------------- function or associated item `openapi` not found for this struct [INFO] [stdout] 170 | [INFO] [stdout] 171 | let doc = serde_json::to_value(ApiDoc::openapi()).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `derive_parameters_with_all_types::ApiDoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `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] [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] [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] [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] [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] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/path_derive.rs:1685:26 [INFO] [stdout] | [INFO] [stdout] 1685 | .schema_type(fastapi::openapi::Type::String) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1685 - .schema_type(fastapi::openapi::Type::String) [INFO] [stdout] 1685 + .schema_type(Type::String) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] warning: unused import: `test_nest::NestApi` [INFO] [stdout] --> tests/path_derive.rs:2313:9 [INFO] [stdout] | [INFO] [stdout] 2313 | use test_nest::NestApi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] error[E0599]: no function or associated item named `openapi` found for struct `derive_params_without_fn_args::ApiDoc` in the current scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:243:44 [INFO] [stdout] | [INFO] [stdout] 241 | struct ApiDoc; [INFO] [stdout] | ------------- function or associated item `openapi` not found for this struct [INFO] [stdout] 242 | [INFO] [stdout] 243 | let doc = serde_json::to_value(ApiDoc::openapi()).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `derive_params_without_fn_args::ApiDoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] error[E0599]: no function or associated item named `openapi` found for struct `derive_params_with_params_ext::ApiDoc` in the current scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:279:44 [INFO] [stdout] | [INFO] [stdout] 277 | struct ApiDoc; [INFO] [stdout] | ------------- function or associated item `openapi` not found for this struct [INFO] [stdout] 278 | [INFO] [stdout] 279 | let doc = serde_json::to_value(ApiDoc::openapi()).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `derive_params_with_params_ext::ApiDoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] error[E0599]: no function or associated item named `openapi` found for struct `derive_path_params_with_parameter_type_args::ApiDoc` in the current scope [INFO] [stdout] --> tests/path_parameter_derive_test.rs:318:44 [INFO] [stdout] | [INFO] [stdout] 316 | struct ApiDoc; [INFO] [stdout] | ------------- function or associated item `openapi` not found for this struct [INFO] [stdout] 317 | [INFO] [stdout] 318 | let doc = serde_json::to_value(ApiDoc::openapi()).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `derive_path_params_with_parameter_type_args::ApiDoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] [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] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `__path_handler` [INFO] [stdout] --> tests/path_parameter_derive_test.rs:360:46 [INFO] [stdout] | [INFO] [stdout] 360 | let value = serde_json::to_value(__path_handler::operation()) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_handler` [INFO] [stdout] ... [INFO] [stdout] 372 | let value = into_params! { [INFO] [stdout] | _________________- [INFO] [stdout] 373 | | #[into_params(parameter_in = Query)] [INFO] [stdout] 374 | | #[allow(unused)] [INFO] [stdout] 375 | | struct TasksFilterQuery { [INFO] [stdout] ... | [INFO] [stdout] 389 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_handler`, use `cargo add __path_handler` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `into_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [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] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:4239:15 [INFO] [stdout] | [INFO] [stdout] 4239 | #[schema(example = json!({ [INFO] [stdout] | ^^^^^^ [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] [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] [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] [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] [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] [INFO] [stderr] error: could not compile `fastapi-gen` (test "path_parameter_derive_test") due to 30 previous errors [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schema_derive_test.rs:4451:15 [INFO] [stdout] | [INFO] [stdout] 4451 | #[schema(max_length = 10, min_length = 5, pattern = "[a-z]*")] [INFO] [stdout] | ^^^^^^ [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] [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] [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] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `__path_handler` [INFO] [stdout] --> tests/path_derive.rs:2840:21 [INFO] [stdout] | [INFO] [stdout] 2840 | let operation = __path_handler::operation(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_handler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_handler`, use `cargo add __path_handler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `__path_test_octet_stream` [INFO] [stdout] --> tests/path_derive.rs:2961:42 [INFO] [stdout] | [INFO] [stdout] 2961 | let operation = serde_json::to_value(__path_test_octet_stream::operation()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_test_octet_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_test_octet_stream`, use `cargo add __path_test_octet_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `__path_test_png` [INFO] [stdout] --> tests/path_derive.rs:3006:30 [INFO] [stdout] | [INFO] [stdout] 3006 | serde_json::to_value(__path_test_png::operation()).expect("Operation is JSON serializable"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_test_png` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_test_png`, use `cargo add __path_test_png` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `__path_test_multipart` [INFO] [stdout] --> tests/path_derive.rs:3048:42 [INFO] [stdout] | [INFO] [stdout] 3048 | let operation = serde_json::to_value(__path_test_multipart::operation()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_test_multipart` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_test_multipart`, use `cargo add __path_test_multipart` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `__path_test_multipart` [INFO] [stdout] --> tests/path_derive.rs:3104:42 [INFO] [stdout] | [INFO] [stdout] 3104 | let operation = serde_json::to_value(__path_test_multipart::operation()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_test_multipart` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_test_multipart`, use `cargo add __path_test_multipart` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `__path_test_const_generic` [INFO] [stdout] --> tests/path_derive.rs:3142:34 [INFO] [stdout] | [INFO] [stdout] 3142 | let _ = serde_json::to_value(__path_test_const_generic::operation()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_test_const_generic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_test_const_generic`, use `cargo add __path_test_const_generic` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `__path_test_const_generic` [INFO] [stdout] --> tests/path_derive.rs:3167:34 [INFO] [stdout] | [INFO] [stdout] 3167 | let _ = serde_json::to_value(__path_test_const_generic::operation()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__path_test_const_generic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__path_test_const_generic`, use `cargo add __path_test_const_generic` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: 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] [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] [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] [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] [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] [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] [INFO] [stderr] error: could not compile `fastapi-gen` (test "path_derive") due to 249 previous errors; 1 warning emitted [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] error[E0277]: `SerdeContainer` doesn't implement `Debug` [INFO] [stdout] --> src/component/serde.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | assert_eq!(expected, result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `SerdeContainer` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `SerdeContainer` [INFO] [stdout] = note: add `#[derive(Debug)]` to `SerdeContainer` or manually `impl Debug for SerdeContainer` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `SerdeContainer` doesn't implement `Debug` [INFO] [stdout] --> src/component/serde.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | assert_eq!(expected, result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `SerdeContainer` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `SerdeContainer` [INFO] [stdout] = note: add `#[derive(Debug)]` to `SerdeContainer` or manually `impl Debug for SerdeContainer` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:4685:26 [INFO] [stdout] | [INFO] [stdout] 4685 | .format(Some(fastapi::openapi::SchemaFormat::Custom( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:5958:24 [INFO] [stdout] | [INFO] [stdout] 5958 | fn schema() -> fastapi::openapi::RefOr { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:5958:48 [INFO] [stdout] | [INFO] [stdout] 5958 | fn schema() -> fastapi::openapi::RefOr { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:4684:26 [INFO] [stdout] | [INFO] [stdout] 4684 | .schema_type(fastapi::openapi::Type::String) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4684 - .schema_type(fastapi::openapi::Type::String) [INFO] [stdout] 4684 + .schema_type(Type::String) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 33 | let map = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 34 | | struct Map { [INFO] [stdout] 35 | | map: HashMap, [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 52 | let map = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 53 | | struct Map { [INFO] [stdout] 54 | | map: HashMap, [INFO] [stdout] 55 | | #[schema(inline)] [INFO] [stdout] ... | [INFO] [stdout] 58 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 92 | let map = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 93 | | struct Map { [INFO] [stdout] 94 | | #[schema(additional_properties)] [INFO] [stdout] 95 | | map: HashMap, [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 116 | let map = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 117 | | #[derive(Serialize)] [INFO] [stdout] 118 | | struct Map { [INFO] [stdout] 119 | | #[serde(flatten)] [INFO] [stdout] ... | [INFO] [stdout] 122 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 141 | let map = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 142 | | #[derive(Serialize)] [INFO] [stdout] 143 | | struct Map { [INFO] [stdout] 144 | | #[serde(flatten)] [INFO] [stdout] ... | [INFO] [stdout] 147 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 160 | let mode = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 161 | | #[schema(default = "Mode1", example = "Mode2")] [INFO] [stdout] 162 | | enum Mode { [INFO] [stdout] 163 | | Mode1, Mode2 [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 177 | let mode = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 178 | | enum Mode { [INFO] [stdout] 179 | | Mode1, [INFO] [stdout] 180 | | Mode2 [INFO] [stdout] 181 | | } [INFO] [stdout] 182 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 196 | let mode = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 197 | | #[schema(default = mode_custom_default_fn)] [INFO] [stdout] 198 | | enum Mode { [INFO] [stdout] 199 | | Mode1, [INFO] [stdout] ... | [INFO] [stdout] 202 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 220 | let book = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 221 | | struct Book { [INFO] [stdout] 222 | | name: String, [INFO] [stdout] 223 | | hash: String, [INFO] [stdout] 224 | | } [INFO] [stdout] 225 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 237 | let book = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 238 | | struct Book { [INFO] [stdout] 239 | | #[schema(default = String::default)] [INFO] [stdout] 240 | | name: String, [INFO] [stdout] ... | [INFO] [stdout] 248 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 264 | let book = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 265 | | #[schema(default)] [INFO] [stdout] 266 | | struct Book { [INFO] [stdout] 267 | | name: String, [INFO] [stdout] ... | [INFO] [stdout] 284 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 298 | let owner = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 299 | | struct Owner { [INFO] [stdout] 300 | | #[schema(default = json!({ "name": "Dune" }))] [INFO] [stdout] 301 | | favorite_book: Book, [INFO] [stdout] ... | [INFO] [stdout] 309 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 376 | let book = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 377 | | #[derive(serde::Deserialize)] [INFO] [stdout] 378 | | #[serde(default)] [INFO] [stdout] 379 | | struct Book { [INFO] [stdout] ... | [INFO] [stdout] 397 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 411 | let owner = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 412 | | struct Owner { [INFO] [stdout] 413 | | #[schema(default = 1)] [INFO] [stdout] 414 | | id: i64, [INFO] [stdout] ... | [INFO] [stdout] 420 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 472 | let account = api_doc! { [INFO] [stdout] | ___________________- [INFO] [stdout] 473 | | /// This is user account dto object [INFO] [stdout] 474 | | /// [INFO] [stdout] 475 | | /// Detailed documentation here. [INFO] [stdout] ... | [INFO] [stdout] 489 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 539 | let account = api_doc! { [INFO] [stdout] | ___________________- [INFO] [stdout] 540 | | /// This is user account status enum [INFO] [stdout] 541 | | /// [INFO] [stdout] 542 | | /// Detailed documentation here. [INFO] [stdout] ... | [INFO] [stdout] 552 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 561 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 562 | | struct Point(f32); [INFO] [stdout] 563 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 573 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 574 | | /// Contains x and y coordinates [INFO] [stdout] 575 | | /// [INFO] [stdout] 576 | | /// Coordinates are used to pinpoint location on a map [INFO] [stdout] 577 | | struct Point(f64, f64); [INFO] [stdout] 578 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 592 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 593 | | struct Point(f64, String); [INFO] [stdout] 594 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 605 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 606 | | struct Wrapper(Option); [INFO] [stdout] 607 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 616 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 617 | | /// Some description [INFO] [stdout] 618 | | struct Wrapper(Option>); [INFO] [stdout] 619 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 631 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 632 | | /// Some documentation [INFO] [stdout] 633 | | struct Wrapper(Option>, String); [INFO] [stdout] 634 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 646 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 647 | | /// Some documentation [INFO] [stdout] 648 | | /// more documentation [INFO] [stdout] 649 | | struct Wrapper(Vec); [INFO] [stdout] 650 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 664 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 665 | | #[schema(default)] [INFO] [stdout] 666 | | struct Point(f32); [INFO] [stdout] ... | [INFO] [stdout] 673 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 684 | let point = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 685 | | #[schema(default)] [INFO] [stdout] 686 | | struct Point(f32, f32); [INFO] [stdout] ... | [INFO] [stdout] 693 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 701 | let vecs = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 702 | | struct VecTest { [INFO] [stdout] 703 | | vecs: Vec> [INFO] [stdout] 704 | | } [INFO] [stdout] 705 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 719 | let pet = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 720 | | #[schema(example = json!({"name": "bob the cat", "age": 8}))] [INFO] [stdout] 721 | | struct Pet { [INFO] [stdout] 722 | | name: String, [INFO] [stdout] ... | [INFO] [stdout] 725 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 736 | let pet = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 737 | | #[deprecated] [INFO] [stdout] 738 | | struct Pet { [INFO] [stdout] 739 | | name: String, [INFO] [stdout] ... | [INFO] [stdout] 743 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 757 | let pet = api_doc! { [INFO] [stdout] | _______________- [INFO] [stdout] 758 | | #[schema(deprecated)] [INFO] [stdout] 759 | | struct Pet { [INFO] [stdout] 760 | | name: String, [INFO] [stdout] ... | [INFO] [stdout] 764 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 779 | let pet_age = api_doc! { [INFO] [stdout] | ___________________- [INFO] [stdout] 780 | | #[deprecated] [INFO] [stdout] 781 | | #[schema(example = 8)] [INFO] [stdout] 782 | | struct PetAge(u64); [INFO] [stdout] 783 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 793 | let pet_age = api_doc! { [INFO] [stdout] | ___________________- [INFO] [stdout] 794 | | #[schema(deprecated, example = 8)] [INFO] [stdout] 795 | | struct PetAge(u64); [INFO] [stdout] 796 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 806 | let pet_age = api_doc! { [INFO] [stdout] | ___________________- [INFO] [stdout] 807 | | #[schema(example = "0", default = i64::default)] [INFO] [stdout] 808 | | struct PetAge(i64, i64); [INFO] [stdout] 809 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 825 | let mode = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 826 | | #[deprecated] [INFO] [stdout] 827 | | enum Mode { [INFO] [stdout] 828 | | Mode1, Mode2 [INFO] [stdout] 829 | | } [INFO] [stdout] 830 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 841 | let mode = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 842 | | #[schema(deprecated)] [INFO] [stdout] 843 | | enum Mode { [INFO] [stdout] 844 | | Mode1, Mode2 [INFO] [stdout] 845 | | } [INFO] [stdout] 846 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 858 | let greeting = api_doc! { [INFO] [stdout] | ____________________- [INFO] [stdout] 859 | | struct Greeting<'a> { [INFO] [stdout] 860 | | greeting: &'a str [INFO] [stdout] 861 | | } [INFO] [stdout] 862 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 872 | let greeting = api_doc! { [INFO] [stdout] | ____________________- [INFO] [stdout] 873 | | struct Greeting<'a> { [INFO] [stdout] 874 | | greeting: Cow<'a, str> [INFO] [stdout] 875 | | } [INFO] [stdout] 876 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 893 | let greeting = api_doc! { [INFO] [stdout] | ____________________- [INFO] [stdout] 894 | | struct Greeting { [INFO] [stdout] 895 | | foo: Box, [INFO] [stdout] 896 | | ref_cell_foo: RefCell [INFO] [stdout] 897 | | } [INFO] [stdout] 898 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 917 | let greeting = api_doc! { [INFO] [stdout] | ____________________- [INFO] [stdout] 918 | | struct Greeting { [INFO] [stdout] 919 | | #[schema(inline)] [INFO] [stdout] 920 | | foo1: Foo, [INFO] [stdout] ... | [INFO] [stdout] 928 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1007 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1008 | | #[derive(Serialize)] [INFO] [stdout] 1009 | | enum Bar { [INFO] [stdout] 1010 | | A, [INFO] [stdout] ... | [INFO] [stdout] 1014 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1031 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1032 | | #[derive(Serialize)] [INFO] [stdout] 1033 | | #[serde(tag = "tag")] [INFO] [stdout] 1034 | | enum Bar { [INFO] [stdout] ... | [INFO] [stdout] 1039 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1100 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1101 | | #[derive(Serialize)] [INFO] [stdout] 1102 | | #[serde(tag = "tag")] [INFO] [stdout] 1103 | | enum Bar { [INFO] [stdout] ... | [INFO] [stdout] 1109 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1143 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1144 | | #[derive(Serialize)] [INFO] [stdout] 1145 | | #[serde(untagged)] [INFO] [stdout] 1146 | | enum Foo { [INFO] [stdout] ... | [INFO] [stdout] 1150 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1168 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 1169 | | #[derive(Serialize)] [INFO] [stdout] 1170 | | /// Since OpenAPI 3.1 the description can be applied to Ref types [INFO] [stdout] 1171 | | struct Foo(Bar); [INFO] [stdout] 1172 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1189 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1190 | | #[derive(Serialize)] [INFO] [stdout] 1191 | | enum EnumWithReference { [INFO] [stdout] 1192 | | /// Since OpenAPI 3.1 the comments can be added to the Ref types as well [INFO] [stdout] ... | [INFO] [stdout] 1195 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1219 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1220 | | #[derive(Serialize)] [INFO] [stdout] 1221 | | #[serde(tag = "tag")] [INFO] [stdout] 1222 | | enum EnumWithReference { [INFO] [stdout] ... | [INFO] [stdout] 1225 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1248 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1249 | | /// This is the description [INFO] [stdout] 1250 | | #[derive(Serialize)] [INFO] [stdout] 1251 | | #[schema(example = json!(EnumWithProperties::Variant2{name: String::from("foobar")}), [INFO] [stdout] ... | [INFO] [stdout] 1261 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1319 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1320 | | #[derive(Serialize)] [INFO] [stdout] 1321 | | #[serde(tag = "enum")] [INFO] [stdout] 1322 | | enum EnumWithReference { [INFO] [stdout] ... | [INFO] [stdout] 1325 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1359 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1360 | | #[derive(Serialize)] [INFO] [stdout] 1361 | | #[serde(tag = "enum")] [INFO] [stdout] 1362 | | enum EnumWithReference { [INFO] [stdout] ... | [INFO] [stdout] 1370 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1440 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1441 | | #[derive(Serialize)] [INFO] [stdout] 1442 | | enum Bar { [INFO] [stdout] 1443 | | UnitValue, [INFO] [stdout] ... | [INFO] [stdout] 1450 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1506 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1507 | | #[derive(Serialize)] [INFO] [stdout] 1508 | | enum Bar { [INFO] [stdout] 1509 | | #[schema(deprecated)] [INFO] [stdout] ... | [INFO] [stdout] 1519 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1576 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1577 | | #[derive(Serialize)] [INFO] [stdout] 1578 | | enum Bar { [INFO] [stdout] 1579 | | #[schema(title = "Unit")] [INFO] [stdout] ... | [INFO] [stdout] 1588 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1639 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1640 | | #[derive(Serialize)] [INFO] [stdout] 1641 | | enum EnumWithExample { [INFO] [stdout] 1642 | | #[schema(example = "EX: Unit")] [INFO] [stdout] ... | [INFO] [stdout] 1652 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1704 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1705 | | #[derive(Serialize)] [INFO] [stdout] 1706 | | #[serde(rename_all = "snake_case")] [INFO] [stdout] 1707 | | enum Bar { [INFO] [stdout] ... | [INFO] [stdout] 1715 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1769 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1770 | | #[derive(Serialize)] [INFO] [stdout] 1771 | | enum Bar { [INFO] [stdout] 1772 | | #[serde(rename = "renamed_unit_value")] [INFO] [stdout] ... | [INFO] [stdout] 1784 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1835 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1836 | | #[schema(rename_all = "SCREAMING-KEBAB-CASE")] [INFO] [stdout] 1837 | | struct Post { [INFO] [stdout] 1838 | | post_id: i64, [INFO] [stdout] ... | [INFO] [stdout] 1843 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1873 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1874 | | #[schema(rename_all = "UPPERCASE")] [INFO] [stdout] 1875 | | enum PostType { [INFO] [stdout] 1876 | | NewPost(String), [INFO] [stdout] ... | [INFO] [stdout] 1890 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 1957 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 1958 | | #[derive(serde::Deserialize)] [INFO] [stdout] 1959 | | #[serde(rename_all = "lowercase")] [INFO] [stdout] 1960 | | #[schema(rename_all = "UPPERCASE")] [INFO] [stdout] ... | [INFO] [stdout] 1970 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2008 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2009 | | #[schema(title = "Post")] [INFO] [stdout] 2010 | | struct Post { [INFO] [stdout] 2011 | | id: i64, [INFO] [stdout] 2012 | | } [INFO] [stdout] 2013 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2033 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2034 | | #[schema(title = "UserType")] [INFO] [stdout] 2035 | | enum UserType { [INFO] [stdout] 2036 | | Admin, [INFO] [stdout] ... | [INFO] [stdout] 2040 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2054 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2055 | | enum UserType { [INFO] [stdout] 2056 | | #[schema(title = "admin")] [INFO] [stdout] 2057 | | Admin(String), [INFO] [stdout] ... | [INFO] [stdout] 2063 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2114 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2115 | | #[derive(Serialize)] [INFO] [stdout] 2116 | | #[serde(tag = "tag")] [INFO] [stdout] 2117 | | enum Bar { [INFO] [stdout] ... | [INFO] [stdout] 2124 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2197 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2198 | | #[derive(Serialize)] [INFO] [stdout] 2199 | | struct Record { [INFO] [stdout] 2200 | | amount: i64, [INFO] [stdout] ... | [INFO] [stdout] 2205 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2237 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2238 | | #[derive(Serialize)] [INFO] [stdout] 2239 | | struct NamedFields { [INFO] [stdout] 2240 | | id: &'static str, [INFO] [stdout] ... | [INFO] [stdout] 2246 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2276 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2277 | | #[derive(Serialize)] [INFO] [stdout] 2278 | | #[serde(untagged)] [INFO] [stdout] 2279 | | #[schema(title = "FooTitle")] [INFO] [stdout] ... | [INFO] [stdout] 2284 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2305 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2306 | | #[derive(Serialize)] [INFO] [stdout] 2307 | | #[serde(untagged)] [INFO] [stdout] 2308 | | enum EnumWithUnit { [INFO] [stdout] ... | [INFO] [stdout] 2312 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2339 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2340 | | #[derive(Serialize)] [INFO] [stdout] 2341 | | #[serde(untagged)] [INFO] [stdout] 2342 | | enum Bar { [INFO] [stdout] ... | [INFO] [stdout] 2346 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2372 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2373 | | #[derive(Serialize)] [INFO] [stdout] 2374 | | #[serde(untagged)] [INFO] [stdout] 2375 | | enum Foo { [INFO] [stdout] ... | [INFO] [stdout] 2379 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2421 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2422 | | #[derive(Serialize)] [INFO] [stdout] 2423 | | #[serde(untagged)] [INFO] [stdout] 2424 | | enum Foo { [INFO] [stdout] ... | [INFO] [stdout] 2430 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2466 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2467 | | #[derive(Serialize)] [INFO] [stdout] 2468 | | #[serde(tag = "tag", content = "content")] [INFO] [stdout] 2469 | | enum Foo { [INFO] [stdout] ... | [INFO] [stdout] 2473 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2529 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2530 | | #[derive(Serialize)] [INFO] [stdout] 2531 | | #[serde(tag = "tag", content = "content")] [INFO] [stdout] 2532 | | enum Bar { [INFO] [stdout] ... | [INFO] [stdout] 2536 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2598 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2599 | | #[derive(Serialize)] [INFO] [stdout] 2600 | | #[serde(untagged)] [INFO] [stdout] 2601 | | #[schema(discriminator = "bar")] [INFO] [stdout] ... | [INFO] [stdout] 2606 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2641 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2642 | | #[derive(Serialize)] [INFO] [stdout] 2643 | | #[serde(untagged)] [INFO] [stdout] 2644 | | #[schema(discriminator(property_name = "bar_type", mapping( [INFO] [stdout] ... | [INFO] [stdout] 2652 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2684 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2685 | | #[derive(Serialize)] [INFO] [stdout] 2686 | | #[serde(tag = "tag", content = "content")] [INFO] [stdout] 2687 | | enum Foo { [INFO] [stdout] ... | [INFO] [stdout] 2691 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2763 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2764 | | #[derive(Serialize)] [INFO] [stdout] 2765 | | #[serde(tag = "tag", content = "content")] [INFO] [stdout] 2766 | | enum Foo { [INFO] [stdout] ... | [INFO] [stdout] 2772 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2842 | let value: Value = api_doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 2843 | | #[derive(Serialize)] [INFO] [stdout] 2844 | | #[serde(tag = "tag")] [INFO] [stdout] 2845 | | enum Bar { [INFO] [stdout] ... | [INFO] [stdout] 2853 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2900 | let user = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 2901 | | struct User { [INFO] [stdout] 2902 | | #[schema(read_only)] [INFO] [stdout] 2903 | | username: String, [INFO] [stdout] ... | [INFO] [stdout] 2907 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 2921 | let user = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 2922 | | #[derive(Serialize)] [INFO] [stdout] 2923 | | struct User { [INFO] [stdout] 2924 | | #[schema(nullable)] [INFO] [stdout] ... | [INFO] [stdout] 2939 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3009 | let card = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3010 | | enum Card { [INFO] [stdout] 3011 | | Number(#[schema(inline)] Number), [INFO] [stdout] 3012 | | Color(#[schema(inline)] Color), [INFO] [stdout] 3013 | | } [INFO] [stdout] 3014 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3066 | let user = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3067 | | #[schema(xml(name = "user", prefix = "u", namespace = "https://mynamespace.test"))] [INFO] [stdout] 3068 | | struct User { [INFO] [stdout] 3069 | | #[schema(xml(attribute, prefix = "u"))] [INFO] [stdout] ... | [INFO] [stdout] 3078 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3118 | let user = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3119 | | #[schema(xml(name = "user"))] [INFO] [stdout] 3120 | | struct User { [INFO] [stdout] 3121 | | #[schema(xml(attribute, prefix = "u"))] [INFO] [stdout] ... | [INFO] [stdout] 3126 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3249 | let post = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3250 | | struct Post { [INFO] [stdout] 3251 | | id: i32, [INFO] [stdout] 3252 | | #[schema(value_type = String)] [INFO] [stdout] ... | [INFO] [stdout] 3255 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3273 | let post = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3274 | | struct Post { [INFO] [stdout] 3275 | | id: i32, [INFO] [stdout] 3276 | | #[schema(value_type = path::to::Foo)] [INFO] [stdout] ... | [INFO] [stdout] 3279 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3298 | let post = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3299 | | struct Post { [INFO] [stdout] 3300 | | id: i32, [INFO] [stdout] 3301 | | #[schema(value_type = path::to::Foo)] [INFO] [stdout] ... | [INFO] [stdout] 3304 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3316 | let post = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3317 | | struct Post { [INFO] [stdout] 3318 | | id: i32, [INFO] [stdout] 3319 | | #[schema(value_type = String, format = Byte)] [INFO] [stdout] ... | [INFO] [stdout] 3322 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3334 | let post = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3335 | | struct Post { [INFO] [stdout] 3336 | | #[schema(value_type = String, format = "uri")] [INFO] [stdout] 3337 | | value: String, [INFO] [stdout] 3338 | | } [INFO] [stdout] 3339 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3349 | let post = api_doc! { [INFO] [stdout] | ________________- [INFO] [stdout] 3350 | | struct Post { [INFO] [stdout] 3351 | | id: i32, [INFO] [stdout] 3352 | | #[schema(value_type = String, format = Binary)] [INFO] [stdout] ... | [INFO] [stdout] 3355 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3367 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 3368 | | #[schema(value_type = String)] [INFO] [stdout] 3369 | | struct Value(i64); [INFO] [stdout] 3370 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3380 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 3381 | | #[schema(value_type = String, format = Byte)] [INFO] [stdout] 3382 | | struct Value(i64); [INFO] [stdout] 3383 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3393 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 3394 | | #[schema(format = Ipv4)] [INFO] [stdout] 3395 | | struct Ipv4(String); [INFO] [stdout] 3396 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] --> tests/schema_derive_test.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | <$ident as fastapi::PartialSchema>::schema() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fastapi` [INFO] [stdout] ... [INFO] [stdout] 3406 | let value = api_doc! { [INFO] [stdout] | _________________- [INFO] [stdout] 3407 | | struct Value { [INFO] [stdout] 3408 | | #[schema(value_type = Object)] [INFO] [stdout] 3409 | | field: String, [INFO] [stdout] 3410 | | } [INFO] [stdout] 3411 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastapi`, use `cargo add fastapi` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [WARN] too many lines in the log, truncating it