[INFO] fetching crate dnscache 0.3.2... [INFO] testing dnscache-0.3.2 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate dnscache 0.3.2 into /workspace/builds/worker-75/source [INFO] validating manifest of crates.io crate dnscache 0.3.2 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dnscache 0.3.2 [INFO] finished tweaking crates.io crate dnscache 0.3.2 [INFO] tweaked toml for crates.io crate dnscache 0.3.2 written to /workspace/builds/worker-75/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ad1e63baeff019cc5fa3bb39c4178e2fc8117d160d4630c0abc44778115a69c [INFO] running `Command { std: "docker" "start" "-a" "7ad1e63baeff019cc5fa3bb39c4178e2fc8117d160d4630c0abc44778115a69c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ad1e63baeff019cc5fa3bb39c4178e2fc8117d160d4630c0abc44778115a69c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad1e63baeff019cc5fa3bb39c4178e2fc8117d160d4630c0abc44778115a69c", kill_on_drop: false }` [INFO] [stdout] 7ad1e63baeff019cc5fa3bb39c4178e2fc8117d160d4630c0abc44778115a69c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ede7b1df5eeeda5a425ae43f5d36fabebf1c1d03185810452748ab07a293133 [INFO] running `Command { std: "docker" "start" "-a" "2ede7b1df5eeeda5a425ae43f5d36fabebf1c1d03185810452748ab07a293133", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling integer-encoding v1.1.7 [INFO] [stderr] Compiling compactmap v0.3.7 [INFO] [stderr] Compiling clamp v0.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling snap v0.2.5 [INFO] [stderr] Compiling dns-parser v0.7.1 [INFO] [stderr] Compiling println_logger v0.2.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rusty-leveldb v0.2.7 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling multimap v0.4.0 [INFO] [stderr] Compiling serde_cbor v0.8.2 [INFO] [stderr] Compiling serde_bytes v0.10.5 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling dnscache v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | pub type BoxResult = Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | reply_buf.put_u16::(r.id); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | reply_buf.put_u16::(0x8180); // response, recursion, recursion [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | reply_buf.put_u16::(r.q.len() as u16); // q-s [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | reply_buf.put_u16::(num_answers as u16); // a-s [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | reply_buf.put_u16::(0); // auth-s [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | reply_buf.put_u16::(0); // addit [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | reply_buf.put_u16::(0x00FF); // All [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | reply_buf.put_u16::(0x0001); // A [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | reply_buf.put_u16::(0x001C); // AAAA [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | reply_buf.put_u16::(0x0000); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | reply_buf.put_u16::(0x0001); // IN [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | reply_buf.put_u16::(0x0001); // A [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | reply_buf.put_u16::(0x0001); // IN [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> src/details.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | reply_buf.put_u32::(ttl); // TTL [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | reply_buf.put_u16::(4); // data len [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | reply_buf.put_u16::(0x001C); // A [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | reply_buf.put_u16::(0x0001); // IN [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> src/details.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | reply_buf.put_u32::(ttl); // TTL [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | reply_buf.put_u16::(16); // data len [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.77s [INFO] running `Command { std: "docker" "inspect" "2ede7b1df5eeeda5a425ae43f5d36fabebf1c1d03185810452748ab07a293133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ede7b1df5eeeda5a425ae43f5d36fabebf1c1d03185810452748ab07a293133", kill_on_drop: false }` [INFO] [stdout] 2ede7b1df5eeeda5a425ae43f5d36fabebf1c1d03185810452748ab07a293133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3e9fdfb191a989f2c42f27aba8f1fde9a69fc59138ce97a4c91d7f4ffb2009d [INFO] running `Command { std: "docker" "start" "-a" "f3e9fdfb191a989f2c42f27aba8f1fde9a69fc59138ce97a4c91d7f4ffb2009d", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | pub type BoxResult = Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | reply_buf.put_u16::(r.id); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | reply_buf.put_u16::(0x8180); // response, recursion, recursion [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | reply_buf.put_u16::(r.q.len() as u16); // q-s [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | reply_buf.put_u16::(num_answers as u16); // a-s [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | reply_buf.put_u16::(0); // auth-s [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | reply_buf.put_u16::(0); // addit [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | reply_buf.put_u16::(0x00FF); // All [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | reply_buf.put_u16::(0x0001); // A [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | reply_buf.put_u16::(0x001C); // AAAA [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | reply_buf.put_u16::(0x0000); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | reply_buf.put_u16::(0x0001); // IN [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | reply_buf.put_u16::(0x0001); // A [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | reply_buf.put_u16::(0x0001); // IN [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> src/details.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | reply_buf.put_u32::(ttl); // TTL [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | reply_buf.put_u16::(4); // data len [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dnscache v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | reply_buf.put_u16::(0x001C); // A [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | reply_buf.put_u16::(0x0001); // IN [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> src/details.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | reply_buf.put_u32::(ttl); // TTL [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | reply_buf.put_u16::(16); // data len [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | pub type BoxResult = Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | reply_buf.put_u16::(r.id); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | reply_buf.put_u16::(0x8180); // response, recursion, recursion [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | reply_buf.put_u16::(r.q.len() as u16); // q-s [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | reply_buf.put_u16::(num_answers as u16); // a-s [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | reply_buf.put_u16::(0); // auth-s [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | reply_buf.put_u16::(0); // addit [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | reply_buf.put_u16::(0x00FF); // All [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | reply_buf.put_u16::(0x0001); // A [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | reply_buf.put_u16::(0x001C); // AAAA [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | reply_buf.put_u16::(0x0000); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | reply_buf.put_u16::(0x0001); // IN [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | reply_buf.put_u16::(0x0001); // A [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | reply_buf.put_u16::(0x0001); // IN [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> src/details.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | reply_buf.put_u32::(ttl); // TTL [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | reply_buf.put_u16::(4); // data len [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | reply_buf.put_u16::(0x001C); // A [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | reply_buf.put_u16::(0x0001); // IN [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> src/details.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | reply_buf.put_u32::(ttl); // TTL [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/details.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | reply_buf.put_u16::(16); // data len [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "f3e9fdfb191a989f2c42f27aba8f1fde9a69fc59138ce97a4c91d7f4ffb2009d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3e9fdfb191a989f2c42f27aba8f1fde9a69fc59138ce97a4c91d7f4ffb2009d", kill_on_drop: false }` [INFO] [stdout] f3e9fdfb191a989f2c42f27aba8f1fde9a69fc59138ce97a4c91d7f4ffb2009d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 00cc0efbb9eabdaaa8a2e5247bdf26fb2be483a101b457b6698ad5b0365ee77d [INFO] running `Command { std: "docker" "start" "-a" "00cc0efbb9eabdaaa8a2e5247bdf26fb2be483a101b457b6698ad5b0365ee77d", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:92:39 [INFO] [stderr] | [INFO] [stderr] 92 | pub type BoxResult = Result>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:26:15 [INFO] [stderr] | [INFO] [stderr] 26 | reply_buf.put_u16::(r.id); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:27:15 [INFO] [stderr] | [INFO] [stderr] 27 | reply_buf.put_u16::(0x8180); // response, recursion, recursion [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:28:15 [INFO] [stderr] | [INFO] [stderr] 28 | reply_buf.put_u16::(r.q.len() as u16); // q-s [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:29:15 [INFO] [stderr] | [INFO] [stderr] 29 | reply_buf.put_u16::(num_answers as u16); // a-s [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:30:15 [INFO] [stderr] | [INFO] [stderr] 30 | reply_buf.put_u16::(0); // auth-s [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:31:15 [INFO] [stderr] | [INFO] [stderr] 31 | reply_buf.put_u16::(0); // addit [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:44:23 [INFO] [stderr] | [INFO] [stderr] 44 | reply_buf.put_u16::(0x00FF); // All [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:46:23 [INFO] [stderr] | [INFO] [stderr] 46 | reply_buf.put_u16::(0x0001); // A [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:48:23 [INFO] [stderr] | [INFO] [stderr] 48 | reply_buf.put_u16::(0x001C); // AAAA [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:51:23 [INFO] [stderr] | [INFO] [stderr] 51 | reply_buf.put_u16::(0x0000); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:53:19 [INFO] [stderr] | [INFO] [stderr] 53 | reply_buf.put_u16::(0x0001); // IN [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:58:23 [INFO] [stderr] | [INFO] [stderr] 58 | reply_buf.put_u16::(0x0001); // A [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:59:23 [INFO] [stderr] | [INFO] [stderr] 59 | reply_buf.put_u16::(0x0001); // IN [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stderr] --> src/details.rs:60:23 [INFO] [stderr] | [INFO] [stderr] 60 | reply_buf.put_u32::(ttl); // TTL [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:61:23 [INFO] [stderr] | [INFO] [stderr] 61 | reply_buf.put_u16::(4); // data len [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:71:23 [INFO] [stderr] | [INFO] [stderr] 71 | reply_buf.put_u16::(0x001C); // A [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:72:23 [INFO] [stderr] | [INFO] [stderr] 72 | reply_buf.put_u16::(0x0001); // IN [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stderr] --> src/details.rs:73:23 [INFO] [stderr] | [INFO] [stderr] 73 | reply_buf.put_u32::(ttl); // TTL [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/details.rs:74:23 [INFO] [stderr] | [INFO] [stderr] 74 | reply_buf.put_u16::(16); // data len [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dnscache` (lib) generated 20 warnings [INFO] [stderr] warning: `dnscache` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `dnscache` (bin "dnscache" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dnscache-cc0a401771ea43dd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dnscache-bfad70061fa0b559) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests dnscache [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "00cc0efbb9eabdaaa8a2e5247bdf26fb2be483a101b457b6698ad5b0365ee77d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00cc0efbb9eabdaaa8a2e5247bdf26fb2be483a101b457b6698ad5b0365ee77d", kill_on_drop: false }` [INFO] [stdout] 00cc0efbb9eabdaaa8a2e5247bdf26fb2be483a101b457b6698ad5b0365ee77d