[INFO] cloning repository https://github.com/castelao/DirectIP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/castelao/DirectIP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcastelao%2FDirectIP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcastelao%2FDirectIP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea57035a808149717da26a24a56a193733a0e4dd [INFO] checking castelao/DirectIP/ea57035a808149717da26a24a56a193733a0e4dd 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%2Fcastelao%2FDirectIP" "/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/castelao/DirectIP 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/castelao/DirectIP [INFO] finished tweaking git repo https://github.com/castelao/DirectIP [INFO] tweaked toml for git repo https://github.com/castelao/DirectIP written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/castelao/DirectIP 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] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Updating directip v0.2.6 (/workspace/builds/worker-5-tc2/source) -> v0.2.7 [INFO] [stderr] Updating directip-storage v0.0.1 (/workspace/builds/worker-5-tc2/source/crates/storage) -> v0.0.2 [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de51c817640958f4db24ca6c5b5d51083f28c60be4c02484b30e767162699bd3 [INFO] running `Command { std: "docker" "start" "-a" "de51c817640958f4db24ca6c5b5d51083f28c60be4c02484b30e767162699bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de51c817640958f4db24ca6c5b5d51083f28c60be4c02484b30e767162699bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de51c817640958f4db24ca6c5b5d51083f28c60be4c02484b30e767162699bd3", kill_on_drop: false }` [INFO] [stdout] de51c817640958f4db24ca6c5b5d51083f28c60be4c02484b30e767162699bd3 [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d0ef0931b5abc119275887cfb2feff23799891af4e43203023ad834932e2092 [INFO] running `Command { std: "docker" "start" "-a" "9d0ef0931b5abc119275887cfb2feff23799891af4e43203023ad834932e2092", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking regex-automata v0.4.2 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking clap_builder v4.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking bstr v1.7.0 [INFO] [stderr] Checking regex v1.10.1 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking globset v0.4.13 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking assert_fs v1.0.13 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Checking tracing v0.1.39 [INFO] [stderr] Checking clap v4.4.6 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking directip v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ReadBytesExt` [INFO] [stdout] --> src/mo/location.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadBytesExt` [INFO] [stdout] --> src/mo/location.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/mo/location.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 182 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 183 | let buffer = [0u8; 7]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/mo/location.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 200 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 201 | wtr.write_u8(self.identifier())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/mo/location.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 182 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 183 | let buffer = [0u8; 7]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/mo/location.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 200 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 201 | wtr.write_u8(self.identifier())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wtr` [INFO] [stdout] --> src/mo/location.rs:199:40 [INFO] [stdout] | [INFO] [stdout] 199 | fn write(&self, wtr: &mut W) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_wtr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wtr` [INFO] [stdout] --> src/mo/location.rs:199:40 [INFO] [stdout] | [INFO] [stdout] 199 | fn write(&self, wtr: &mut W) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_wtr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_vec` is never used [INFO] [stdout] --> src/lib.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 12 | trait InformationElement { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 26 | fn to_vec(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/lib.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn from_reader(mut rdr: R) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | match mt::MTMessage::from_reader(&mut rdr) { [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: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `directip` (lib) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/lib.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn from_reader(mut rdr: R) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | match mt::MTMessage::from_reader(&mut rdr) { [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: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `directip` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9d0ef0931b5abc119275887cfb2feff23799891af4e43203023ad834932e2092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d0ef0931b5abc119275887cfb2feff23799891af4e43203023ad834932e2092", kill_on_drop: false }` [INFO] [stdout] 9d0ef0931b5abc119275887cfb2feff23799891af4e43203023ad834932e2092