[INFO] cloning repository https://github.com/eugene-yzm/dns-parse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eugene-yzm/dns-parse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feugene-yzm%2Fdns-parse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feugene-yzm%2Fdns-parse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9086966557098ab2df5f82d4dec00af1ae5f5c58 [INFO] checking eugene-yzm/dns-parse against master#03eb45452305f2d52348279d0caa5fc1f12c438d for pr-138176 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feugene-yzm%2Fdns-parse" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eugene-yzm/dns-parse on toolchain 03eb45452305f2d52348279d0caa5fc1f12c438d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eugene-yzm/dns-parse [INFO] finished tweaking git repo https://github.com/eugene-yzm/dns-parse [INFO] tweaked toml for git repo https://github.com/eugene-yzm/dns-parse written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/eugene-yzm/dns-parse 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" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5f9d21b36d912c13c8bf3245f2a53d651011305870aaf432e047f7afce332d4 [INFO] running `Command { std: "docker" "start" "-a" "d5f9d21b36d912c13c8bf3245f2a53d651011305870aaf432e047f7afce332d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5f9d21b36d912c13c8bf3245f2a53d651011305870aaf432e047f7afce332d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5f9d21b36d912c13c8bf3245f2a53d651011305870aaf432e047f7afce332d4", kill_on_drop: false }` [INFO] [stdout] d5f9d21b36d912c13c8bf3245f2a53d651011305870aaf432e047f7afce332d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 380ef52aff00c4934c9c0530ecc73e29cd6a6db8485bc91d8d55c51d4ccdaf94 [INFO] running `Command { std: "docker" "start" "-a" "380ef52aff00c4934c9c0530ecc73e29cd6a6db8485bc91d8d55c51d4ccdaf94", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking dns-parse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let data = vec![0x65, 0x8c, 0x81, 0x80, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x07, 0x74, 0x77, 0x69, 0x74, 0x74, 0x65, 0x7... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let response: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let data = vec![0x65, 0x8c, 0x81, 0x80, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x07, 0x74, 0x77, 0x69, 0x74, 0x74, 0x65, 0x7... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let response: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | id: u16, // A 16 bit generated identifier [INFO] [stdout] | ^^ [INFO] [stdout] 13 | qr: bool, // query (0), or a response (1) [INFO] [stdout] | ^^ [INFO] [stdout] 14 | opcode: Opcode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | aa: bool, // Authoritative Answer [INFO] [stdout] | ^^ [INFO] [stdout] 16 | tc: bool, // TrunCation [INFO] [stdout] | ^^ [INFO] [stdout] 17 | rd: bool, // Recursion Desired [INFO] [stdout] | ^^ [INFO] [stdout] 18 | ra: bool, // Recursion Available [INFO] [stdout] | ^^ [INFO] [stdout] 19 | // z Reserved for future use, Must be zero [INFO] [stdout] 20 | rcode: Rcode, // Response code [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | qdcount: u16, // specifies the number of entries in the question section [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | ancount: u16, // specifies the number of resource records in the answer section [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | nscount: u16, // specifies the number of name server resource records in the authority records section [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | arcount: u16 // specifyies the number of resource records in the additional records section [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FormatErr`, `ServerErr`, `NameErr`, `NoImpl`, and `Refused` are never constructed [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum Rcode { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 51 | NoErr, // 0 No error condition [INFO] [stdout] 52 | FormatErr, // 1 Format error [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | ServerErr, // 2 Server failure [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 54 | NameErr, // 3 Name Error [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | NoImpl, // 4 Not Implemented [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | Refused, // 5 Refused [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | id: u16, // A 16 bit generated identifier [INFO] [stdout] | ^^ [INFO] [stdout] 13 | qr: bool, // query (0), or a response (1) [INFO] [stdout] | ^^ [INFO] [stdout] 14 | opcode: Opcode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | aa: bool, // Authoritative Answer [INFO] [stdout] | ^^ [INFO] [stdout] 16 | tc: bool, // TrunCation [INFO] [stdout] | ^^ [INFO] [stdout] 17 | rd: bool, // Recursion Desired [INFO] [stdout] | ^^ [INFO] [stdout] 18 | ra: bool, // Recursion Available [INFO] [stdout] | ^^ [INFO] [stdout] 19 | // z Reserved for future use, Must be zero [INFO] [stdout] 20 | rcode: Rcode, // Response code [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | qdcount: u16, // specifies the number of entries in the question section [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | ancount: u16, // specifies the number of resource records in the answer section [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | nscount: u16, // specifies the number of name server resource records in the authority records section [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | arcount: u16 // specifyies the number of resource records in the additional records section [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | parse(ds); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = parse(ds); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FormatErr`, `ServerErr`, `NameErr`, `NoImpl`, and `Refused` are never constructed [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum Rcode { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 51 | NoErr, // 0 No error condition [INFO] [stdout] 52 | FormatErr, // 1 Format error [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | ServerErr, // 2 Server failure [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 54 | NameErr, // 3 Name Error [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | NoImpl, // 4 Not Implemented [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | Refused, // 5 Refused [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | parse(ds); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = parse(ds); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.29s [INFO] running `Command { std: "docker" "inspect" "380ef52aff00c4934c9c0530ecc73e29cd6a6db8485bc91d8d55c51d4ccdaf94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "380ef52aff00c4934c9c0530ecc73e29cd6a6db8485bc91d8d55c51d4ccdaf94", kill_on_drop: false }` [INFO] [stdout] 380ef52aff00c4934c9c0530ecc73e29cd6a6db8485bc91d8d55c51d4ccdaf94