[INFO] cloning repository https://github.com/vasyaf16/codecrafters-dns-server-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vasyaf16/codecrafters-dns-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvasyaf16%2Fcodecrafters-dns-server-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvasyaf16%2Fcodecrafters-dns-server-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad80ad38df4d7956413bbc20765437a06e1bb40b [INFO] checking vasyaf16/codecrafters-dns-server-rust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvasyaf16%2Fcodecrafters-dns-server-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vasyaf16/codecrafters-dns-server-rust on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vasyaf16/codecrafters-dns-server-rust [INFO] finished tweaking git repo https://github.com/vasyaf16/codecrafters-dns-server-rust [INFO] tweaked toml for git repo https://github.com/vasyaf16/codecrafters-dns-server-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vasyaf16/codecrafters-dns-server-rust 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.6 [INFO] [stderr] Downloaded clap_builder v4.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad333fc82001e276e7f0c632f8c2dc720c691404e91b595b5f16189d94c76edd [INFO] running `Command { std: "docker" "start" "-a" "ad333fc82001e276e7f0c632f8c2dc720c691404e91b595b5f16189d94c76edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad333fc82001e276e7f0c632f8c2dc720c691404e91b595b5f16189d94c76edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad333fc82001e276e7f0c632f8c2dc720c691404e91b595b5f16189d94c76edd", kill_on_drop: false }` [INFO] [stdout] ad333fc82001e276e7f0c632f8c2dc720c691404e91b595b5f16189d94c76edd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32958dbd1d239a7d396a25ee3fd715ceed90718c1efa2eda4933d66dd225acc0 [INFO] running `Command { std: "docker" "start" "-a" "32958dbd1d239a7d396a25ee3fd715ceed90718c1efa2eda4933d66dd225acc0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.6 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.5.6 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Checking dns-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/question.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | let (bytes, len) = Question::deserialize(&buf, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/message.rs:538:17 [INFO] [stdout] | [INFO] [stdout] 538 | let (a, b) = Labels::parse(val, end + 1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.20s [INFO] running `Command { std: "docker" "inspect" "32958dbd1d239a7d396a25ee3fd715ceed90718c1efa2eda4933d66dd225acc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32958dbd1d239a7d396a25ee3fd715ceed90718c1efa2eda4933d66dd225acc0", kill_on_drop: false }` [INFO] [stdout] 32958dbd1d239a7d396a25ee3fd715ceed90718c1efa2eda4933d66dd225acc0 [INFO] checking vasyaf16/codecrafters-dns-server-rust against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvasyaf16%2Fcodecrafters-dns-server-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vasyaf16/codecrafters-dns-server-rust on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vasyaf16/codecrafters-dns-server-rust [INFO] finished tweaking git repo https://github.com/vasyaf16/codecrafters-dns-server-rust [INFO] tweaked toml for git repo https://github.com/vasyaf16/codecrafters-dns-server-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vasyaf16/codecrafters-dns-server-rust 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f067d4f9051e27a93444f5648d9ed7ee9258a41c0ceb8416ff59722f8d180a27 [INFO] running `Command { std: "docker" "start" "-a" "f067d4f9051e27a93444f5648d9ed7ee9258a41c0ceb8416ff59722f8d180a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f067d4f9051e27a93444f5648d9ed7ee9258a41c0ceb8416ff59722f8d180a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f067d4f9051e27a93444f5648d9ed7ee9258a41c0ceb8416ff59722f8d180a27", kill_on_drop: false }` [INFO] [stdout] f067d4f9051e27a93444f5648d9ed7ee9258a41c0ceb8416ff59722f8d180a27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b790cbe653955c887b9de3be50b3dd02dd0ce74211cc2069917ab6afe670587 [INFO] running `Command { std: "docker" "start" "-a" "5b790cbe653955c887b9de3be50b3dd02dd0ce74211cc2069917ab6afe670587", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.6 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Checking clap v4.5.6 [INFO] [stderr] Checking dns-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/question.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | let (bytes, len) = Question::deserialize(&buf, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn forwarding_server(udp_socket: &UdpSocket, message: Message, socket_addr: SocketAddrV4) -> Message { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Message::join(message.split().into_iter().map(|m| [INFO] [stdout] | ___________________^ [INFO] [stdout] 15 | | { [INFO] [stdout] 16 | | println!("forwarding message : {:?}", m); [INFO] [stdout] 17 | | let s = m.serialize(); [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | ).collect::>()) [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/question.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 51 | let (name, end) = Labels::parse(bytes, start); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | (Self { [INFO] [stdout] | __________^ [INFO] [stdout] 61 | | name, [INFO] [stdout] 62 | | ty, [INFO] [stdout] 63 | | class, [INFO] [stdout] 64 | | }, len) [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/message.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(header: Header, questions: Vec, answers: Vec) -> Self { [INFO] [stdout] | ------------------------ -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | questions: Questions(questions), [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/message.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(header: Header, questions: Vec, answers: Vec) -> Self { [INFO] [stdout] | ------------------------ -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | answers: Answers(answers), [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/message.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn split(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | / self.questions.into_iter().map(|i| { [INFO] [stdout] 75 | | println!("question : {:?}", i); [INFO] [stdout] 76 | | let mut m = Message::new(self.header.clone(), vec![i], vec![]); [INFO] [stdout] 77 | | m.header.qd_count = 1; [INFO] [stdout] 78 | | m.header.an_count = 0; [INFO] [stdout] 79 | | m [INFO] [stdout] 80 | | }).collect() [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/message.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn join(v: Vec) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | / MessageBuilder::new() [INFO] [stdout] 87 | | .set_header(header) [INFO] [stdout] 88 | | .add_answers(v.iter().flat_map(|m| m.answers.clone())) [INFO] [stdout] 89 | | .add_questions(v.iter().flat_map(|m| m.questions.clone())) [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/message.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 112 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | Self(iter.into_iter().collect::>()) [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/message.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn from_questions<'a,Q: IntoIterator>(questions: Q) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | questions.into_iter().map(|q| Answer::from_domain_name(&q.domain())).collect() [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/message.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn serialize(self) -> BytesMut { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | self.0.into_iter().flat_map(|a| a.serialize()).collect() [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/message.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn serialize(self) -> BytesMut { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | self.0.into_iter().flat_map(|q| q.serialize()).collect() [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/answer.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 94 | let (labels, end) = if is_compressed { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let l = bytes[offset as usize..] [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | let l = [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let name = Labels::from_bytes(&labels); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | (Self { [INFO] [stdout] | __________^ [INFO] [stdout] 139 | | name, [INFO] [stdout] 140 | | ty, [INFO] [stdout] 141 | | class, [INFO] [stdout] ... | [INFO] [stdout] 144 | | r_data, [INFO] [stdout] 145 | | }, l) [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dns-starter-rust` (bin "dns-starter-rust") due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/message.rs:538:17 [INFO] [stdout] | [INFO] [stdout] 538 | let (a, b) = Labels::parse(val, end + 1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [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:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn forwarding_server(udp_socket: &UdpSocket, message: Message, socket_addr: SocketAddrV4) -> Message { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Message::join(message.split().into_iter().map(|m| [INFO] [stdout] | ___________________^ [INFO] [stdout] 15 | | { [INFO] [stdout] 16 | | println!("forwarding message : {:?}", m); [INFO] [stdout] 17 | | let s = m.serialize(); [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | ).collect::>()) [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/question.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 51 | let (name, end) = Labels::parse(bytes, start); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | (Self { [INFO] [stdout] | __________^ [INFO] [stdout] 61 | | name, [INFO] [stdout] 62 | | ty, [INFO] [stdout] 63 | | class, [INFO] [stdout] 64 | | }, len) [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/message.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(header: Header, questions: Vec, answers: Vec) -> Self { [INFO] [stdout] | ------------------------ -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | questions: Questions(questions), [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/message.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(header: Header, questions: Vec, answers: Vec) -> Self { [INFO] [stdout] | ------------------------ -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | answers: Answers(answers), [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/message.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn split(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | / self.questions.into_iter().map(|i| { [INFO] [stdout] 75 | | println!("question : {:?}", i); [INFO] [stdout] 76 | | let mut m = Message::new(self.header.clone(), vec![i], vec![]); [INFO] [stdout] 77 | | m.header.qd_count = 1; [INFO] [stdout] 78 | | m.header.an_count = 0; [INFO] [stdout] 79 | | m [INFO] [stdout] 80 | | }).collect() [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/message.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn join(v: Vec) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | / MessageBuilder::new() [INFO] [stdout] 87 | | .set_header(header) [INFO] [stdout] 88 | | .add_answers(v.iter().flat_map(|m| m.answers.clone())) [INFO] [stdout] 89 | | .add_questions(v.iter().flat_map(|m| m.questions.clone())) [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/message.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 112 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | Self(iter.into_iter().collect::>()) [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/message.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn from_questions<'a,Q: IntoIterator>(questions: Q) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | questions.into_iter().map(|q| Answer::from_domain_name(&q.domain())).collect() [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/message.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn serialize(self) -> BytesMut { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | self.0.into_iter().flat_map(|a| a.serialize()).collect() [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/message.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn serialize(self) -> BytesMut { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | self.0.into_iter().flat_map(|q| q.serialize()).collect() [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/answer.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 94 | let (labels, end) = if is_compressed { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let l = bytes[offset as usize..] [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | let l = [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let name = Labels::from_bytes(&labels); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | (Self { [INFO] [stdout] | __________^ [INFO] [stdout] 139 | | name, [INFO] [stdout] 140 | | ty, [INFO] [stdout] 141 | | class, [INFO] [stdout] ... | [INFO] [stdout] 144 | | r_data, [INFO] [stdout] 145 | | }, l) [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 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dns-starter-rust` (bin "dns-starter-rust" test) due to 12 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b790cbe653955c887b9de3be50b3dd02dd0ce74211cc2069917ab6afe670587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b790cbe653955c887b9de3be50b3dd02dd0ce74211cc2069917ab6afe670587", kill_on_drop: false }` [INFO] [stdout] 5b790cbe653955c887b9de3be50b3dd02dd0ce74211cc2069917ab6afe670587