[INFO] fetching crate salvo-craft 0.92.0... [INFO] testing salvo-craft-0.92.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate salvo-craft 0.92.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate salvo-craft 0.92.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate salvo-craft 0.92.0 [INFO] tweaked toml for crates.io crate salvo-craft 0.92.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate salvo-craft 0.92.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate salvo-craft 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c2a451c9dc4f8e7d217d4753fbb831d7bf515af60ac1ae2467d2e5e50c6e2c9 [INFO] running `Command { std: "docker" "start" "-a" "4c2a451c9dc4f8e7d217d4753fbb831d7bf515af60ac1ae2467d2e5e50c6e2c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c2a451c9dc4f8e7d217d4753fbb831d7bf515af60ac1ae2467d2e5e50c6e2c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c2a451c9dc4f8e7d217d4753fbb831d7bf515af60ac1ae2467d2e5e50c6e2c9", kill_on_drop: false }` [INFO] [stdout] 4c2a451c9dc4f8e7d217d4753fbb831d7bf515af60ac1ae2467d2e5e50c6e2c9 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8ed79c3606873c26f79769b1d06f8377b67c150710913e368590c22045e8826 [INFO] running `Command { std: "docker" "start" "-a" "c8ed79c3606873c26f79769b1d06f8377b67c150710913e368590c22045e8826", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling aho-corasick v1.1.4 [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 regex-automata v0.4.14 [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 [INFO] [stderr] Compiling salvo-craft v0.92.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.39s [INFO] running `Command { std: "docker" "inspect" "c8ed79c3606873c26f79769b1d06f8377b67c150710913e368590c22045e8826", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8ed79c3606873c26f79769b1d06f8377b67c150710913e368590c22045e8826", kill_on_drop: false }` [INFO] [stdout] c8ed79c3606873c26f79769b1d06f8377b67c150710913e368590c22045e8826 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 893e8a9d64c7257449c8ee50d50b098e6eab430c49fe82e6f55d5a72cdd3eb81 [INFO] running `Command { std: "docker" "start" "-a" "893e8a9d64c7257449c8ee50d50b098e6eab430c49fe82e6f55d5a72cdd3eb81", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling toml_edit v0.25.11+spec-1.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling rand_core v0.10.1 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling mime-infer v4.0.1 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling salvo-serde-util v0.92.0 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling xml v1.2.1 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling pin-project v1.1.11 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling serde-xml-rs v0.8.2 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling rand v0.10.1 [INFO] [stderr] Compiling chardetng v1.0.0 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling multra v1.0.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling salvo_macros v0.92.0 [INFO] [stderr] Compiling salvo-craft-macros v0.92.0 [INFO] [stderr] Compiling salvo-craft v0.92.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling salvo_core v0.92.0 [INFO] [stdout] error[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> examples/openapi.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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[E0433]: cannot find module or crate `salvo` in this scope [INFO] [stdout] --> examples/openapi.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use salvo::oapi::OpenApi; [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/openapi.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use salvo::oapi::extract::QueryParam; [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::OpenApi`, `salvo::oapi::extract::QueryParam` [INFO] [stdout] --> examples/openapi.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use salvo::oapi::OpenApi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use salvo::oapi::extract::QueryParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `oapi` in `salvo_core` [INFO] [stdout] --> examples/openapi.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[craft] [INFO] [stdout] | ^^^^^^^^ could not find `oapi` in `salvo_core` [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[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> examples/openapi.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let router = Router::new() [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_core::Router; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> examples/openapi.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | .push(Router::with_path("add").get(calculator.add())) [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_core::Router; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> examples/openapi.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | .push(Router::with_path("add-arc").get(calculator.add_with_arc())) [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_core::Router; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Router` in this scope [INFO] [stdout] --> examples/openapi.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | .push(Router::with_path("add-plain").get(Calculator::add_plain())); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use salvo_core::Router; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn({type error}, {type error}) -> impl Future {add_plain}: Handler` is not satisfied [INFO] [stdout] --> examples/openapi.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[craft] [INFO] [stdout] | ^^^^^^^^ the trait `Handler` is not implemented for fn item `fn({type error}, {type error}) -> impl Future {add_plain}` [INFO] [stdout] ... [INFO] [stdout] 28 | fn add_plain(left: QueryParam, right: QueryParam) -> String { [INFO] [stdout] | --------- return type was inferred to be `fn({type error}, {type error}) -> impl Future {add_plain}` here [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A,) [INFO] [stdout] and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `salvo-craft` (example "openapi") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "893e8a9d64c7257449c8ee50d50b098e6eab430c49fe82e6f55d5a72cdd3eb81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "893e8a9d64c7257449c8ee50d50b098e6eab430c49fe82e6f55d5a72cdd3eb81", kill_on_drop: false }` [INFO] [stdout] 893e8a9d64c7257449c8ee50d50b098e6eab430c49fe82e6f55d5a72cdd3eb81