[INFO] fetching crate salvo-craft-macros 0.92.0... [INFO] testing salvo-craft-macros-0.92.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate salvo-craft-macros 0.92.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate salvo-craft-macros 0.92.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate salvo-craft-macros 0.92.0 [INFO] tweaked toml for crates.io crate salvo-craft-macros 0.92.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate salvo-craft-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-craft-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] edc903a8e91024e0b7520006b2121f2d51690ff85bf6d997aad8ce3e2094d3d1 [INFO] running `Command { std: "docker" "start" "-a" "edc903a8e91024e0b7520006b2121f2d51690ff85bf6d997aad8ce3e2094d3d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edc903a8e91024e0b7520006b2121f2d51690ff85bf6d997aad8ce3e2094d3d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc903a8e91024e0b7520006b2121f2d51690ff85bf6d997aad8ce3e2094d3d1", kill_on_drop: false }` [INFO] [stdout] edc903a8e91024e0b7520006b2121f2d51690ff85bf6d997aad8ce3e2094d3d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1b2d50e43c15f4ae240ea241f4af132832f22b12d62aa27bb4075e01fcc35886 [INFO] running `Command { std: "docker" "start" "-a" "1b2d50e43c15f4ae240ea241f4af132832f22b12d62aa27bb4075e01fcc35886", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling indexmap v2.14.0 [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 proc-macro-crate v3.5.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling salvo-craft-macros v0.92.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.30s [INFO] running `Command { std: "docker" "inspect" "1b2d50e43c15f4ae240ea241f4af132832f22b12d62aa27bb4075e01fcc35886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b2d50e43c15f4ae240ea241f4af132832f22b12d62aa27bb4075e01fcc35886", kill_on_drop: false }` [INFO] [stdout] 1b2d50e43c15f4ae240ea241f4af132832f22b12d62aa27bb4075e01fcc35886 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7905de57d3bccee28758ec4f4557445c39bff5d7d3d99743e4148aab1ae7dbf3 [INFO] running `Command { std: "docker" "start" "-a" "7905de57d3bccee28758ec4f4557445c39bff5d7d3d99743e4148aab1ae7dbf3", 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 indexmap v2.14.0 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling syn v2.0.117 [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 proc-macro-crate v3.5.0 [INFO] [stderr] Compiling salvo-craft-macros v0.92.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> examples/example-add.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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] --> examples/example-add.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[E0432]: unresolved imports `salvo::oapi::extract::*`, `salvo::prelude::*` [INFO] [stdout] --> examples/example-add.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use salvo::oapi::extract::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use salvo::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `main` in `tokio` [INFO] [stdout] --> examples/example-add.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> examples/example-add.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[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[E0425]: cannot find type `QueryParam` in this scope [INFO] [stdout] --> examples/example-add.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn add1(&self, left: QueryParam, right: QueryParam) -> String { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `QueryParam` in this scope [INFO] [stdout] --> examples/example-add.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | fn add1(&self, left: QueryParam, right: QueryParam) -> String { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `QueryParam` in this scope [INFO] [stdout] --> examples/example-add.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | left: QueryParam, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `QueryParam` in this scope [INFO] [stdout] --> examples/example-add.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | right: QueryParam, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `QueryParam` in this scope [INFO] [stdout] --> examples/example-add.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn add3(left: QueryParam, right: QueryParam) -> String { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `QueryParam` in this scope [INFO] [stdout] --> examples/example-add.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn add3(left: QueryParam, right: QueryParam) -> String { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> examples/example-add.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | 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]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> examples/example-add.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[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]: cannot find type `Router` in this scope [INFO] [stdout] --> examples/example-add.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | 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] --> examples/example-add.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | .push(Router::with_path("add1").get(opts.add1())) [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> examples/example-add.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | .push(Router::with_path("add2").get(opts.add2())) [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> examples/example-add.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | .push(Router::with_path("add3").get(Opts::add3())); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenApi` in this scope [INFO] [stdout] --> examples/example-add.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | 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]: cannot find type `SwaggerUi` in this scope [INFO] [stdout] --> examples/example-add.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | .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]: cannot find type `Server` in this scope [INFO] [stdout] --> examples/example-add.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Server::new(acceptor).serve(router).await; [INFO] [stdout] | ^^^^^^ use of undeclared type `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `salvo-craft-macros` (example "example-add") due to 20 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7905de57d3bccee28758ec4f4557445c39bff5d7d3d99743e4148aab1ae7dbf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7905de57d3bccee28758ec4f4557445c39bff5d7d3d99743e4148aab1ae7dbf3", kill_on_drop: false }` [INFO] [stdout] 7905de57d3bccee28758ec4f4557445c39bff5d7d3d99743e4148aab1ae7dbf3