[INFO] fetching crate headers-accept-encoding 1.1.0... [INFO] checking headers-accept-encoding-1.1.0 against try#2cbf9c3ff35600794d69a7dc7ab399810a067910 for pr-129249-2 [INFO] extracting crate headers-accept-encoding 1.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate headers-accept-encoding 1.1.0 [INFO] finished tweaking crates.io crate headers-accept-encoding 1.1.0 [INFO] tweaked toml for crates.io crate headers-accept-encoding 1.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate headers-accept-encoding 1.1.0 on toolchain 2cbf9c3ff35600794d69a7dc7ab399810a067910 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "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" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.15.0) [INFO] [stderr] Adding sha1 v0.10.6 (available: v0.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while 2021 is compatible with `rust-version` [INFO] [stderr] warning: `headers-accept-encoding` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 56b366920dc1519618ac4f1f84968f629d99006e7c7de6a5e22dfbc88ac4e1bb [INFO] running `Command { std: "docker" "start" "56b366920dc1519618ac4f1f84968f629d99006e7c7de6a5e22dfbc88ac4e1bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56b366920dc1519618ac4f1f84968f629d99006e7c7de6a5e22dfbc88ac4e1bb" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56b366920dc1519618ac4f1f84968f629d99006e7c7de6a5e22dfbc88ac4e1bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56b366920dc1519618ac4f1f84968f629d99006e7c7de6a5e22dfbc88ac4e1bb" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while 2021 is compatible with `rust-version` [INFO] [stderr] warning: `headers-accept-encoding` (manifest) generated 1 warning [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Checking http v1.4.2 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers-accept-encoding v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `SemiLevel` is never used [INFO] [stdout] --> src/util/quality_value.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum SemiLevel {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `u64` [INFO] [stdout] --> src/common/cache_control.rs:287:59 [INFO] [stdout] | [INFO] [stdout] 287 | cc.max_age = Some(Duration::from_secs(secs.into()).into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[warn(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `u64` [INFO] [stdout] --> src/common/cache_control.rs:290:61 [INFO] [stdout] | [INFO] [stdout] 290 | cc.max_stale = Some(Duration::from_secs(secs.into()).into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `u64` [INFO] [stdout] --> src/common/cache_control.rs:293:61 [INFO] [stdout] | [INFO] [stdout] 293 | cc.min_fresh = Some(Duration::from_secs(secs.into()).into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `u64` [INFO] [stdout] --> src/common/cache_control.rs:296:61 [INFO] [stdout] | [INFO] [stdout] 296 | cc.s_max_age = Some(Duration::from_secs(secs.into()).into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `u64` [INFO] [stdout] --> src/common/cache_control.rs:287:59 [INFO] [stdout] | [INFO] [stdout] 287 | cc.max_age = Some(Duration::from_secs(secs.into()).into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(self_type_conversion)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `u64` [INFO] [stdout] --> src/common/cache_control.rs:290:61 [INFO] [stdout] | [INFO] [stdout] 290 | cc.max_stale = Some(Duration::from_secs(secs.into()).into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `u64` [INFO] [stdout] --> src/common/cache_control.rs:293:61 [INFO] [stdout] | [INFO] [stdout] 293 | cc.min_fresh = Some(Duration::from_secs(secs.into()).into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `u64` [INFO] [stdout] --> src/common/cache_control.rs:296:61 [INFO] [stdout] | [INFO] [stdout] 296 | cc.s_max_age = Some(Duration::from_secs(secs.into()).into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `headers-accept-encoding` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "56b366920dc1519618ac4f1f84968f629d99006e7c7de6a5e22dfbc88ac4e1bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56b366920dc1519618ac4f1f84968f629d99006e7c7de6a5e22dfbc88ac4e1bb", kill_on_drop: false }` [INFO] [stdout] 56b366920dc1519618ac4f1f84968f629d99006e7c7de6a5e22dfbc88ac4e1bb