[INFO] cloning repository https://github.com/EmilHernvall/triportreat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EmilHernvall/triportreat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilHernvall%2Ftriportreat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilHernvall%2Ftriportreat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9cb2b2e45136053736190fdefe40274ea405ffe2 [INFO] checking EmilHernvall/triportreat/9cb2b2e45136053736190fdefe40274ea405ffe2 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%2FEmilHernvall%2Ftriportreat" "/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/EmilHernvall/triportreat 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/EmilHernvall/triportreat [INFO] finished tweaking git repo https://github.com/EmilHernvall/triportreat [INFO] tweaked toml for git repo https://github.com/EmilHernvall/triportreat written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/EmilHernvall/triportreat 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] d644ee37c2fb9598d31126d99e6621b1d5fe099024b86b9cf8aa1f587dae2d1b [INFO] running `Command { std: "docker" "start" "-a" "d644ee37c2fb9598d31126d99e6621b1d5fe099024b86b9cf8aa1f587dae2d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d644ee37c2fb9598d31126d99e6621b1d5fe099024b86b9cf8aa1f587dae2d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d644ee37c2fb9598d31126d99e6621b1d5fe099024b86b9cf8aa1f587dae2d1b", kill_on_drop: false }` [INFO] [stdout] d644ee37c2fb9598d31126d99e6621b1d5fe099024b86b9cf8aa1f587dae2d1b [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] 7ccab76507eb7442e076aa75c1276aef524a6ad36eb33b00e5016fe5c804d5e4 [INFO] running `Command { std: "docker" "start" "-a" "7ccab76507eb7442e076aa75c1276aef524a6ad36eb33b00e5016fe5c804d5e4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling argh_shared v0.1.4 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling openssl-src v111.13.0+1.1.1i [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking chunked_transfer v1.3.0 [INFO] [stderr] Checking ttf-noto-sans v0.1.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Compiling argh_derive v0.1.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking argh v0.1.4 [INFO] [stderr] Checking ureq v1.5.4 [INFO] [stderr] Checking triportreat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HorizontalGadget` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | gadget::{Gadget, HorizontalGadget, ScrollGadget, TextGadget, RenderRect}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HorizontalGadget` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | gadget::{Gadget, HorizontalGadget, ScrollGadget, TextGadget, RenderRect}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct RealtimeDepartureInfo { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 40 | /// ex: tunnelbanans gröna linje [INFO] [stdout] 41 | pub group_of_line: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub transport_mode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub journey_direction: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | /// ex: Slussen [INFO] [stdout] 51 | pub stop_area_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 52 | /// ex: 1011 [INFO] [stdout] 53 | pub stop_area_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | /// ex: 1012 [INFO] [stdout] 55 | pub stop_point_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | /// ex: 4 [INFO] [stdout] 57 | pub stop_point_designation: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | /// ex: 2020-12-27T00:12:00 [INFO] [stdout] 59 | pub time_tabled_date_time: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | /// ex: 2020-12-27T00:12:00 [INFO] [stdout] 61 | pub expected_date_time: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | /// ex: 14759 [INFO] [stdout] 63 | pub journey_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RealtimeDepartureInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct RealtimeDepartureInfo { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 40 | /// ex: tunnelbanans gröna linje [INFO] [stdout] 41 | pub group_of_line: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub transport_mode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub journey_direction: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | /// ex: Slussen [INFO] [stdout] 51 | pub stop_area_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 52 | /// ex: 1011 [INFO] [stdout] 53 | pub stop_area_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | /// ex: 1012 [INFO] [stdout] 55 | pub stop_point_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | /// ex: 4 [INFO] [stdout] 57 | pub stop_point_designation: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | /// ex: 2020-12-27T00:12:00 [INFO] [stdout] 59 | pub time_tabled_date_time: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | /// ex: 2020-12-27T00:12:00 [INFO] [stdout] 61 | pub expected_date_time: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | /// ex: 14759 [INFO] [stdout] 63 | pub journey_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RealtimeDepartureInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/hardware/sdl.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 18 | let context = sdl2::init()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let video = context.video()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | [INFO] [stdout] 21 | let window = video [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let mut canvas = window.into_canvas().build()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let event_pump = context.event_pump()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | [INFO] [stdout] 33 | Ok(SdlHardware { canvas, event_pump }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/hardware/sdl.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 18 | let context = sdl2::init()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let video = context.video()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | [INFO] [stdout] 21 | let window = video [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let mut canvas = window.into_canvas().build()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let event_pump = context.event_pump()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | [INFO] [stdout] 33 | Ok(SdlHardware { canvas, event_pump }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `triportreat` (bin "triportreat") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `triportreat` (bin "triportreat" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7ccab76507eb7442e076aa75c1276aef524a6ad36eb33b00e5016fe5c804d5e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ccab76507eb7442e076aa75c1276aef524a6ad36eb33b00e5016fe5c804d5e4", kill_on_drop: false }` [INFO] [stdout] 7ccab76507eb7442e076aa75c1276aef524a6ad36eb33b00e5016fe5c804d5e4