[INFO] fetching crate http-types 2.12.0... [INFO] checking http-types-2.12.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate http-types 2.12.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate http-types 2.12.0 [INFO] finished tweaking crates.io crate http-types 2.12.0 [INFO] tweaked toml for crates.io crate http-types 2.12.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate http-types 2.12.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 182 packages to latest compatible versions [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.3.1) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding cookie v0.14.4 (available: v0.18.1) [INFO] [stderr] Adding futures-lite v1.13.0 (available: v2.6.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding infer v0.2.3 (available: v0.19.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.1) [INFO] [stderr] Adding serde_qs v0.8.5 (available: v0.15.0) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a76caaa647e43f532487683a5f5a28d21d0cc45fa9e7fce06ed2d66f78b8e54 [INFO] running `Command { std: "docker" "start" "-a" "1a76caaa647e43f532487683a5f5a28d21d0cc45fa9e7fce06ed2d66f78b8e54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a76caaa647e43f532487683a5f5a28d21d0cc45fa9e7fce06ed2d66f78b8e54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a76caaa647e43f532487683a5f5a28d21d0cc45fa9e7fce06ed2d66f78b8e54", kill_on_drop: false }` [INFO] [stdout] 1a76caaa647e43f532487683a5f5a28d21d0cc45fa9e7fce06ed2d66f78b8e54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6120a71555f2178065683d54a7556635e32ac6cac4e300c87824da8a008ea9c0 [INFO] running `Command { std: "docker" "start" "-a" "6120a71555f2178065683d54a7556635e32ac6cac4e300c87824da8a008ea9c0", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking value-bag v1.11.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling http-types v2.12.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking polling v3.8.0 [INFO] [stderr] Checking async-io v2.4.1 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.13.1 [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | #![cfg_attr(backtrace, feature(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [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] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/error.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/error.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 120 | #[cfg(not(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | #![cfg_attr(backtrace, feature(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [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] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/error.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/error.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 120 | #[cfg(not(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::str::::to_lowercase` that must be used [INFO] [stdout] --> src/cache/cache_control/cache_directive.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | s.to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the lowercase string as a new String, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 91 | let _ = s.to_lowercase(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> tests/mime.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(features = "fs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 1 - #[cfg(features = "fs")] [INFO] [stdout] 1 + #[cfg(feature = "fs")] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/body.rs:568:13 [INFO] [stdout] | [INFO] [stdout] 567 | struct Foo { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 568 | inner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/body.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 578 | struct Foo { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 579 | inner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::str::::to_lowercase` that must be used [INFO] [stdout] --> src/cache/cache_control/cache_directive.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | s.to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the lowercase string as a new String, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 91 | let _ = s.to_lowercase(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.92s [INFO] running `Command { std: "docker" "inspect" "6120a71555f2178065683d54a7556635e32ac6cac4e300c87824da8a008ea9c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6120a71555f2178065683d54a7556635e32ac6cac4e300c87824da8a008ea9c0", kill_on_drop: false }` [INFO] [stdout] 6120a71555f2178065683d54a7556635e32ac6cac4e300c87824da8a008ea9c0