[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#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feugene-yzm%2Fdns-parse" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eugene-yzm/dns-parse on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] feac94ce786c4b83c6fa3e277e0a4d580b3119e3e6ee81744db1538d1d970b41 [INFO] running `Command { std: "docker" "start" "-a" "feac94ce786c4b83c6fa3e277e0a4d580b3119e3e6ee81744db1538d1d970b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "feac94ce786c4b83c6fa3e277e0a4d580b3119e3e6ee81744db1538d1d970b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feac94ce786c4b83c6fa3e277e0a4d580b3119e3e6ee81744db1538d1d970b41", kill_on_drop: false }` [INFO] [stdout] feac94ce786c4b83c6fa3e277e0a4d580b3119e3e6ee81744db1538d1d970b41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cb7f10bfc7a7a5bff018c3480254a598991d084830c6b56d5ffd01164cc6fe6 [INFO] running `Command { std: "docker" "start" "-a" "7cb7f10bfc7a7a5bff018c3480254a598991d084830c6b56d5ffd01164cc6fe6", 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 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: 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: 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: 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: 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 3.29s [INFO] running `Command { std: "docker" "inspect" "7cb7f10bfc7a7a5bff018c3480254a598991d084830c6b56d5ffd01164cc6fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb7f10bfc7a7a5bff018c3480254a598991d084830c6b56d5ffd01164cc6fe6", kill_on_drop: false }` [INFO] [stdout] 7cb7f10bfc7a7a5bff018c3480254a598991d084830c6b56d5ffd01164cc6fe6