[INFO] fetching crate salvo-craft-macros 0.84.0... [INFO] testing salvo-craft-macros-0.84.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate salvo-craft-macros 0.84.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate salvo-craft-macros 0.84.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate salvo-craft-macros 0.84.0 [INFO] tweaked toml for crates.io crate salvo-craft-macros 0.84.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate salvo-craft-macros 0.84.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate salvo-craft-macros 0.84.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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b115de3337c87bfe04d6554aac8bf9445c297fef7a3c915309705b5bd72ee536 [INFO] running `Command { std: "docker" "start" "-a" "b115de3337c87bfe04d6554aac8bf9445c297fef7a3c915309705b5bd72ee536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b115de3337c87bfe04d6554aac8bf9445c297fef7a3c915309705b5bd72ee536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b115de3337c87bfe04d6554aac8bf9445c297fef7a3c915309705b5bd72ee536", kill_on_drop: false }` [INFO] [stdout] b115de3337c87bfe04d6554aac8bf9445c297fef7a3c915309705b5bd72ee536 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5068d106c972338ffbc6f6c16fbfcca64de8d6fdfc9927d5bd45629bb7adf738 [INFO] running `Command { std: "docker" "start" "-a" "5068d106c972338ffbc6f6c16fbfcca64de8d6fdfc9927d5bd45629bb7adf738", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling salvo-craft-macros v0.84.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.60s [INFO] running `Command { std: "docker" "inspect" "5068d106c972338ffbc6f6c16fbfcca64de8d6fdfc9927d5bd45629bb7adf738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5068d106c972338ffbc6f6c16fbfcca64de8d6fdfc9927d5bd45629bb7adf738", kill_on_drop: false }` [INFO] [stdout] 5068d106c972338ffbc6f6c16fbfcca64de8d6fdfc9927d5bd45629bb7adf738 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 420f8d05c6df4f16ae87d8b3faad6a644d693f288617d5ac6afb8738b0ad2b32 [INFO] running `Command { std: "docker" "start" "-a" "420f8d05c6df4f16ae87d8b3faad6a644d693f288617d5ac6afb8738b0ad2b32", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling salvo-craft-macros v0.84.0 (/opt/rustwide/workdir) [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:8698").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" "420f8d05c6df4f16ae87d8b3faad6a644d693f288617d5ac6afb8738b0ad2b32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "420f8d05c6df4f16ae87d8b3faad6a644d693f288617d5ac6afb8738b0ad2b32", kill_on_drop: false }` [INFO] [stdout] 420f8d05c6df4f16ae87d8b3faad6a644d693f288617d5ac6afb8738b0ad2b32