[INFO] fetching crate hyper-dns 0.3.0... [INFO] checking hyper-dns-0.3.0 against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] extracting crate hyper-dns 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate hyper-dns 0.3.0 [INFO] finished tweaking crates.io crate hyper-dns 0.3.0 [INFO] tweaked toml for crates.io crate hyper-dns 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hyper-dns 0.3.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 138 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.32) [INFO] [stderr] Adding hyper v0.11.27 (available: v1.10.1) [INFO] [stderr] Adding rand v0.5.6 (available: v0.10.1) [INFO] [stderr] Adding trust-dns v0.14.0 (available: v0.23.2) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [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 the latest is `2024` [INFO] [stderr] warning: `hyper-dns` (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] d69841f0ce080a40cb00f22a9399a95afafd1d9f5cbabc7f9fa4650a69e70407 [INFO] running `Command { std: "docker" "start" "d69841f0ce080a40cb00f22a9399a95afafd1d9f5cbabc7f9fa4650a69e70407", 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" "d69841f0ce080a40cb00f22a9399a95afafd1d9f5cbabc7f9fa4650a69e70407" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d69841f0ce080a40cb00f22a9399a95afafd1d9f5cbabc7f9fa4650a69e70407", 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" "d69841f0ce080a40cb00f22a9399a95afafd1d9f5cbabc7f9fa4650a69e70407" "/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 the latest is `2024` [INFO] [stderr] warning: `hyper-dns` (manifest) generated 1 warning [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Compiling data-encoding v2.11.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking try-lock v0.1.0 [INFO] [stderr] Checking nibble_vec v0.0.4 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking radix_trie v0.1.6 [INFO] [stderr] Checking want v0.0.4 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking relay v0.1.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking error-chain v0.1.12 [INFO] [stderr] Checking trust-dns-proto v0.4.3 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking hyper v0.11.27 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.18 [INFO] [stderr] Checking data-encoding-macro v0.1.20 [INFO] [stderr] Checking trust-dns v0.14.0 [INFO] [stderr] Checking hyper-dns v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | Box::Item, Error = ::Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | Box::Item, Error = ::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | Box::Item, Error = ::Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | Box::Item, Error = ::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::io::Error` [INFO] [stdout] --> src/lib.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | / ... std::io::Error::new( [INFO] [stdout] 131 | | ... std::io::ErrorKind::Other, [INFO] [stdout] 132 | | ... "Failed to query DNS server", [INFO] [stdout] 133 | | ... ).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: `std::io::Error` [INFO] [stdout] --> src/lib.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | / ... std::io::Error::new( [INFO] [stdout] 131 | | ... std::io::ErrorKind::Other, [INFO] [stdout] 132 | | ... "Failed to query DNS server", [INFO] [stdout] 133 | | ... ).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: `std::io::Error` [INFO] [stdout] --> src/lib.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | / ... std::io::Error::new( [INFO] [stdout] 142 | | ... std::io::ErrorKind::Other, [INFO] [stdout] 143 | | ... "No valid DNS answers", [INFO] [stdout] 144 | | ... ).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: `std::io::Error` [INFO] [stdout] --> src/lib.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | / ... std::io::Error::new( [INFO] [stdout] 142 | | ... std::io::ErrorKind::Other, [INFO] [stdout] 143 | | ... "No valid DNS answers", [INFO] [stdout] 144 | | ... ).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: `std::io::Error` [INFO] [stdout] --> src/lib.rs:160:41 [INFO] [stdout] | [INFO] [stdout] 160 | / ... std::io::Error::new( [INFO] [stdout] 161 | | ... std::io::ErrorKind::Other, [INFO] [stdout] 162 | | ... "Unexpected DNS response", [INFO] [stdout] 163 | | ... ).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: `std::io::Error` [INFO] [stdout] --> src/lib.rs:160:41 [INFO] [stdout] | [INFO] [stdout] 160 | / ... std::io::Error::new( [INFO] [stdout] 161 | | ... std::io::ErrorKind::Other, [INFO] [stdout] 162 | | ... "Unexpected DNS response", [INFO] [stdout] 163 | | ... ).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: `std::io::Error` [INFO] [stdout] --> src/lib.rs:182:41 [INFO] [stdout] | [INFO] [stdout] 182 | / ... std::io::Error::new( [INFO] [stdout] 183 | | ... std::io::ErrorKind::Other, [INFO] [stdout] 184 | | ... "Did not receive a valid record", [INFO] [stdout] 185 | | ... ).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: `std::io::Error` [INFO] [stdout] --> src/lib.rs:182:41 [INFO] [stdout] | [INFO] [stdout] 182 | / ... std::io::Error::new( [INFO] [stdout] 183 | | ... std::io::ErrorKind::Other, [INFO] [stdout] 184 | | ... "Did not receive a valid record", [INFO] [stdout] 185 | | ... ).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: `std::io::Error` [INFO] [stdout] --> src/lib.rs:193:33 [INFO] [stdout] | [INFO] [stdout] 193 | / ... std::io::Error::new( [INFO] [stdout] 194 | | ... std::io::ErrorKind::Other, [INFO] [stdout] 195 | | ... "Did not receive a valid record", [INFO] [stdout] 196 | | ... ).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: `std::io::Error` [INFO] [stdout] --> src/lib.rs:193:33 [INFO] [stdout] | [INFO] [stdout] 193 | / ... std::io::Error::new( [INFO] [stdout] 194 | | ... std::io::ErrorKind::Other, [INFO] [stdout] 195 | | ... "Did not receive a valid record", [INFO] [stdout] 196 | | ... ).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 `hyper-dns` (lib test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hyper-dns` (lib) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d69841f0ce080a40cb00f22a9399a95afafd1d9f5cbabc7f9fa4650a69e70407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d69841f0ce080a40cb00f22a9399a95afafd1d9f5cbabc7f9fa4650a69e70407", kill_on_drop: false }` [INFO] [stdout] d69841f0ce080a40cb00f22a9399a95afafd1d9f5cbabc7f9fa4650a69e70407