[INFO] fetching crate rust-proxy 0.1.0... [INFO] testing rust-proxy-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rust-proxy 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rust-proxy 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rust-proxy 0.1.0 [INFO] tweaked toml for crates.io crate rust-proxy 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-proxy 0.1.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 rust-proxy 0.1.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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4354c5b711fe7e4df291bb82a290193e0502db78549b3a166ee72252a159012e [INFO] running `Command { std: "docker" "start" "-a" "4354c5b711fe7e4df291bb82a290193e0502db78549b3a166ee72252a159012e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4354c5b711fe7e4df291bb82a290193e0502db78549b3a166ee72252a159012e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4354c5b711fe7e4df291bb82a290193e0502db78549b3a166ee72252a159012e", kill_on_drop: false }` [INFO] [stdout] 4354c5b711fe7e4df291bb82a290193e0502db78549b3a166ee72252a159012e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 970454d8b58a1cd0f8f0453e7f24f271a71668e0d5ca03bb3717e96258cd23a6 [INFO] running `Command { std: "docker" "start" "-a" "970454d8b58a1cd0f8f0453e7f24f271a71668e0d5ca03bb3717e96258cd23a6", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling aws-lc-rs v1.16.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling aws-lc-sys v0.38.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling rcgen v0.13.2 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rust-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.84s [INFO] running `Command { std: "docker" "inspect" "970454d8b58a1cd0f8f0453e7f24f271a71668e0d5ca03bb3717e96258cd23a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "970454d8b58a1cd0f8f0453e7f24f271a71668e0d5ca03bb3717e96258cd23a6", kill_on_drop: false }` [INFO] [stdout] 970454d8b58a1cd0f8f0453e7f24f271a71668e0d5ca03bb3717e96258cd23a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] da0d12823577c44103374d37804597dfcac9e94e0aed4add76d3fd645b02b077 [INFO] running `Command { std: "docker" "start" "-a" "da0d12823577c44103374d37804597dfcac9e94e0aed4add76d3fd645b02b077", kill_on_drop: false }` [INFO] [stderr] Compiling rust-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `hyper::body::HttpBody`, `hyper::Client` [INFO] [stdout] --> examples/test_client.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::{body::HttpBody, Client}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ no `Client` in the root [INFO] [stdout] | | [INFO] [stdout] | no `HttpBody` in `body` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] hyper_util::client::legacy::Client [INFO] [stdout] rustls::Connection::Client [INFO] [stdout] rustls::Side::Client [INFO] [stdout] rustls::quic::Connection::Client [INFO] [stdout] tokio_rustls::TlsStream::Client [INFO] [stdout] help: a similar name exists in the module (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 1 - use hyper::{body::HttpBody, Client}; [INFO] [stdout] 1 + use hyper::{body::HttpBody, client}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::client::HttpConnector` [INFO] [stdout] --> examples/test_client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::client::HttpConnector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `HttpConnector` in `client` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 - use hyper::client::HttpConnector; [INFO] [stdout] 2 + use hyper_util::client::legacy::connect::HttpConnector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> examples/test_client.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let chunk = chunk?; [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> examples/test_client.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let chunk = chunk?; [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> examples/test_client.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let chunk = chunk?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/control_flow.rs:89:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-proxy` (example "test_client") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `host` in this scope [INFO] [stdout] --> examples/https_demo.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | println!("格式: CONNECT {host}:{port} HTTP/1.1"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> examples/https_demo.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | println!("格式: CONNECT {host}:{port} HTTP/1.1"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/https_demo.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut stream = TcpStream::connect("httpbin.org:443")?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> examples/https_demo.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut stream = TcpStream::connect("httpbin.org:443")?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-proxy` (example "https_demo") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "da0d12823577c44103374d37804597dfcac9e94e0aed4add76d3fd645b02b077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da0d12823577c44103374d37804597dfcac9e94e0aed4add76d3fd645b02b077", kill_on_drop: false }` [INFO] [stdout] da0d12823577c44103374d37804597dfcac9e94e0aed4add76d3fd645b02b077