[INFO] cloning repository https://github.com/ZofiaZementa/rsdns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZofiaZementa/rsdns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZofiaZementa%2Frsdns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZofiaZementa%2Frsdns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b84d75aa182aed841e8c7a5a6b7188c7deff2ce [INFO] checking ZofiaZementa/rsdns/3b84d75aa182aed841e8c7a5a6b7188c7deff2ce 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%2FZofiaZementa%2Frsdns" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZofiaZementa/rsdns 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/ZofiaZementa/rsdns [INFO] finished tweaking git repo https://github.com/ZofiaZementa/rsdns [INFO] tweaked toml for git repo https://github.com/ZofiaZementa/rsdns written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZofiaZementa/rsdns 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0eb418eb7b798ef48f825d2cb2950efbe31ca986c381c72f633a8a4fc4e992c7 [INFO] running `Command { std: "docker" "start" "-a" "0eb418eb7b798ef48f825d2cb2950efbe31ca986c381c72f633a8a4fc4e992c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0eb418eb7b798ef48f825d2cb2950efbe31ca986c381c72f633a8a4fc4e992c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eb418eb7b798ef48f825d2cb2950efbe31ca986c381c72f633a8a4fc4e992c7", kill_on_drop: false }` [INFO] [stdout] 0eb418eb7b798ef48f825d2cb2950efbe31ca986c381c72f633a8a4fc4e992c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] cd52aadead3c49de73b7c828774c392e06e75b327d46cd48429168f7ce3bd69a [INFO] running `Command { std: "docker" "start" "-a" "cd52aadead3c49de73b7c828774c392e06e75b327d46cd48429168f7ce3bd69a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling anyhow v1.0.48 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking rsdns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/types.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait DNSItem { [INFO] [stdout] | ------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn from_bytes(bytes: &[u8]) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/types/domain.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Subdomain { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 14 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/types/domain.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Domain { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 48 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/types/message.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct Message { [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/types/message.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 45 | let p_opcode = verify(bitsc::take(4usize), |oc| *oc <= 2); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let p_rcode = verify(bitsc::take(4usize), |rc| *rc <= 5); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let second_line = nom::bits::bits::<_, _, Error<(&[u8], usize)>, _, _>(tuple(( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | tuple((be_u16, second_line, be_u16, be_u16, be_u16, be_u16))(bytes).map( [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] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/types.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait DNSItem { [INFO] [stdout] | ------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn from_bytes(bytes: &[u8]) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/types/domain.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Subdomain { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 14 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/types/domain.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Domain { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 48 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/types/message.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct Message { [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/types/rr.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | res.map(|(n, i)| (n, RData(Box::new(i) as Box))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/rr.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 134 | rd(n).map(|(next, rdata)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | / RR { [INFO] [stdout] 138 | | name: d, [INFO] [stdout] 139 | | rrtype: t, [INFO] [stdout] 140 | | class: c, [INFO] [stdout] 141 | | ttl, [INFO] [stdout] 142 | | rdata, [INFO] [stdout] 143 | | }, [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 3 previous errors; 4 warnings emitted [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/types/message.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 45 | let p_opcode = verify(bitsc::take(4usize), |oc| *oc <= 2); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let p_rcode = verify(bitsc::take(4usize), |rc| *rc <= 5); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let second_line = nom::bits::bits::<_, _, Error<(&[u8], usize)>, _, _>(tuple(( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | tuple((be_u16, second_line, be_u16, be_u16, be_u16, be_u16))(bytes).map( [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/types/rr.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | res.map(|(n, i)| (n, RData(Box::new(i) as Box))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/rr.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 134 | rd(n).map(|(next, rdata)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | / RR { [INFO] [stdout] 138 | | name: d, [INFO] [stdout] 139 | | rrtype: t, [INFO] [stdout] 140 | | class: c, [INFO] [stdout] 141 | | ttl, [INFO] [stdout] 142 | | rdata, [INFO] [stdout] 143 | | }, [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 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsdns` (bin "rsdns") due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rsdns` (bin "rsdns" test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cd52aadead3c49de73b7c828774c392e06e75b327d46cd48429168f7ce3bd69a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd52aadead3c49de73b7c828774c392e06e75b327d46cd48429168f7ce3bd69a", kill_on_drop: false }` [INFO] [stdout] cd52aadead3c49de73b7c828774c392e06e75b327d46cd48429168f7ce3bd69a