[INFO] cloning repository https://github.com/cat916/dnsweekend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cat916/dnsweekend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcat916%2Fdnsweekend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcat916%2Fdnsweekend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 070f05e76726e83e4445d659c6e9a85133f66996 [INFO] checking cat916/dnsweekend/070f05e76726e83e4445d659c6e9a85133f66996 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcat916%2Fdnsweekend" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cat916/dnsweekend on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cat916/dnsweekend [INFO] finished tweaking git repo https://github.com/cat916/dnsweekend [INFO] tweaked toml for git repo https://github.com/cat916/dnsweekend written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cat916/dnsweekend 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c4969382144d5f10b41cd31c9e5dde09ae20025d54b0bc0fa719257bb171a9f [INFO] running `Command { std: "docker" "start" "-a" "8c4969382144d5f10b41cd31c9e5dde09ae20025d54b0bc0fa719257bb171a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c4969382144d5f10b41cd31c9e5dde09ae20025d54b0bc0fa719257bb171a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c4969382144d5f10b41cd31c9e5dde09ae20025d54b0bc0fa719257bb171a9f", kill_on_drop: false }` [INFO] [stdout] 8c4969382144d5f10b41cd31c9e5dde09ae20025d54b0bc0fa719257bb171a9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8607c30f874583d162b27ce1d5cc6d8f9aa99c49b802c46b6737a03d63128c14 [INFO] running `Command { std: "docker" "start" "-a" "8607c30f874583d162b27ce1d5cc6d8f9aa99c49b802c46b6737a03d63128c14", kill_on_drop: false }` [INFO] [stderr] Checking dns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `TYPE_TXT` is never used [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const TYPE_TXT: u16 = 16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RECURSION_DESIRED` is never used [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const RECURSION_DESIRED: u16 = 1 << 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | Data(Vec), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DNSRecordData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 | Data(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TXT` is never constructed [INFO] [stdout] --> src/main.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 82 | enum DNSRecordData { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | TXT(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DNSRecordData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `rclass`, `ttl`, and `rdlength` are never read [INFO] [stdout] --> src/main.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | struct DNSRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 91 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 92 | rtype: u16, [INFO] [stdout] 93 | rclass: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 94 | ttl: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 95 | rdlength: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DNSRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `questions` are never read [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 164 | struct DNSPacket { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 165 | header: DNSHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 166 | questions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DNSPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ipv4_to_string` is never used [INFO] [stdout] --> src/main.rs:341:4 [INFO] [stdout] | [INFO] [stdout] 341 | fn ipv4_to_string(data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:273:11 [INFO] [stdout] | [INFO] [stdout] 271 | let socket = UdpSocket::bind("0.0.0.0:0").expect("couldn't bind to address"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 272 | let query = build_query(domain_name, qtype); [INFO] [stdout] 273 | match socket.send_to(&query, dest_addr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:439:39 [INFO] [stdout] | [INFO] [stdout] 439 | .for_each(|domain_name| match resolve(&domain_name, TYPE_A) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dns` (bin "dns") due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `TYPE_TXT` is never used [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const TYPE_TXT: u16 = 16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | Data(Vec), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DNSRecordData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 | Data(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TXT` is never constructed [INFO] [stdout] --> src/main.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 82 | enum DNSRecordData { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | TXT(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DNSRecordData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `rclass`, `ttl`, and `rdlength` are never read [INFO] [stdout] --> src/main.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | struct DNSRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 91 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 92 | rtype: u16, [INFO] [stdout] 93 | rclass: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 94 | ttl: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 95 | rdlength: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DNSRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `questions` are never read [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 164 | struct DNSPacket { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 165 | header: DNSHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 166 | questions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DNSPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ipv4_to_string` is never used [INFO] [stdout] --> src/main.rs:341:4 [INFO] [stdout] | [INFO] [stdout] 341 | fn ipv4_to_string(data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:273:11 [INFO] [stdout] | [INFO] [stdout] 271 | let socket = UdpSocket::bind("0.0.0.0:0").expect("couldn't bind to address"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 272 | let query = build_query(domain_name, qtype); [INFO] [stdout] 273 | match socket.send_to(&query, dest_addr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:439:39 [INFO] [stdout] | [INFO] [stdout] 439 | .for_each(|domain_name| match resolve(&domain_name, TYPE_A) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dns` (bin "dns" test) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8607c30f874583d162b27ce1d5cc6d8f9aa99c49b802c46b6737a03d63128c14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8607c30f874583d162b27ce1d5cc6d8f9aa99c49b802c46b6737a03d63128c14", kill_on_drop: false }` [INFO] [stdout] 8607c30f874583d162b27ce1d5cc6d8f9aa99c49b802c46b6737a03d63128c14