[INFO] fetching crate rusty-train 0.1.0... [INFO] checking rusty-train-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rusty-train 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rusty-train 0.1.0 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 crates.io crate rusty-train 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rusty-train 0.1.0 [INFO] tweaked toml for crates.io crate rusty-train 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate rusty-train 0.1.0 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b063de35cafdc313821b041744c3c6844702ae6cbd05e8689abde779b2353c2e [INFO] running `Command { std: "docker" "start" "-a" "b063de35cafdc313821b041744c3c6844702ae6cbd05e8689abde779b2353c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b063de35cafdc313821b041744c3c6844702ae6cbd05e8689abde779b2353c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b063de35cafdc313821b041744c3c6844702ae6cbd05e8689abde779b2353c2e", kill_on_drop: false }` [INFO] [stdout] b063de35cafdc313821b041744c3c6844702ae6cbd05e8689abde779b2353c2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] dfaa189943778dc842b057d4e76e99545e5a82ee346daf9c9f3d2603b549e59e [INFO] running `Command { std: "docker" "start" "-a" "dfaa189943778dc842b057d4e76e99545e5a82ee346daf9c9f3d2603b549e59e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling version-compare v0.0.11 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling cfg-expr v0.8.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling gio v0.14.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling gtk v0.14.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling field-offset v0.3.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling system-deps v3.2.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling glib-macros v0.14.1 [INFO] [stderr] Compiling gtk3-macros v0.14.0 [INFO] [stderr] Compiling glib-sys v0.14.0 [INFO] [stderr] Compiling gobject-sys v0.14.0 [INFO] [stderr] Compiling pango-sys v0.14.0 [INFO] [stderr] Compiling cairo-sys-rs v0.14.0 [INFO] [stderr] Compiling gio-sys v0.14.0 [INFO] [stderr] Compiling pangocairo-sys v0.14.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.14.0 [INFO] [stderr] Compiling gdk-sys v0.14.0 [INFO] [stderr] Compiling atk-sys v0.14.0 [INFO] [stderr] Compiling gtk-sys v0.14.0 [INFO] [stderr] Checking glib v0.14.5 [INFO] [stderr] Checking cairo-rs v0.14.7 [INFO] [stderr] Checking pango v0.14.3 [INFO] [stderr] Checking atk v0.14.0 [INFO] [stderr] Checking pangocairo v0.14.0 [INFO] [stderr] Checking n18hex v0.1.0 [INFO] [stderr] Checking n18tile v0.1.0 [INFO] [stderr] Checking n18token v0.1.0 [INFO] [stderr] Checking n18catalogue v0.1.0 [INFO] [stderr] Checking n18map v0.1.0 [INFO] [stderr] Checking n18route v0.1.0 [INFO] [stderr] Checking n18game v0.1.0 [INFO] [stderr] Checking n18brush v0.1.0 [INFO] [stderr] Checking n18io v0.1.0 [INFO] [stderr] Checking n18example v0.1.0 [INFO] [stderr] Checking gdk-pixbuf v0.14.0 [INFO] [stderr] Checking gdk v0.14.2 [INFO] [stderr] Checking n18ui v0.1.0 [INFO] [stderr] Checking navig18xx v0.1.0 [INFO] [stderr] Checking rusty-train v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/bin/rusty_train.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | let drawing_area = Box::new(DrawingArea::new)(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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] --> examples/draw_game.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 99 | let hex = Hex::new(settings.hex_size); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let mut games: std::collections::BTreeMap> = [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | / settings [INFO] [stdout] 126 | | .format [INFO] [stdout] 127 | | .save_image(width, height, |ctx| draw(&map, &hex, ctx), &output) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-train` (example "draw_game") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/bin/rusty_train.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | let drawing_area = Box::new(DrawingArea::new)(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dfaa189943778dc842b057d4e76e99545e5a82ee346daf9c9f3d2603b549e59e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfaa189943778dc842b057d4e76e99545e5a82ee346daf9c9f3d2603b549e59e", kill_on_drop: false }` [INFO] [stdout] dfaa189943778dc842b057d4e76e99545e5a82ee346daf9c9f3d2603b549e59e