[INFO] fetching crate rotor-dns 0.4.0...
[INFO] checking rotor-dns-0.4.0 against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4
[INFO] extracting crate rotor-dns 0.4.0 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate rotor-dns 0.4.0
[INFO] finished tweaking crates.io crate rotor-dns 0.4.0
[INFO] tweaked toml for crates.io crate rotor-dns 0.4.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rotor-dns 0.4.0 on toolchain 52995a223f2919dd3e2e427231db90a257350ded
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "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" "+52995a223f2919dd3e2e427231db90a257350ded" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 36 packages to highest compatible versions
[INFO] [stderr]       Adding dns-parser v0.3.5 (available: v0.8.0)
[INFO] [stderr]       Adding quick-error v1.2.3 (available: v2.0.1)
[INFO] [stderr]       Adding rand v0.3.23 (available: v0.10.3)
[INFO] [stderr]       Adding resolv-conf v0.4.0 (available: v0.7.6)
[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" "+52995a223f2919dd3e2e427231db90a257350ded" "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: `rotor-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 60338b09c8a039c15feb2c3e33a4e59616bf1d13f8fbd51a781a7d557e9c7665
[INFO] running `Command { std: "docker" "start" "60338b09c8a039c15feb2c3e33a4e59616bf1d13f8fbd51a781a7d557e9c7665", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "60338b09c8a039c15feb2c3e33a4e59616bf1d13f8fbd51a781a7d557e9c7665", 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" "60338b09c8a039c15feb2c3e33a4e59616bf1d13f8fbd51a781a7d557e9c7665" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "60338b09c8a039c15feb2c3e33a4e59616bf1d13f8fbd51a781a7d557e9c7665", 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" "60338b09c8a039c15feb2c3e33a4e59616bf1d13f8fbd51a781a7d557e9c7665" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "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: `rotor-dns` (manifest) generated 1 warning
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking bitflags v0.4.0
[INFO] [stderr]     Checking bytes v0.3.0
[INFO] [stderr]     Checking slab v0.1.3
[INFO] [stderr]     Checking quick-error v0.2.2
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]     Checking byteorder v0.4.2
[INFO] [stderr]     Checking argparse v0.2.2
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking resolv-conf v0.4.0
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking nix v0.5.1
[INFO] [stderr]    Compiling ws2_32-sys v0.2.1
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking dns-parser v0.3.5
[INFO] [stderr]     Checking miow v0.1.5
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking mio v0.5.1
[INFO] [stderr]     Checking rotor v0.6.3
[INFO] [stderr]     Checking rotor-tools v0.3.2
[INFO] [stderr]     Checking rotor-dns v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/config.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         try!(File::open("/etc/resolv.conf")
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/config.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let cfg = try!(resolv_conf::Config::parse(&buf));
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fsm.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 |         try!(self.sock.send_to(&pack, &server));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fsm.rs:223:20
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let pack = try!(builder.build()
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/resolver.rs:48:18
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let id = try!(res.send_request(&query, server));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::i32`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/fsm.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::i32;
[INFO] [stdout]   |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/fsm.rs:132:32
[INFO] [stdout]     |
[INFO] [stdout] 132 |             let mut ttl = i32::MAX as u32;
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/resolver.rs:31:54
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn query<S>(&self, query: Query, scope: &mut GenericScope)
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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] 31 |     pub fn query<S>(&self, query: Query, scope: &mut dyn GenericScope)
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `u32`
[INFO] [stdout]   --> src/config.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 47 |             attempts: cfg.attempts.into(),
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> 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: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 47 -             attempts: cfg.attempts.into(),
[INFO] [stdout] 47 +             attempts: cfg.attempts,
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 47 -             attempts: cfg.attempts.into(),
[INFO] [stdout] 47 +             attempts: <u32 as Into<_>>::into(cfg.attempts),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rotor-dns` (lib) due to 1 previous error; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "60338b09c8a039c15feb2c3e33a4e59616bf1d13f8fbd51a781a7d557e9c7665", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60338b09c8a039c15feb2c3e33a4e59616bf1d13f8fbd51a781a7d557e9c7665", kill_on_drop: false }`
[INFO] [stdout] 60338b09c8a039c15feb2c3e33a4e59616bf1d13f8fbd51a781a7d557e9c7665
