[INFO] fetching crate salvo-rustls 0.0.3... [INFO] checking salvo-rustls-0.0.3 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate salvo-rustls 0.0.3 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate salvo-rustls 0.0.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate salvo-rustls 0.0.3 [INFO] tweaked toml for crates.io crate salvo-rustls 0.0.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate salvo-rustls 0.0.3 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate salvo-rustls 0.0.3 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-body-util v0.1.0-rc.2 [INFO] [stderr] Downloaded http-body v1.0.0-rc.2 [INFO] [stderr] Downloaded salvo-utils v0.0.3 [INFO] [stderr] Downloaded hyper v1.0.0-rc.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb717003cbba29234d44a339b60910ab294d0acb713c3f63d892d5400e579cf3 [INFO] running `Command { std: "docker" "start" "-a" "eb717003cbba29234d44a339b60910ab294d0acb713c3f63d892d5400e579cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb717003cbba29234d44a339b60910ab294d0acb713c3f63d892d5400e579cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb717003cbba29234d44a339b60910ab294d0acb713c3f63d892d5400e579cf3", kill_on_drop: false }` [INFO] [stdout] eb717003cbba29234d44a339b60910ab294d0acb713c3f63d892d5400e579cf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1b8dc6c7cb1a1279a5ada958199acd95c7a5305c83cf9226f9642aba86a8146 [INFO] running `Command { std: "docker" "start" "-a" "d1b8dc6c7cb1a1279a5ada958199acd95c7a5305c83cf9226f9642aba86a8146", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling rustls v0.21.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking http-body v1.0.0-rc.2 [INFO] [stderr] Checking rustls-pemfile v1.0.2 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking http-body-util v0.1.0-rc.2 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rustls-webpki v0.100.1 [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking hyper v1.0.0-rc.3 [INFO] [stderr] Checking salvo-utils v0.0.3 [INFO] [stderr] Checking salvo-rustls v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hyper_util` [INFO] [stdout] --> examples/server.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use hyper_util::rt::TokioExecutor; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `hyper_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hyper_util`, use `cargo add hyper_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hyper_util` [INFO] [stdout] --> examples/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hyper_util::{client::legacy, rt::TokioExecutor}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `hyper_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hyper_util`, use `cargo add hyper_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper_rustls` [INFO] [stdout] --> examples/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hyper_rustls::ConfigBuilderExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `hyper_rustls` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hyper_rustls`, use `cargo add hyper_rustls` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `salvo-rustls` (example "server") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hyper_rustls` [INFO] [stdout] --> examples/client.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let https = hyper_rustls::HttpsConnectorBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `hyper_rustls` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hyper_rustls`, use `cargo add hyper_rustls` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use salvo_rustls::HttpsConnectorBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `HttpsConnectorBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 69 - let https = hyper_rustls::HttpsConnectorBuilder::new() [INFO] [stdout] 69 + let https = HttpsConnectorBuilder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_native_roots` found for struct `ConfigBuilder` in the current scope [INFO] [stdout] --> examples/client.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 63 | None => rustls::ClientConfig::builder() [INFO] [stdout] | _________________- [INFO] [stdout] 64 | | .with_safe_defaults() [INFO] [stdout] 65 | | .with_native_roots() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^ method not found in `ConfigBuilder` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/config.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn with_native_roots(self) -> ConfigBuilder; [INFO] [stdout] | ----------------- the method is available for `ConfigBuilder` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ConfigBuilderExt` which provides `with_native_roots` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use salvo_rustls::ConfigBuilderExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `salvo-rustls` (example "client") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "d1b8dc6c7cb1a1279a5ada958199acd95c7a5305c83cf9226f9642aba86a8146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b8dc6c7cb1a1279a5ada958199acd95c7a5305c83cf9226f9642aba86a8146", kill_on_drop: false }` [INFO] [stdout] d1b8dc6c7cb1a1279a5ada958199acd95c7a5305c83cf9226f9642aba86a8146