[INFO] fetching crate sourcenav 0.2.0... [INFO] checking sourcenav-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate sourcenav 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate sourcenav 0.2.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 sourcenav 0.2.0 [INFO] finished tweaking crates.io crate sourcenav 0.2.0 [INFO] tweaked toml for crates.io crate sourcenav 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding bitbuffer v0.7.1 (latest: v0.11.0) [INFO] [stderr] Adding bitbuffer_derive v0.7.1 (latest: v0.11.0) [INFO] [stderr] Adding err-derive v0.2.4 (latest: v0.3.1) [INFO] [stderr] Adding euclid v0.19.9 (latest: v0.22.11) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.37) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.77) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.5) [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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 96d1333e6a6568b0af33e54dd07e98cd815f42fc4aa1489f70b4431f81e36dce [INFO] running `Command { std: "docker" "start" "-a" "96d1333e6a6568b0af33e54dd07e98cd815f42fc4aa1489f70b4431f81e36dce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96d1333e6a6568b0af33e54dd07e98cd815f42fc4aa1489f70b4431f81e36dce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96d1333e6a6568b0af33e54dd07e98cd815f42fc4aa1489f70b4431f81e36dce", kill_on_drop: false }` [INFO] [stdout] 96d1333e6a6568b0af33e54dd07e98cd815f42fc4aa1489f70b4431f81e36dce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3d9bff64771cb04ba51b9ea3492a953a62f562659e4e96f71fcc48e686ce10dd [INFO] running `Command { std: "docker" "start" "-a" "3d9bff64771cb04ba51b9ea3492a953a62f562659e4e96f71fcc48e686ce10dd", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling syn_util v0.4.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Compiling bitbuffer_derive v0.7.1 [INFO] [stderr] Checking aabb-quadtree v0.2.0 [INFO] [stderr] Checking bitbuffer v0.7.1 [INFO] [stderr] Checking sourcenav v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `location`, and `flags` are never read [INFO] [stdout] --> src/navmesh.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct NavHidingSpot { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 173 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 174 | location: Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 175 | flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NavHidingSpot` 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: fields `approach_here`, `approach_pre`, `approach_type`, `approach_next`, and `approach_how` are never read [INFO] [stdout] --> src/navmesh.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct ApproachArea { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 181 | approach_here: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 182 | approach_pre: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 183 | approach_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 184 | approach_next: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 185 | approach_how: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApproachArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from_area_id`, `from_direction`, `to_area_id`, `to_direction`, and `spots` are never read [INFO] [stdout] --> src/navmesh.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct EncounterPath { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 191 | from_area_id: NavAreaId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 192 | from_direction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 193 | to_area_id: NavAreaId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 194 | to_direction: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 195 | #[size_bits = 8] [INFO] [stdout] 196 | spots: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncounterPath` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `order` and `distance` are never read [INFO] [stdout] --> src/navmesh.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct EncounterSpot { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 201 | order: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 202 | distance: u8, // divide by 255 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncounterSpot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `attributes` are never read [INFO] [stdout] --> src/navmesh.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct VisibleArea { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 217 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 218 | attributes: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VisibleArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NavPlace` is never constructed [INFO] [stdout] --> src/navmesh.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct NavPlace { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NavPlace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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:62:8 [INFO] [stdout] | [INFO] [stdout] 34 | data: impl Into>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let mut tree = QuadTree::default( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(NavQuadTree(tree)) [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: fields `id`, `location`, and `flags` are never read [INFO] [stdout] --> src/navmesh.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct NavHidingSpot { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 173 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 174 | location: Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 175 | flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NavHidingSpot` 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: fields `approach_here`, `approach_pre`, `approach_type`, `approach_next`, and `approach_how` are never read [INFO] [stdout] --> src/navmesh.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct ApproachArea { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 181 | approach_here: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 182 | approach_pre: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 183 | approach_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 184 | approach_next: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 185 | approach_how: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApproachArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from_area_id`, `from_direction`, `to_area_id`, `to_direction`, and `spots` are never read [INFO] [stdout] --> src/navmesh.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct EncounterPath { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 191 | from_area_id: NavAreaId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 192 | from_direction: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 193 | to_area_id: NavAreaId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 194 | to_direction: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 195 | #[size_bits = 8] [INFO] [stdout] 196 | spots: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncounterPath` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `order` and `distance` are never read [INFO] [stdout] --> src/navmesh.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct EncounterSpot { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 201 | order: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 202 | distance: u8, // divide by 255 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncounterSpot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `attributes` are never read [INFO] [stdout] --> src/navmesh.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct VisibleArea { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 217 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 218 | attributes: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VisibleArea` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NavPlace` is never constructed [INFO] [stdout] --> src/navmesh.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct NavPlace { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NavPlace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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:62:8 [INFO] [stdout] | [INFO] [stdout] 34 | data: impl Into>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let mut tree = QuadTree::default( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(NavQuadTree(tree)) [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sourcenav` (lib) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sourcenav` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3d9bff64771cb04ba51b9ea3492a953a62f562659e4e96f71fcc48e686ce10dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d9bff64771cb04ba51b9ea3492a953a62f562659e4e96f71fcc48e686ce10dd", kill_on_drop: false }` [INFO] [stdout] 3d9bff64771cb04ba51b9ea3492a953a62f562659e4e96f71fcc48e686ce10dd