[INFO] fetching crate salvo-oapi-macros 0.92.0... [INFO] testing salvo-oapi-macros-0.92.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate salvo-oapi-macros 0.92.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate salvo-oapi-macros 0.92.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate salvo-oapi-macros 0.92.0 [INFO] tweaked toml for crates.io crate salvo-oapi-macros 0.92.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate salvo-oapi-macros 0.92.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate salvo-oapi-macros 0.92.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded salvo-serde-util v0.92.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2d768641e7da089d03d7ae670d5ca4c869cdaca6069d6ca19752f29862c2579 [INFO] running `Command { std: "docker" "start" "-a" "d2d768641e7da089d03d7ae670d5ca4c869cdaca6069d6ca19752f29862c2579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2d768641e7da089d03d7ae670d5ca4c869cdaca6069d6ca19752f29862c2579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2d768641e7da089d03d7ae670d5ca4c869cdaca6069d6ca19752f29862c2579", kill_on_drop: false }` [INFO] [stdout] d2d768641e7da089d03d7ae670d5ca4c869cdaca6069d6ca19752f29862c2579 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84887e1cfff8a214f4d3a2754825678e1ce52da484305cc58d481c92f36285ff [INFO] running `Command { std: "docker" "start" "-a" "84887e1cfff8a214f4d3a2754825678e1ce52da484305cc58d481c92f36285ff", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling toml_edit v0.25.11+spec-1.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling salvo-serde-util v0.92.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling salvo-oapi-macros v0.92.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.46s [INFO] running `Command { std: "docker" "inspect" "84887e1cfff8a214f4d3a2754825678e1ce52da484305cc58d481c92f36285ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84887e1cfff8a214f4d3a2754825678e1ce52da484305cc58d481c92f36285ff", kill_on_drop: false }` [INFO] [stdout] 84887e1cfff8a214f4d3a2754825678e1ce52da484305cc58d481c92f36285ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76eb713fddbb516e0444a0a00d57f3968f192cb60e9b2c14721fc76e8ca20a70 [INFO] running `Command { std: "docker" "start" "-a" "76eb713fddbb516e0444a0a00d57f3968f192cb60e9b2c14721fc76e8ca20a70", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling toml_edit v0.25.11+spec-1.1.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling salvo-serde-util v0.92.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling salvo-oapi-macros v0.92.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling serde_with_macros v3.18.0 [INFO] [stderr] Compiling serde_with v3.18.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/endpoint_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use salvo::oapi::extract::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/endpoint_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use salvo::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `salvo::oapi::extract::*`, `salvo::prelude::*` [INFO] [stdout] --> tests/endpoint_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use salvo::oapi::extract::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use salvo::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use salvo::oapi::extract::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use salvo::oapi::{Components, ComposeSchema, RefOr}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use salvo::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | use salvo::oapi::SchemaReference; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `salvo::oapi::extract::*`, `salvo::oapi::Components`, `salvo::oapi::ComposeSchema`, `salvo::oapi::RefOr`, `salvo::prelude::*`, `salvo::oapi::SchemaReference` [INFO] [stdout] --> tests/compose_schema_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use salvo::oapi::extract::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use salvo::oapi::{Components, ComposeSchema, RefOr}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 6 | use salvo::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | use salvo::oapi::SchemaReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/endpoint_tests.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use salvo::oapi::extract::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use salvo::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `salvo::oapi::extract::*`, `salvo::prelude::*` [INFO] [stdout] --> tests/derive_to_schema_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use salvo::oapi::extract::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use salvo::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `QueryParam` in this scope [INFO] [stdout] --> tests/endpoint_tests.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | async fn hello(name: QueryParam) -> String { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/endpoint_tests.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let router = Router::new().push(Router::with_path("hello").get(hello)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/endpoint_tests.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | let router = Router::new().push(Router::with_path("hello").get(hello)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> tests/endpoint_tests.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let doc = OpenApi::new("test api", "0.0.1").merge_router(&router); [INFO] [stdout] | ^^^^^^^ use of undeclared type `OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `salvo-oapi-macros` (test "endpoint_tests") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[salvo(schema(aliases(MyI32 = MyObject, MyStr = MyObject)))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:183:38 [INFO] [stdout] | [INFO] [stdout] 183 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:140:38 [INFO] [stdout] | [INFO] [stdout] 140 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:184:7 [INFO] [stdout] | [INFO] [stdout] 184 | #[salvo(schema(rename_all = "camelCase"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:190:7 [INFO] [stdout] | [INFO] [stdout] 190 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:146:7 [INFO] [stdout] | [INFO] [stdout] 146 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:256:38 [INFO] [stdout] | [INFO] [stdout] 256 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:194:38 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:257:7 [INFO] [stdout] | [INFO] [stdout] 257 | #[salvo(schema(multiple_of = 5))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:260:38 [INFO] [stdout] | [INFO] [stdout] 260 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:200:7 [INFO] [stdout] | [INFO] [stdout] 200 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:261:7 [INFO] [stdout] | [INFO] [stdout] 261 | #[salvo(schema(maximum = 100))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:232:38 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:264:38 [INFO] [stdout] | [INFO] [stdout] 264 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:237:7 [INFO] [stdout] | [INFO] [stdout] 237 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:265:7 [INFO] [stdout] | [INFO] [stdout] 265 | #[salvo(schema(minimum = -100))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:268:38 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:268:38 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:269:7 [INFO] [stdout] | [INFO] [stdout] 269 | #[salvo(schema(exclusive_maximum = 100))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:272:38 [INFO] [stdout] | [INFO] [stdout] 272 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:276:38 [INFO] [stdout] | [INFO] [stdout] 276 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:273:7 [INFO] [stdout] | [INFO] [stdout] 273 | #[salvo(schema(exclusive_minimum = -100))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:276:38 [INFO] [stdout] | [INFO] [stdout] 276 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:277:7 [INFO] [stdout] | [INFO] [stdout] 277 | #[salvo(schema(min_length = 3))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:282:7 [INFO] [stdout] | [INFO] [stdout] 282 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:280:38 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:331:38 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[salvo(schema(max_length = 3))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:284:38 [INFO] [stdout] | [INFO] [stdout] 284 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:385:38 [INFO] [stdout] | [INFO] [stdout] 385 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:285:7 [INFO] [stdout] | [INFO] [stdout] 285 | #[salvo(schema(pattern = r#"^([a-zA-Z0-9_\-]{3,32}$)"#))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:390:7 [INFO] [stdout] | [INFO] [stdout] 390 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:288:38 [INFO] [stdout] | [INFO] [stdout] 288 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:394:7 [INFO] [stdout] | [INFO] [stdout] 394 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:289:7 [INFO] [stdout] | [INFO] [stdout] 289 | #[salvo(schema(max_items = 5))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:398:7 [INFO] [stdout] | [INFO] [stdout] 398 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:292:38 [INFO] [stdout] | [INFO] [stdout] 292 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:293:7 [INFO] [stdout] | [INFO] [stdout] 293 | #[salvo(schema(min_items = 1))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:296:38 [INFO] [stdout] | [INFO] [stdout] 296 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:310:7 [INFO] [stdout] | [INFO] [stdout] 310 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:468:38 [INFO] [stdout] | [INFO] [stdout] 468 | #[derive(Serialize, Deserialize, ToSchema, Debug, Default)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:474:38 [INFO] [stdout] | [INFO] [stdout] 474 | #[derive(Serialize, Deserialize, ToSchema, Debug, Default)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:479:38 [INFO] [stdout] | [INFO] [stdout] 479 | #[derive(Serialize, Deserialize, ToSchema, Debug, Default)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:488:7 [INFO] [stdout] | [INFO] [stdout] 488 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:547:38 [INFO] [stdout] | [INFO] [stdout] 547 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | salvo::oapi::naming::set_namer( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:552:38 [INFO] [stdout] | [INFO] [stdout] 552 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | salvo::oapi::naming::FlexNamer::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:553:7 [INFO] [stdout] | [INFO] [stdout] 553 | #[salvo(schema( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:562:7 [INFO] [stdout] | [INFO] [stdout] 562 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:609:38 [INFO] [stdout] | [INFO] [stdout] 609 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:614:38 [INFO] [stdout] | [INFO] [stdout] 614 | #[derive(Serialize, Deserialize, ToSchema, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::ToSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:615:7 [INFO] [stdout] | [INFO] [stdout] 615 | #[salvo(schema( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `endpoint` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:627:7 [INFO] [stdout] | [INFO] [stdout] 627 | #[endpoint] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use salvo_oapi_macros::endpoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | salvo::oapi::naming::set_namer( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | salvo::oapi::naming::FlexNamer::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | salvo::oapi::naming::set_namer( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | salvo::oapi::naming::FlexNamer::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | salvo::oapi::naming::set_namer( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | salvo::oapi::naming::FlexNamer::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | salvo::oapi::naming::set_namer( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | salvo::oapi::naming::FlexNamer::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | salvo::oapi::naming::set_namer( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | salvo::oapi::naming::FlexNamer::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 493 | salvo::oapi::naming::set_namer( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 494 | salvo::oapi::naming::FlexNamer::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 567 | salvo::oapi::naming::set_namer( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | salvo::oapi::naming::FlexNamer::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:632:5 [INFO] [stdout] | [INFO] [stdout] 632 | salvo::oapi::naming::set_namer( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | salvo::oapi::naming::set_namer( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | salvo::oapi::naming::FlexNamer::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | salvo::oapi::naming::FlexNamer::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSchema` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | struct MyObject { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | async fn use_string(body: JsonBody>) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | async fn use_i32(body: JsonBody>) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | async fn use_u64(body: JsonBody>) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | async fn hello(body: JsonBody) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:311:29 [INFO] [stdout] | [INFO] [stdout] 311 | async fn new_type(body: JsonBody) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:489:32 [INFO] [stdout] | [INFO] [stdout] 489 | async fn create_user(body: JsonBody) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:563:33 [INFO] [stdout] | [INFO] [stdout] 563 | async fn use_extended(body: JsonBody) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:628:33 [INFO] [stdout] | [INFO] [stdout] 628 | async fn use_combined(body: JsonBody) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | salvo::oapi::naming::set_namer( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let router = Router::new() [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | .push(Router::with_path("i32").post(use_i32)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | .push(Router::with_path("u64").post(use_u64)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | .push(Router::with_path("string").post(use_string)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | let doc = OpenApi::new("test api", "0.0.1").merge_router(&router); [INFO] [stdout] | ^^^^^^^ use of undeclared type `OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:201:18 [INFO] [stdout] | [INFO] [stdout] 201 | let router = Router::new().push(Router::with_path("hello").post(hello)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:201:37 [INFO] [stdout] | [INFO] [stdout] 201 | let router = Router::new().push(Router::with_path("hello").post(hello)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 203 | let doc = OpenApi::new("test api", "0.0.1").merge_router(&router); [INFO] [stdout] | ^^^^^^^ use of undeclared type `OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | let router = Router::new().push(Router::with_path("new-type").post(new_type)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:321:37 [INFO] [stdout] | [INFO] [stdout] 321 | let router = Router::new().push(Router::with_path("new-type").post(new_type)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:323:15 [INFO] [stdout] | [INFO] [stdout] 323 | let doc = OpenApi::new("test api", "0.0.1").merge_router(&router); [INFO] [stdout] | ^^^^^^^ use of undeclared type `OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:499:18 [INFO] [stdout] | [INFO] [stdout] 499 | let router = Router::new().push(Router::with_path("users").post(create_user)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:499:37 [INFO] [stdout] | [INFO] [stdout] 499 | let router = Router::new().push(Router::with_path("users").post(create_user)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:500:15 [INFO] [stdout] | [INFO] [stdout] 500 | let doc = OpenApi::new("test api", "0.0.1").merge_router(&router); [INFO] [stdout] | ^^^^^^^ use of undeclared type `OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:573:18 [INFO] [stdout] | [INFO] [stdout] 573 | let router = Router::new().push(Router::with_path("test").post(use_extended)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:573:37 [INFO] [stdout] | [INFO] [stdout] 573 | let router = Router::new().push(Router::with_path("test").post(use_extended)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:574:15 [INFO] [stdout] | [INFO] [stdout] 574 | let doc = OpenApi::new("test api", "0.0.1").merge_router(&router); [INFO] [stdout] | ^^^^^^^ use of undeclared type `OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:638:18 [INFO] [stdout] | [INFO] [stdout] 638 | let router = Router::new().push(Router::with_path("test").post(use_combined)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:638:37 [INFO] [stdout] | [INFO] [stdout] 638 | let router = Router::new().push(Router::with_path("test").post(use_combined)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> tests/derive_to_schema_tests.rs:639:15 [INFO] [stdout] | [INFO] [stdout] 639 | let doc = OpenApi::new("test api", "0.0.1").merge_router(&router); [INFO] [stdout] | ^^^^^^^ use of undeclared type `OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | salvo::oapi::naming::FlexNamer::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `salvo-oapi-macros` (test "derive_to_schema_tests") due to 86 previous errors [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | salvo::oapi::naming::set_namer( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | salvo::oapi::naming::FlexNamer::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | salvo::oapi::naming::set_namer( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | salvo::oapi::naming::FlexNamer::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:338:30 [INFO] [stdout] | [INFO] [stdout] 338 | let custom_schema: RefOr = salvo::oapi::Object::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:338:61 [INFO] [stdout] | [INFO] [stdout] 338 | let custom_schema: RefOr = salvo::oapi::Object::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] help: there is an enum variant `serde_json::Value::Object`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 338 - let custom_schema: RefOr = salvo::oapi::Object::new() [INFO] [stdout] 338 + let custom_schema: RefOr = serde_json::Value::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | .schema_type(salvo::oapi::BasicType::String) [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 403 | salvo::oapi::naming::set_namer( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | salvo::oapi::naming::FlexNamer::new() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | struct Wrapper { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | async fn use_wrapper(body: JsonBody>) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | struct Page { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | async fn list_strings(body: JsonBody>) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | struct Pair { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:95:59 [INFO] [stdout] | [INFO] [stdout] 95 | struct Pair { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | async fn use_pair(body: JsonBody>) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | struct Inner { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | struct Outer { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | async fn use_nested(body: JsonBody>) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:195:26 [INFO] [stdout] | [INFO] [stdout] 195 | struct MaybeValue { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | async fn use_maybe(body: JsonBody>) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | struct Registry { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:238:33 [INFO] [stdout] | [INFO] [stdout] 238 | async fn use_registry(body: JsonBody>) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | struct ApiResponse { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:283:30 [INFO] [stdout] | [INFO] [stdout] 283 | async fn get_user(_body: JsonBody>) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | struct Container { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSchema` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:386:20 [INFO] [stdout] | [INFO] [stdout] 386 | struct Box2 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:391:35 [INFO] [stdout] | [INFO] [stdout] 391 | async fn use_box_string(body: JsonBody>) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:395:32 [INFO] [stdout] | [INFO] [stdout] 395 | async fn use_box_i32(body: JsonBody>) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `JsonBody` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:399:33 [INFO] [stdout] | [INFO] [stdout] 399 | async fn use_box_bool(body: JsonBody>) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let router = Router::new().push(Router::with_path("test").post(use_wrapper)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | let router = Router::new().push(Router::with_path("test").post(use_wrapper)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | let doc = OpenApi::new("test", "0.1.0").merge_router(&router); [INFO] [stdout] | ^^^^^^^ use of undeclared type `OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | let router = Router::new().push(Router::with_path("test").post(list_strings)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | let router = Router::new().push(Router::with_path("test").post(list_strings)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | let doc = OpenApi::new("test", "0.1.0").merge_router(&router); [INFO] [stdout] | ^^^^^^^ use of undeclared type `OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | let router = Router::new().push(Router::with_path("test").post(use_pair)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | let router = Router::new().push(Router::with_path("test").post(use_pair)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | let doc = OpenApi::new("test", "0.1.0").merge_router(&router); [INFO] [stdout] | ^^^^^^^ use of undeclared type `OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | let router = Router::new().push(Router::with_path("test").post(use_nested)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 157 - let router = Router::new().push(Router::with_path("test").post(use_nested)); [INFO] [stdout] 157 + let router = Outer::new().push(Router::with_path("test").post(use_nested)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:157:37 [INFO] [stdout] | [INFO] [stdout] 157 | let router = Router::new().push(Router::with_path("test").post(use_nested)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 157 - let router = Router::new().push(Router::with_path("test").post(use_nested)); [INFO] [stdout] 157 + let router = Router::new().push(Outer::with_path("test").post(use_nested)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | let doc = OpenApi::new("test", "0.1.0").merge_router(&router); [INFO] [stdout] | ^^^^^^^ use of undeclared type `OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:211:18 [INFO] [stdout] | [INFO] [stdout] 211 | let router = Router::new().push(Router::with_path("test").post(use_maybe)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:211:37 [INFO] [stdout] | [INFO] [stdout] 211 | let router = Router::new().push(Router::with_path("test").post(use_maybe)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:212:15 [INFO] [stdout] | [INFO] [stdout] 212 | let doc = OpenApi::new("test", "0.1.0").merge_router(&router); [INFO] [stdout] | ^^^^^^^ use of undeclared type `OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | let router = Router::new().push(Router::with_path("test").post(use_registry)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:248:37 [INFO] [stdout] | [INFO] [stdout] 248 | let router = Router::new().push(Router::with_path("test").post(use_registry)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:249:15 [INFO] [stdout] | [INFO] [stdout] 249 | let doc = OpenApi::new("test", "0.1.0").merge_router(&router); [INFO] [stdout] | ^^^^^^^ use of undeclared type `OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:293:18 [INFO] [stdout] | [INFO] [stdout] 293 | let router = Router::new().push(Router::with_path("test").post(get_user)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:293:37 [INFO] [stdout] | [INFO] [stdout] 293 | let router = Router::new().push(Router::with_path("test").post(get_user)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:294:15 [INFO] [stdout] | [INFO] [stdout] 294 | let doc = OpenApi::new("test", "0.1.0").merge_router(&router); [INFO] [stdout] | ^^^^^^^ use of undeclared type `OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | let router = Router::new() [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:410:15 [INFO] [stdout] | [INFO] [stdout] 410 | .push(Router::with_path("string").post(use_box_string)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:411:15 [INFO] [stdout] | [INFO] [stdout] 411 | .push(Router::with_path("i32").post(use_box_i32)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:412:15 [INFO] [stdout] | [INFO] [stdout] 412 | .push(Router::with_path("bool").post(use_box_bool)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> tests/compose_schema_tests.rs:413:15 [INFO] [stdout] | [INFO] [stdout] 413 | let doc = OpenApi::new("test", "0.1.0").merge_router(&router); [INFO] [stdout] | ^^^^^^^ use of undeclared type `OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `salvo-oapi-macros` (test "compose_schema_tests") due to 92 previous errors [INFO] running `Command { std: "docker" "inspect" "76eb713fddbb516e0444a0a00d57f3968f192cb60e9b2c14721fc76e8ca20a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76eb713fddbb516e0444a0a00d57f3968f192cb60e9b2c14721fc76e8ca20a70", kill_on_drop: false }` [INFO] [stdout] 76eb713fddbb516e0444a0a00d57f3968f192cb60e9b2c14721fc76e8ca20a70