[INFO] cloning repository https://github.com/Niceural/weight-and-balance-transport-aircraft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Niceural/weight-and-balance-transport-aircraft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNiceural%2Fweight-and-balance-transport-aircraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNiceural%2Fweight-and-balance-transport-aircraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2653757762c34665cc1cdbe01073d4fe0cd9033a [INFO] checking Niceural/weight-and-balance-transport-aircraft/2653757762c34665cc1cdbe01073d4fe0cd9033a 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%2FNiceural%2Fweight-and-balance-transport-aircraft" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Niceural/weight-and-balance-transport-aircraft 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/Niceural/weight-and-balance-transport-aircraft [INFO] finished tweaking git repo https://github.com/Niceural/weight-and-balance-transport-aircraft [INFO] tweaked toml for git repo https://github.com/Niceural/weight-and-balance-transport-aircraft written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Niceural/weight-and-balance-transport-aircraft 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3de86959b0ba05030ae742d797bd3e6286c00526b691e3661e6e8d829b87ef81 [INFO] running `Command { std: "docker" "start" "-a" "3de86959b0ba05030ae742d797bd3e6286c00526b691e3661e6e8d829b87ef81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3de86959b0ba05030ae742d797bd3e6286c00526b691e3661e6e8d829b87ef81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3de86959b0ba05030ae742d797bd3e6286c00526b691e3661e6e8d829b87ef81", kill_on_drop: false }` [INFO] [stdout] 3de86959b0ba05030ae742d797bd3e6286c00526b691e3661e6e8d829b87ef81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c9b83bc678200ade75ae2e7c16ece14488ca1395a90ed53d89242754c9ac2f89 [INFO] running `Command { std: "docker" "start" "-a" "c9b83bc678200ade75ae2e7c16ece14488ca1395a90ed53d89242754c9ac2f89", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking time v0.3.17 [INFO] [stderr] Checking simplelog v0.12.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking weight-and-balance-transport-aircraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `w_dg` [INFO] [stdout] --> src/components/fuselage.rs:474:26 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn weight(&self, w_dg: f64) -> Weight { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_w_dg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w_dg` [INFO] [stdout] --> src/components/fuselage.rs:512:26 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn weight(&self, w_dg: f64) -> Weight { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_w_dg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w_dg` [INFO] [stdout] --> src/components/fuselage.rs:474:26 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn weight(&self, w_dg: f64) -> Weight { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_w_dg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pilots` [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let pilots = Pilots::new(2., 85.); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pilots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w_dg` [INFO] [stdout] --> src/components/fuselage.rs:512:26 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn weight(&self, w_dg: f64) -> Weight { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_w_dg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crew` [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let crew = Crew::new(3., 85.); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_crew` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `passengers` [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let passengers = Passengers::new(90., 100., LoadCase::Center); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_passengers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pilots` [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let pilots = Pilots::new(2., 85.); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pilots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crew` [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let crew = Crew::new(3., 85.); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_crew` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `passengers` [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let passengers = Passengers::new(90., 100., LoadCase::Center); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_passengers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chord_ht` is never read [INFO] [stdout] --> src/components/tailplane.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct HorizontalTailplane { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | chord_ht: f64, // leading edge to trailing edge distance in ft [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_z` is never read [INFO] [stdout] --> src/components/fuselage.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 448 | struct FlightControls { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 453 | n_z: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_z` is never read [INFO] [stdout] --> src/components/fuselage.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 493 | struct InstalledApu { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 494 | w_apu: f64, [INFO] [stdout] 495 | n_z: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_z` is never read [INFO] [stdout] --> src/components/fuselage.rs:524:5 [INFO] [stdout] | [INFO] [stdout] 523 | struct AntiIcing { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 524 | n_z: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_z` is never read [INFO] [stdout] --> src/components/fuselage.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 552 | struct HandlingGear { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 553 | n_z: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chord_ht` is never read [INFO] [stdout] --> src/components/tailplane.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct HorizontalTailplane { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | chord_ht: f64, // leading edge to trailing edge distance in ft [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/utils/point.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn add(self, rhs: Point) -> Self::Output { [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] 51 | Point { [INFO] [stdout] 52 | x: self.x + rhs.x, [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: field `n_z` is never read [INFO] [stdout] --> src/components/fuselage.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 448 | struct FlightControls { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 453 | n_z: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_z` is never read [INFO] [stdout] --> src/components/fuselage.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 493 | struct InstalledApu { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 494 | w_apu: f64, [INFO] [stdout] 495 | n_z: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_z` is never read [INFO] [stdout] --> src/components/fuselage.rs:524:5 [INFO] [stdout] | [INFO] [stdout] 523 | struct AntiIcing { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 524 | n_z: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_z` is never read [INFO] [stdout] --> src/components/fuselage.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 552 | struct HandlingGear { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 553 | n_z: f64, [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/utils/point.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn add(self, rhs: Point) -> Self::Output { [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] 53 | y: self.y + rhs.y, [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/utils/point.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn add(self, rhs: Point) -> Self::Output { [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] 51 | Point { [INFO] [stdout] 52 | x: self.x + rhs.x, [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/utils/point.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn add(self, rhs: Point) -> Self::Output { [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] 53 | y: self.y + rhs.y, [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/utils/point.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn add(self, rhs: Point) -> Self::Output { [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] 54 | z: self.z + rhs.z, [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/utils/point.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn add(self, rhs: Point) -> Self::Output { [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] 54 | z: self.z + rhs.z, [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; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `weight-and-balance-transport-aircraft` (bin "weight-and-balance-transport-aircraft") due to 4 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `weight-and-balance-transport-aircraft` (bin "weight-and-balance-transport-aircraft" test) due to 4 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c9b83bc678200ade75ae2e7c16ece14488ca1395a90ed53d89242754c9ac2f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9b83bc678200ade75ae2e7c16ece14488ca1395a90ed53d89242754c9ac2f89", kill_on_drop: false }` [INFO] [stdout] c9b83bc678200ade75ae2e7c16ece14488ca1395a90ed53d89242754c9ac2f89