[INFO] fetching crate salvo-craft-macros 0.79.0... [INFO] testing salvo-craft-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-craft-macros 0.79.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate salvo-craft-macros 0.79.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate salvo-craft-macros 0.79.0 [INFO] tweaked toml for crates.io crate salvo-craft-macros 0.79.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate salvo-craft-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-craft-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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_datetime v0.6.9 [INFO] [stderr] Downloaded proc-macro-crate v3.3.0 [INFO] [stderr] Downloaded toml_edit v0.22.26 [INFO] [stderr] Downloaded winnow v0.7.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d229a0dfb9aa861f78f1724613d6e0b14205c709e79fccc705c6ad2680e381a [INFO] running `Command { std: "docker" "start" "-a" "0d229a0dfb9aa861f78f1724613d6e0b14205c709e79fccc705c6ad2680e381a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d229a0dfb9aa861f78f1724613d6e0b14205c709e79fccc705c6ad2680e381a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d229a0dfb9aa861f78f1724613d6e0b14205c709e79fccc705c6ad2680e381a", kill_on_drop: false }` [INFO] [stdout] 0d229a0dfb9aa861f78f1724613d6e0b14205c709e79fccc705c6ad2680e381a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1abe4892399fe072dcd26fcf0e40c72e297bd9575bf96b775fd039c09e1aa02c [INFO] running `Command { std: "docker" "start" "-a" "1abe4892399fe072dcd26fcf0e40c72e297bd9575bf96b775fd039c09e1aa02c", 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 winnow v0.7.10 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling salvo-craft-macros v0.79.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.24s [INFO] running `Command { std: "docker" "inspect" "1abe4892399fe072dcd26fcf0e40c72e297bd9575bf96b775fd039c09e1aa02c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1abe4892399fe072dcd26fcf0e40c72e297bd9575bf96b775fd039c09e1aa02c", kill_on_drop: false }` [INFO] [stdout] 1abe4892399fe072dcd26fcf0e40c72e297bd9575bf96b775fd039c09e1aa02c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 91e55985a50b3d0de9cfd043d273c2f10ef64dfd1cb3802ade3ae477782882cc [INFO] running `Command { std: "docker" "start" "-a" "91e55985a50b3d0de9cfd043d273c2f10ef64dfd1cb3802ade3ae477782882cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling salvo-craft-macros v0.79.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `salvo` [INFO] [stdout] --> examples/example-add.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] --> examples/example-add.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] --> examples/example-add.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: could not find `main` in `tokio` [INFO] [stdout] --> examples/example-add.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `salvo` [INFO] [stdout] --> examples/example-add.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[craft] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `salvo` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `craft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryParam` in this scope [INFO] [stdout] --> examples/example-add.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | fn add1(&self, left: QueryParam, right: QueryParam) -> String { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryParam` in this scope [INFO] [stdout] --> examples/example-add.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | fn add1(&self, left: QueryParam, right: QueryParam) -> String { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryParam` in this scope [INFO] [stdout] --> examples/example-add.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | left: QueryParam, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryParam` in this scope [INFO] [stdout] --> examples/example-add.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | right: QueryParam, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryParam` in this scope [INFO] [stdout] --> examples/example-add.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn add3(left: QueryParam, right: QueryParam) -> String { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryParam` in this scope [INFO] [stdout] --> examples/example-add.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn add3(left: QueryParam, right: QueryParam) -> String { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener` [INFO] [stdout] --> examples/example-add.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | let acceptor = TcpListener::new("127.0.0.1:5800").bind().await; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `TcpListener` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `salvo` [INFO] [stdout] --> examples/example-add.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[craft] [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] = note: this error originates in the attribute macro `craft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Router` [INFO] [stdout] --> examples/example-add.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | 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] --> examples/example-add.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | .push(Router::with_path("add1").get(opts.add1())) [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] --> examples/example-add.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | .push(Router::with_path("add2").get(opts.add2())) [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] --> examples/example-add.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | .push(Router::with_path("add3").get(Opts::add3())); [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] --> examples/example-add.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | let doc = OpenApi::new("Example 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 `SwaggerUi` [INFO] [stdout] --> examples/example-add.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | .push(SwaggerUi::new("/api-doc/openapi.json").into_router("swagger-ui")); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SwaggerUi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Server` [INFO] [stdout] --> examples/example-add.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | Server::new(acceptor).serve(router).await; [INFO] [stdout] | ^^^^^^ use of undeclared type `Server` [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-craft-macros` (example "example-add") due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "91e55985a50b3d0de9cfd043d273c2f10ef64dfd1cb3802ade3ae477782882cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91e55985a50b3d0de9cfd043d273c2f10ef64dfd1cb3802ade3ae477782882cc", kill_on_drop: false }` [INFO] [stdout] 91e55985a50b3d0de9cfd043d273c2f10ef64dfd1cb3802ade3ae477782882cc