[INFO] fetching crate headers-accept-encoding 1.1.0... [INFO] checking headers-accept-encoding-1.1.0 against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] extracting crate headers-accept-encoding 1.1.0 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate headers-accept-encoding 1.1.0 on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "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" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "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-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9a201adc3322c229886202576f46acaf0336ed4e10158d3d89ccf65f9b02b2ad [INFO] running `Command { std: "docker" "start" "9a201adc3322c229886202576f46acaf0336ed4e10158d3d89ccf65f9b02b2ad", 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" "9a201adc3322c229886202576f46acaf0336ed4e10158d3d89ccf65f9b02b2ad" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a201adc3322c229886202576f46acaf0336ed4e10158d3d89ccf65f9b02b2ad", 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" "9a201adc3322c229886202576f46acaf0336ed4e10158d3d89ccf65f9b02b2ad" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "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 bytes v1.12.0 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking http v1.4.2 [INFO] [stderr] Checking headers-core v0.3.0 [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] 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: `#[deny(self_type_conversion)]` on by default [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) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: `#[deny(self_type_conversion)]` on by default [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" "9a201adc3322c229886202576f46acaf0336ed4e10158d3d89ccf65f9b02b2ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a201adc3322c229886202576f46acaf0336ed4e10158d3d89ccf65f9b02b2ad", kill_on_drop: false }` [INFO] [stdout] 9a201adc3322c229886202576f46acaf0336ed4e10158d3d89ccf65f9b02b2ad