[INFO] fetching crate salvo-oapi-macros 0.79.0... [INFO] testing salvo-oapi-macros-0.79.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate salvo-oapi-macros 0.79.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate salvo-oapi-macros 0.79.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate salvo-oapi-macros 0.79.0 [INFO] tweaked toml for crates.io crate salvo-oapi-macros 0.79.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate salvo-oapi-macros 0.79.0 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] crate crates.io crate salvo-oapi-macros 0.79.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded salvo-serde-util v0.79.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a44c319880bd80bf0720080a98995abe9fddf102737e71edef6a3126e2aa828 [INFO] running `Command { std: "docker" "start" "-a" "1a44c319880bd80bf0720080a98995abe9fddf102737e71edef6a3126e2aa828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a44c319880bd80bf0720080a98995abe9fddf102737e71edef6a3126e2aa828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a44c319880bd80bf0720080a98995abe9fddf102737e71edef6a3126e2aa828", kill_on_drop: false }` [INFO] [stdout] 1a44c319880bd80bf0720080a98995abe9fddf102737e71edef6a3126e2aa828 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256: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] f6a446d61a0e1e5cf1a51e94e5af6eff79c22a423af772bfc9f372c3b2b4d2df [INFO] running `Command { std: "docker" "start" "-a" "f6a446d61a0e1e5cf1a51e94e5af6eff79c22a423af772bfc9f372c3b2b4d2df", kill_on_drop: false }` [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling salvo-serde-util v0.79.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling salvo-oapi-macros v0.79.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/feature/attributes.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | pub(crate) fn as_type_tree(&self) -> DiagResult { [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] 208 | pub(crate) fn as_type_tree(&self) -> DiagResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/operation/mod.rs:316:32 [INFO] [stdout] | [INFO] [stdout] 316 | pub(crate) fn as_type_tree(&self) -> DiagResult { [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] 316 | pub(crate) fn as_type_tree(&self) -> DiagResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/response/mod.rs:631:33 [INFO] [stdout] | [INFO] [stdout] 631 | 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] 631 | 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/response/mod.rs:635:46 [INFO] [stdout] | [INFO] [stdout] 635 | 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] 635 | 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/response/derive.rs:556:42 [INFO] [stdout] | [INFO] [stdout] 556 | fn parse_variant_attributes(variant: &Variant) -> DiagResult { [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] 556 | fn parse_variant_attributes(variant: &Variant) -> DiagResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/response/derive.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 615 | }: VariantAttributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 616 | ) -> Option> { [INFO] [stdout] | -- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 615 | }: VariantAttributes<'_>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shared.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) fn parse_input_type(input: &FnArg) -> InputType { [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] 57 | pub(crate) fn parse_input_type(input: &FnArg) -> InputType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/type_tree.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_type_paths(ty: &Type) -> DiagResult> { [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] 48 | fn get_type_paths(ty: &Type) -> DiagResult>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.23s [INFO] running `Command { std: "docker" "inspect" "f6a446d61a0e1e5cf1a51e94e5af6eff79c22a423af772bfc9f372c3b2b4d2df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a446d61a0e1e5cf1a51e94e5af6eff79c22a423af772bfc9f372c3b2b4d2df", kill_on_drop: false }` [INFO] [stdout] f6a446d61a0e1e5cf1a51e94e5af6eff79c22a423af772bfc9f372c3b2b4d2df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256: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] ea86b377255a341fbfc148a48cfe3a371a1ae48da752c0ac9ee947bb6324cf35 [INFO] running `Command { std: "docker" "start" "-a" "ea86b377255a341fbfc148a48cfe3a371a1ae48da752c0ac9ee947bb6324cf35", kill_on_drop: false }` [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/feature/attributes.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | pub(crate) fn as_type_tree(&self) -> DiagResult { [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] 208 | pub(crate) fn as_type_tree(&self) -> DiagResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/operation/mod.rs:316:32 [INFO] [stdout] | [INFO] [stdout] 316 | pub(crate) fn as_type_tree(&self) -> DiagResult { [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] 316 | pub(crate) fn as_type_tree(&self) -> DiagResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/response/mod.rs:631:33 [INFO] [stdout] | [INFO] [stdout] 631 | 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] 631 | fn parse_lit_int(input: ParseStream<'_>) -> syn::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/response/mod.rs:635:46 [INFO] [stdout] | [INFO] [stdout] 635 | 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] 635 | 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/response/derive.rs:556:42 [INFO] [stdout] | [INFO] [stdout] 556 | fn parse_variant_attributes(variant: &Variant) -> DiagResult { [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] 556 | fn parse_variant_attributes(variant: &Variant) -> DiagResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/response/derive.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 615 | }: VariantAttributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 616 | ) -> Option> { [INFO] [stdout] | -- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 615 | }: VariantAttributes<'_>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shared.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) fn parse_input_type(input: &FnArg) -> InputType { [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] 57 | pub(crate) fn parse_input_type(input: &FnArg) -> InputType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/type_tree.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_type_paths(ty: &Type) -> DiagResult> { [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] 48 | fn get_type_paths(ty: &Type) -> DiagResult>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling salvo-serde-util v0.79.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling salvo-oapi-macros v0.79.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `salvo` [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]: failed to resolve: use of unresolved module or unlinked crate `salvo` [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `salvo` [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]: failed to resolve: use of unresolved module or unlinked crate `salvo` [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: 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 `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/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 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 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `salvo` [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: 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]: failed to resolve: use of unresolved module or unlinked crate `salvo` [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[E0412]: 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]: failed to resolve: use of undeclared type `Router` [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]: failed to resolve: use of undeclared type `Router` [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]: failed to resolve: use of undeclared type `OpenApi` [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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `salvo` [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]: failed to resolve: use of unresolved module or unlinked crate `salvo` [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] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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[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[E0412]: 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[E0412]: 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[E0412]: 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[E0412]: 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[E0433]: failed to resolve: use of undeclared type `Router` [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]: failed to resolve: use of undeclared type `Router` [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]: failed to resolve: use of undeclared type `Router` [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]: failed to resolve: use of undeclared type `Router` [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]: failed to resolve: use of undeclared type `OpenApi` [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]: failed to resolve: use of undeclared type `Router` [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]: failed to resolve: use of undeclared type `Router` [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]: failed to resolve: use of undeclared type `OpenApi` [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] Some errors have detailed explanations: E0405, E0412, 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 "derive_to_schema_tests") due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "ea86b377255a341fbfc148a48cfe3a371a1ae48da752c0ac9ee947bb6324cf35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea86b377255a341fbfc148a48cfe3a371a1ae48da752c0ac9ee947bb6324cf35", kill_on_drop: false }` [INFO] [stdout] ea86b377255a341fbfc148a48cfe3a371a1ae48da752c0ac9ee947bb6324cf35