[INFO] fetching crate doh-dns 0.2.0... [INFO] testing doh-dns-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate doh-dns 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate doh-dns 0.2.0 [INFO] finished tweaking crates.io crate doh-dns 0.2.0 [INFO] tweaked toml for crates.io crate doh-dns 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate doh-dns 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 139 packages to latest compatible versions [INFO] [stderr] Adding hyper v0.13.10 (available: v1.7.0) [INFO] [stderr] Adding hyper-tls v0.4.3 (available: v0.6.0) [INFO] [stderr] Adding idna v0.2.3 (available: v1.1.0) [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding paste v0.1.18 (available: v1.0.15) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.47.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4262a2a4d75191ac8d275e6f77c051f9e3b84470ebabedfd520597e14a7c4b1 [INFO] running `Command { std: "docker" "start" "-a" "c4262a2a4d75191ac8d275e6f77c051f9e3b84470ebabedfd520597e14a7c4b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4262a2a4d75191ac8d275e6f77c051f9e3b84470ebabedfd520597e14a7c4b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4262a2a4d75191ac8d275e6f77c051f9e3b84470ebabedfd520597e14a7c4b1", kill_on_drop: false }` [INFO] [stdout] c4262a2a4d75191ac8d275e6f77c051f9e3b84470ebabedfd520597e14a7c4b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b785533fe234567a82bebcdb931b03de02fc75539441a843d2f569f15e0b448 [INFO] running `Command { std: "docker" "start" "-a" "6b785533fe234567a82bebcdb931b03de02fc75539441a843d2f569f15e0b448", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling doh-dns v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `hyper::client::Builder::keep_alive`: name is confusing, to disable the connection pool, call pool_max_idle_per_host(0) [INFO] [stdout] --> src/client.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | client: Client::builder().keep_alive(true).build(connector), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/status.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RCode` [INFO] [stdout] 6 | pub enum RCode { [INFO] [stdout] | ----- `RCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.14s [INFO] running `Command { std: "docker" "inspect" "6b785533fe234567a82bebcdb931b03de02fc75539441a843d2f569f15e0b448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b785533fe234567a82bebcdb931b03de02fc75539441a843d2f569f15e0b448", kill_on_drop: false }` [INFO] [stdout] 6b785533fe234567a82bebcdb931b03de02fc75539441a843d2f569f15e0b448 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93a6c912c3d94f0006a43eaea54b17c5875c27685bb657a2a60a6765cc08ad99 [INFO] running `Command { std: "docker" "start" "-a" "93a6c912c3d94f0006a43eaea54b17c5875c27685bb657a2a60a6765cc08ad99", kill_on_drop: false }` [INFO] [stderr] Compiling doh-dns v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `hyper::client::Builder::keep_alive`: name is confusing, to disable the connection pool, call pool_max_idle_per_host(0) [INFO] [stdout] --> src/client.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | client: Client::builder().keep_alive(true).build(connector), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/status.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RCode` [INFO] [stdout] 6 | pub enum RCode { [INFO] [stdout] | ----- `RCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `hyper::client::Builder::keep_alive`: name is confusing, to disable the connection pool, call pool_max_idle_per_host(0) [INFO] [stdout] --> src/client.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | client: Client::builder().keep_alive(true).build(connector), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/status.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RCode` [INFO] [stdout] 6 | pub enum RCode { [INFO] [stdout] | ----- `RCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "93a6c912c3d94f0006a43eaea54b17c5875c27685bb657a2a60a6765cc08ad99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93a6c912c3d94f0006a43eaea54b17c5875c27685bb657a2a60a6765cc08ad99", kill_on_drop: false }` [INFO] [stdout] 93a6c912c3d94f0006a43eaea54b17c5875c27685bb657a2a60a6765cc08ad99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 91212443d3a9e0223e5fc2bf98da8184f88f80353678c498bf55dee2e0085dd8 [INFO] running `Command { std: "docker" "start" "-a" "91212443d3a9e0223e5fc2bf98da8184f88f80353678c498bf55dee2e0085dd8", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `hyper::client::Builder::keep_alive`: name is confusing, to disable the connection pool, call pool_max_idle_per_host(0) [INFO] [stderr] --> src/client.rs:45:39 [INFO] [stderr] | [INFO] [stderr] 45 | client: Client::builder().keep_alive(true).build(connector), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/status.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RCode` [INFO] [stderr] 6 | pub enum RCode { [INFO] [stderr] | ----- `RCode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `doh-dns` (lib) generated 2 warnings [INFO] [stderr] warning: `doh-dns` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/doh_dns-98dd9af12ce611ad) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test client::tests::test_static_resolve ... ok [INFO] [stdout] test dns::tests::test_mx ... ok [INFO] [stdout] test dns::tests::test_retries ... ok [INFO] [stdout] test dns::tests::test_txt ... ok [INFO] [stdout] test dns::tests::test_a ... ok [INFO] [stderr] Doc-tests doh_dns [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 18) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.36s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "91212443d3a9e0223e5fc2bf98da8184f88f80353678c498bf55dee2e0085dd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91212443d3a9e0223e5fc2bf98da8184f88f80353678c498bf55dee2e0085dd8", kill_on_drop: false }` [INFO] [stdout] 91212443d3a9e0223e5fc2bf98da8184f88f80353678c498bf55dee2e0085dd8