[INFO] fetching crate salvo-craft-macros 0.82.0... [INFO] checking salvo-craft-macros-0.82.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate salvo-craft-macros 0.82.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate salvo-craft-macros 0.82.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate salvo-craft-macros 0.82.0 [INFO] tweaked toml for crates.io crate salvo-craft-macros 0.82.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate salvo-craft-macros 0.82.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate salvo-craft-macros 0.82.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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a19c809c3d74610da6c40dc7972fbcc27dbc36ff759b844144f943e1947f1d11 [INFO] running `Command { std: "docker" "start" "-a" "a19c809c3d74610da6c40dc7972fbcc27dbc36ff759b844144f943e1947f1d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a19c809c3d74610da6c40dc7972fbcc27dbc36ff759b844144f943e1947f1d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a19c809c3d74610da6c40dc7972fbcc27dbc36ff759b844144f943e1947f1d11", kill_on_drop: false }` [INFO] [stdout] a19c809c3d74610da6c40dc7972fbcc27dbc36ff759b844144f943e1947f1d11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4221ba09d1ff0544bd8fbca0ca5808d85a9d7123f063b902ed65fdd9a08aefc [INFO] running `Command { std: "docker" "start" "-a" "a4221ba09d1ff0544bd8fbca0ca5808d85a9d7123f063b902ed65fdd9a08aefc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking syn v2.0.105 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking proc-macro-crate v3.3.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking salvo-craft-macros v0.82.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: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" "a4221ba09d1ff0544bd8fbca0ca5808d85a9d7123f063b902ed65fdd9a08aefc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4221ba09d1ff0544bd8fbca0ca5808d85a9d7123f063b902ed65fdd9a08aefc", kill_on_drop: false }` [INFO] [stdout] a4221ba09d1ff0544bd8fbca0ca5808d85a9d7123f063b902ed65fdd9a08aefc