[INFO] fetching crate client-util 0.1.1... [INFO] checking client-util-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate client-util 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate client-util 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate client-util 0.1.1 [INFO] tweaked toml for crates.io crate client-util 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate client-util 0.1.1 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 client-util 0.1.1 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 27e5e4030a69df7593a55980082f63211c78d01bbcb63141f6164264962b88cb [INFO] running `Command { std: "docker" "start" "-a" "27e5e4030a69df7593a55980082f63211c78d01bbcb63141f6164264962b88cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27e5e4030a69df7593a55980082f63211c78d01bbcb63141f6164264962b88cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e5e4030a69df7593a55980082f63211c78d01bbcb63141f6164264962b88cb", kill_on_drop: false }` [INFO] [stdout] 27e5e4030a69df7593a55980082f63211c78d01bbcb63141f6164264962b88cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7b5c767fd461b2c913f939ffbf5890ebcd5b3c132d882e16f441a6867d16ba64 [INFO] running `Command { std: "docker" "start" "-a" "7b5c767fd461b2c913f939ffbf5890ebcd5b3c132d882e16f441a6867d16ba64", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling aws-lc-rs v1.8.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling rustls v0.23.10 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling cc v1.0.101 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling aws-lc-sys v0.19.0 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking async-compression v0.4.11 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking client-util v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `never` is never used [INFO] [stdout] --> src/util.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn never(_: T) -> U { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/client/mod.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | CLIENT.get_or_init($maker).clone() [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/client/hyper.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | crate::shared_client!(pub hyper_client: build_hyper_client -> HyperClient); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate::shared_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/client/mod.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | CLIENT.get_or_init($maker).clone() [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/client/hyper.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | crate::shared_client!(pub hyper_tls_client: build_tls_hyper_client -> HyperTlsClient); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::shared_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `never` is never used [INFO] [stdout] --> src/util.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn never(_: T) -> U { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/client/mod.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | CLIENT.get_or_init($maker).clone() [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/client/hyper.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | crate::shared_client!(pub hyper_client: build_hyper_client -> HyperClient); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate::shared_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/client/mod.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | CLIENT.get_or_init($maker).clone() [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/client/hyper.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | crate::shared_client!(pub hyper_tls_client: build_tls_hyper_client -> HyperTlsClient); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::shared_client` (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 `Part` [INFO] [stdout] --> tests/multipart.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | let part = Part::stream(stream); [INFO] [stdout] | ^^^^ use of undeclared type `Part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http3` [INFO] [stdout] --> tests/support/server.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = "http3")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `auth`, `base64`, `charset`, `client-hyper`, `client-hyper-rustls`, `decompression-all`, `decompression-br`, `decompression-deflate`, `decompression-gzip`, `decompression-zstd`, `default`, `encoding_rs`, `form`, `full`, `futures-core`, `futures-util`, `hyper`, `hyper-rustls`, `hyper-util`, `json`, `multipart`, `percent-encoding`, `query`, `rt-tokio`, `rustls`, `serde`, `serde_json`, `serde_urlencoded`, and `stream` [INFO] [stdout] = help: consider adding `http3` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Form` [INFO] [stdout] --> tests/multipart.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | let form = Form::new().text("foo", "bar"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Form` [INFO] [stdout] | help: a trait with a similar name exists: `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `multipart` found for struct `http::request::Builder` in the current scope [INFO] [stdout] --> tests/multipart.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 46 | let res = Request::post(&url) [INFO] [stdout] | _______________- [INFO] [stdout] 47 | | .multipart(form) [INFO] [stdout] | | -^^^^^^^^^ method not found in `http::request::Builder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Form` [INFO] [stdout] --> tests/multipart.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | let form = Form::new().text("foo", "bar").part("part_stream", part); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Form` [INFO] [stdout] | help: a trait with a similar name exists: `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `multipart` found for struct `http::request::Builder` in the current scope [INFO] [stdout] --> tests/multipart.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 109 | let res = Request::post(&url) [INFO] [stdout] | _______________- [INFO] [stdout] 110 | | .multipart(form) [INFO] [stdout] | | -^^^^^^^^^ method not found in `http::request::Builder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `client-util` (test "multipart") due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7b5c767fd461b2c913f939ffbf5890ebcd5b3c132d882e16f441a6867d16ba64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b5c767fd461b2c913f939ffbf5890ebcd5b3c132d882e16f441a6867d16ba64", kill_on_drop: false }` [INFO] [stdout] 7b5c767fd461b2c913f939ffbf5890ebcd5b3c132d882e16f441a6867d16ba64