[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] building eugene-yzm/dns-parse against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feugene-yzm%2Fdns-parse" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eugene-yzm/dns-parse on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-2-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 088bcc9a199e8ef8bc2e04e4ef60d4eee0481d8c3a3e228c2cb8c0f9407ee2be [INFO] running `Command { std: "docker" "start" "-a" "088bcc9a199e8ef8bc2e04e4ef60d4eee0481d8c3a3e228c2cb8c0f9407ee2be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "088bcc9a199e8ef8bc2e04e4ef60d4eee0481d8c3a3e228c2cb8c0f9407ee2be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "088bcc9a199e8ef8bc2e04e4ef60d4eee0481d8c3a3e228c2cb8c0f9407ee2be", kill_on_drop: false }` [INFO] [stdout] 088bcc9a199e8ef8bc2e04e4ef60d4eee0481d8c3a3e228c2cb8c0f9407ee2be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebca9b707a6b026e43c6a4cf47f23d771967546fd0a6dae62c2e776ee01df3ea [INFO] running `Command { std: "docker" "start" "-a" "ebca9b707a6b026e43c6a4cf47f23d771967546fd0a6dae62c2e776ee01df3ea", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.78s [INFO] running `Command { std: "docker" "inspect" "ebca9b707a6b026e43c6a4cf47f23d771967546fd0a6dae62c2e776ee01df3ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebca9b707a6b026e43c6a4cf47f23d771967546fd0a6dae62c2e776ee01df3ea", kill_on_drop: false }` [INFO] [stdout] ebca9b707a6b026e43c6a4cf47f23d771967546fd0a6dae62c2e776ee01df3ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f7a921a252bcf443c71340e02e89295cb9abd00f1c215080eb1fc5973ec9cad [INFO] running `Command { std: "docker" "start" "-a" "0f7a921a252bcf443c71340e02e89295cb9abd00f1c215080eb1fc5973ec9cad", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "0f7a921a252bcf443c71340e02e89295cb9abd00f1c215080eb1fc5973ec9cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f7a921a252bcf443c71340e02e89295cb9abd00f1c215080eb1fc5973ec9cad", kill_on_drop: false }` [INFO] [stdout] 0f7a921a252bcf443c71340e02e89295cb9abd00f1c215080eb1fc5973ec9cad