[INFO] cloning repository https://github.com/Enfernuz/codecrafters-dns-server-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Enfernuz/codecrafters-dns-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnfernuz%2Fcodecrafters-dns-server-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnfernuz%2Fcodecrafters-dns-server-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f9275e617d50dbc27179764ea904420aae6a48d7
[INFO] checking Enfernuz/codecrafters-dns-server-rust against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnfernuz%2Fcodecrafters-dns-server-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Enfernuz/codecrafters-dns-server-rust
[INFO] finished tweaking git repo https://github.com/Enfernuz/codecrafters-dns-server-rust
[INFO] tweaked toml for git repo https://github.com/Enfernuz/codecrafters-dns-server-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Enfernuz/codecrafters-dns-server-rust on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Enfernuz/codecrafters-dns-server-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7930fd83593bd7f3cc97a4d6b3e200dcb7cc5924e10915738af0f94581bb1c33
[INFO] running `Command { std: "docker" "start" "7930fd83593bd7f3cc97a4d6b3e200dcb7cc5924e10915738af0f94581bb1c33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7930fd83593bd7f3cc97a4d6b3e200dcb7cc5924e10915738af0f94581bb1c33", 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" "7930fd83593bd7f3cc97a4d6b3e200dcb7cc5924e10915738af0f94581bb1c33" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7930fd83593bd7f3cc97a4d6b3e200dcb7cc5924e10915738af0f94581bb1c33", 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" "7930fd83593bd7f3cc97a4d6b3e200dcb7cc5924e10915738af0f94581bb1c33" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]     Checking bytes v1.7.1
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking clap_builder v4.5.27
[INFO] [stderr]    Compiling clap_derive v4.5.28
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]     Checking clap v4.5.28
[INFO] [stderr]     Checking codecrafters-dns-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `SocketAddrV4` and `os::unix::net::SocketAddr`
[INFO] [stdout]  --> src/server/mod.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 |     net::{SocketAddrV4, UdpSocket},
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 3 |     os::unix::net::SocketAddr,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::u8`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/server/dns.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 |     use std::{fmt, rc::Rc, str, u8};
[INFO] [stdout]   |                                 ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/server/dns.rs:63:26
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 16..=u8::MAX => Err(OpCodeParseError {
[INFO] [stdout]    |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/server/dns.rs:116:26
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 16..=u8::MAX => Err(RCodeParseError {
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/server/dns.rs:357:31
[INFO] [stdout]     |
[INFO] [stdout] 357 |                 length <= u8::MAX as usize,
[INFO] [stdout]     |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/server/dns.rs:360:21
[INFO] [stdout]     |
[INFO] [stdout] 360 |                 u8::MAX
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SocketAddrV4` and `os::unix::net::SocketAddr`
[INFO] [stdout]  --> src/server/mod.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 |     net::{SocketAddrV4, UdpSocket},
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 3 |     os::unix::net::SocketAddr,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::u8`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/server/dns.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 |     use std::{fmt, rc::Rc, str, u8};
[INFO] [stdout]   |                                 ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/server/dns.rs:63:26
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 16..=u8::MAX => Err(OpCodeParseError {
[INFO] [stdout]    |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/server/dns.rs:116:26
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 16..=u8::MAX => Err(RCodeParseError {
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/server/dns.rs:357:31
[INFO] [stdout]     |
[INFO] [stdout] 357 |                 length <= u8::MAX as usize,
[INFO] [stdout]     |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/server/dns.rs:360:21
[INFO] [stdout]     |
[INFO] [stdout] 360 |                 u8::MAX
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_qr` and `get_rcode` are never used
[INFO] [stdout]    --> src/server/dns.rs:174:16
[INFO] [stdout]     |
[INFO] [stdout] 158 |     impl Header {
[INFO] [stdout]     |     ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 174 |         pub fn get_qr(&self) -> bool {
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |         pub fn get_rcode(&'_ self) -> &'_ Rc<RCode> {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_content` are never used
[INFO] [stdout]    --> src/server/dns.rs:344:16
[INFO] [stdout]     |
[INFO] [stdout] 343 |     impl Label {
[INFO] [stdout]     |     ---------- associated items in this implementation
[INFO] [stdout] 344 |         pub fn new(content: &Rc<str>) -> Label {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 350 |         pub fn get_content(&self) -> &Rc<str> {
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_labels` are never used
[INFO] [stdout]    --> src/server/dns.rs:375:16
[INFO] [stdout]     |
[INFO] [stdout] 374 |     impl LabelSequence {
[INFO] [stdout]     |     ------------------ associated items in this implementation
[INFO] [stdout] 375 |         pub fn new(labels: &Rc<[Label]>) -> LabelSequence {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 381 |         pub fn get_labels(&self) -> &Rc<[Label]> {
[INFO] [stdout]     |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_type`, and `get_class` are never used
[INFO] [stdout]    --> src/server/dns.rs:414:16
[INFO] [stdout]     |
[INFO] [stdout] 413 |     impl Question {
[INFO] [stdout]     |     ------------- associated items in this implementation
[INFO] [stdout] 414 |         pub fn new(name: &Rc<LabelSequence>, r#type: u16, class: u16) -> Question {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 426 |         pub fn get_type(&self) -> u16 {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 430 |         pub fn get_class(&self) -> u16 {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_name`, `get_type`, `get_class`, `get_ttl`, `get_data_length`, and `get_data` are never used
[INFO] [stdout]    --> src/server/dns.rs:482:16
[INFO] [stdout]     |
[INFO] [stdout] 465 |     impl Answer {
[INFO] [stdout]     |     ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 482 |         pub fn get_name(&self) -> &Rc<LabelSequence> {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 486 |         pub fn get_type(&self) -> u16 {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 490 |         pub fn get_class(&self) -> u16 {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 494 |         pub fn get_ttl(&self) -> u32 {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 498 |         pub fn get_data_length(&self) -> u16 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 502 |         pub fn get_data(&self) -> &Rc<[u8]> {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_qr` and `get_rcode` are never used
[INFO] [stdout]    --> src/server/dns.rs:174:16
[INFO] [stdout]     |
[INFO] [stdout] 158 |     impl Header {
[INFO] [stdout]     |     ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 174 |         pub fn get_qr(&self) -> bool {
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |         pub fn get_rcode(&'_ self) -> &'_ Rc<RCode> {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_content` are never used
[INFO] [stdout]    --> src/server/dns.rs:344:16
[INFO] [stdout]     |
[INFO] [stdout] 343 |     impl Label {
[INFO] [stdout]     |     ---------- associated items in this implementation
[INFO] [stdout] 344 |         pub fn new(content: &Rc<str>) -> Label {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 350 |         pub fn get_content(&self) -> &Rc<str> {
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_labels` are never used
[INFO] [stdout]    --> src/server/dns.rs:375:16
[INFO] [stdout]     |
[INFO] [stdout] 374 |     impl LabelSequence {
[INFO] [stdout]     |     ------------------ associated items in this implementation
[INFO] [stdout] 375 |         pub fn new(labels: &Rc<[Label]>) -> LabelSequence {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 381 |         pub fn get_labels(&self) -> &Rc<[Label]> {
[INFO] [stdout]     |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_type`, and `get_class` are never used
[INFO] [stdout]    --> src/server/dns.rs:414:16
[INFO] [stdout]     |
[INFO] [stdout] 413 |     impl Question {
[INFO] [stdout]     |     ------------- associated items in this implementation
[INFO] [stdout] 414 |         pub fn new(name: &Rc<LabelSequence>, r#type: u16, class: u16) -> Question {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 426 |         pub fn get_type(&self) -> u16 {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 430 |         pub fn get_class(&self) -> u16 {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_name`, `get_type`, `get_class`, `get_ttl`, `get_data_length`, and `get_data` are never used
[INFO] [stdout]    --> src/server/dns.rs:482:16
[INFO] [stdout]     |
[INFO] [stdout] 465 |     impl Answer {
[INFO] [stdout]     |     ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 482 |         pub fn get_name(&self) -> &Rc<LabelSequence> {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 486 |         pub fn get_type(&self) -> u16 {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 490 |         pub fn get_class(&self) -> u16 {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 494 |         pub fn get_ttl(&self) -> u32 {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 498 |         pub fn get_data_length(&self) -> u16 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 502 |         pub fn get_data(&self) -> &Rc<[u8]> {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `anyhow`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | anyhow = "1.0.68"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `anyhow`
[INFO] [stderr] warning: unused dependency `bytes`
[INFO] [stderr]  --> Cargo.toml:3:1
[INFO] [stderr]   |
[INFO] [stderr] 3 | bytes = "1.3.0"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `bytes`
[INFO] [stderr] warning: unused dependency `thiserror`
[INFO] [stderr]  --> Cargo.toml:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | thiserror = "1.0.38"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `thiserror`
[INFO] [stderr] warning: `codecrafters-dns-server` (manifest) generated 3 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.81s
[INFO] running `Command { std: "docker" "inspect" "7930fd83593bd7f3cc97a4d6b3e200dcb7cc5924e10915738af0f94581bb1c33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7930fd83593bd7f3cc97a4d6b3e200dcb7cc5924e10915738af0f94581bb1c33", kill_on_drop: false }`
[INFO] [stdout] 7930fd83593bd7f3cc97a4d6b3e200dcb7cc5924e10915738af0f94581bb1c33
