[INFO] cloning repository https://github.com/thetazero/unciv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thetazero/unciv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthetazero%2Funciv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthetazero%2Funciv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d31aaae986a5bdc15b2a2821d8c5a241da5b29a [INFO] checking thetazero/unciv against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthetazero%2Funciv" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thetazero/unciv on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thetazero/unciv [INFO] finished tweaking git repo https://github.com/thetazero/unciv [INFO] tweaked toml for git repo https://github.com/thetazero/unciv written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thetazero/unciv 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bevy_picking_selection v0.18.0 [INFO] [stderr] Downloaded bevy_picking_input v0.18.0 [INFO] [stderr] Downloaded bevy_dylib v0.13.0 [INFO] [stderr] Downloaded bevy_picking_ui v0.18.0 [INFO] [stderr] Downloaded bevy_picking_raycast v0.18.0 [INFO] [stderr] Downloaded bevy_picking_sprite v0.18.0 [INFO] [stderr] Downloaded bevy_picking_highlight v0.18.0 [INFO] [stderr] Downloaded bevy_picking_core v0.18.0 [INFO] [stderr] Downloaded bevy_mod_raycast v0.17.0 [INFO] [stderr] Downloaded bevy_mod_picking v0.18.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d539579a23a00a2560e178cfed6cced0dd8e63d2905513825847576a50d0808c [INFO] running `Command { std: "docker" "start" "-a" "d539579a23a00a2560e178cfed6cced0dd8e63d2905513825847576a50d0808c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d539579a23a00a2560e178cfed6cced0dd8e63d2905513825847576a50d0808c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d539579a23a00a2560e178cfed6cced0dd8e63d2905513825847576a50d0808c", kill_on_drop: false }` [INFO] [stdout] d539579a23a00a2560e178cfed6cced0dd8e63d2905513825847576a50d0808c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44f0365165257085ab64374905eff0fdcca216c1379a146a70339b30ba87c72e [INFO] running `Command { std: "docker" "start" "-a" "44f0365165257085ab64374905eff0fdcca216c1379a146a70339b30ba87c72e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking event-listener v5.2.0 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Checking event-listener-strategy v0.5.0 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking bevy_ptr v0.13.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking bevy_tasks v0.13.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking libloading v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling wgpu-hal v0.19.3 [INFO] [stderr] Compiling bevy_macro_utils v0.13.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking accesskit v0.12.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling encase_derive_impl v0.7.0 [INFO] [stderr] Compiling wgpu-core v0.19.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling wgpu v0.19.3 [INFO] [stderr] Checking const_soft_float v0.1.4 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking constgebra v0.1.3 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking const_panic v0.2.8 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking ktx2 v0.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking radsort v0.1.0 [INFO] [stderr] Checking euclid v0.22.9 [INFO] [stderr] Checking svg_fmt v0.4.1 [INFO] [stderr] Checking rectangle-pack v0.4.2 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling winit v0.29.13 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking glyph_brush_layout v0.2.3 [INFO] [stderr] Checking grid v0.10.0 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking taffy v0.3.18 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking alsa v0.7.1 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Compiling gilrs v0.10.4 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking sysinfo v0.30.6 [INFO] [stderr] Checking const-fnv1a-hash v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking noise v0.9.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.13.0 [INFO] [stderr] Compiling bevy_reflect_derive v0.13.0 [INFO] [stderr] Compiling bevy_ecs_macros v0.13.0 [INFO] [stderr] Compiling bevy_derive v0.13.0 [INFO] [stderr] Compiling bevy_asset_macros v0.13.0 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Compiling encase_derive v0.7.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking ruzstd v0.5.0 [INFO] [stderr] Compiling bevy_render_macros v0.13.0 [INFO] [stderr] Compiling bevy_encase_derive v0.13.0 [INFO] [stderr] Compiling bevy_eventlistener_derive v0.7.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Compiling bevy_gizmos_macros v0.13.0 [INFO] [stderr] Checking async-fs v2.1.1 [INFO] [stderr] Compiling gltf-derive v1.4.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking glam v0.25.0 [INFO] [stderr] Checking erased-serde v0.4.3 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking gltf-json v1.4.0 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking rodio v0.17.3 [INFO] [stderr] Checking gilrs-core v0.5.10 [INFO] [stderr] Checking bevy_math v0.13.0 [INFO] [stderr] Checking hexasphere v10.0.0 [INFO] [stderr] Checking encase v0.7.0 [INFO] [stderr] Checking bevy_mikktspace v0.13.0 [INFO] [stderr] Checking bevy_utils v0.13.0 [INFO] [stderr] Checking gltf v1.4.0 [INFO] [stderr] Checking bevy_reflect v0.13.0 [INFO] [stderr] Checking polling v3.5.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking bevy_ecs v0.13.0 [INFO] [stderr] Checking accesskit_winit v0.17.0 [INFO] [stderr] Checking naga_oil v0.13.0 [INFO] [stderr] Checking bevy_app v0.13.0 [INFO] [stderr] Checking bevy_log v0.13.0 [INFO] [stderr] Checking bevy_core v0.13.0 [INFO] [stderr] Checking bevy_input v0.13.0 [INFO] [stderr] Checking bevy_a11y v0.13.0 [INFO] [stderr] Checking bevy_time v0.13.0 [INFO] [stderr] Checking bevy_asset v0.13.0 [INFO] [stderr] Checking bevy_hierarchy v0.13.0 [INFO] [stderr] Checking bevy_diagnostic v0.13.0 [INFO] [stderr] Checking bevy_transform v0.13.0 [INFO] [stderr] Checking bevy_eventlistener v0.7.0 [INFO] [stderr] Checking bevy_window v0.13.0 [INFO] [stderr] Checking bevy_gilrs v0.13.0 [INFO] [stderr] Checking bevy_winit v0.13.0 [INFO] [stderr] Checking bevy_audio v0.13.0 [INFO] [stderr] Checking bevy_render v0.13.0 [INFO] [stderr] Checking bevy_core_pipeline v0.13.0 [INFO] [stderr] Checking bevy_picking_core v0.18.0 [INFO] [stderr] Checking bevy_scene v0.13.0 [INFO] [stderr] Checking bevy_animation v0.13.0 [INFO] [stderr] Checking bevy_picking_selection v0.18.0 [INFO] [stderr] Checking bevy_sprite v0.13.0 [INFO] [stderr] Checking bevy_pbr v0.13.0 [INFO] [stderr] Checking bevy_picking_input v0.18.0 [INFO] [stderr] Checking bevy_text v0.13.0 [INFO] [stderr] Checking bevy_picking_sprite v0.18.0 [INFO] [stderr] Checking bevy_ui v0.13.0 [INFO] [stderr] Checking bevy_gizmos v0.13.0 [INFO] [stderr] Checking bevy_gltf v0.13.0 [INFO] [stderr] Checking bevy_picking_highlight v0.18.0 [INFO] [stderr] Checking bevy_picking_ui v0.18.0 [INFO] [stderr] Checking bevy_internal v0.13.0 [INFO] [stderr] Checking bevy_mod_raycast v0.17.0 [INFO] [stderr] Checking bevy_dylib v0.13.0 [INFO] [stderr] Checking bevy v0.13.0 [INFO] [stderr] Checking bevy_picking_raycast v0.18.0 [INFO] [stderr] Checking bevy_mod_picking v0.18.2 [INFO] [stderr] Checking unciv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/actions/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Spawn { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 22 | pub location: utils::Coordinates, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spawn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_material` and `load_mesh` are never used [INFO] [stdout] --> src/building/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 21 | trait BuildingTrait { [INFO] [stdout] | ------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn get_material(&self, building_resources: &Res) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | -> Handle; [INFO] [stdout] 27 | fn load_mesh() -> Mesh; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `capital_material` and `city_material` are never read [INFO] [stdout] --> src/building/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct BuildingResources { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 33 | capital_mesh: Handle, [INFO] [stdout] 34 | capital_material: Handle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | city_mesh: Handle, [INFO] [stdout] 36 | city_material: Handle, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/empire.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Empire { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub id: i32, [INFO] [stdout] 8 | pub color: Handle, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmpireName` is never constructed [INFO] [stdout] --> src/ui/panels.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct EmpireName; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Caravan` is never constructed [INFO] [stdout] --> src/unit/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum UnitKind { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 24 | Settler(settler::Settler), [INFO] [stdout] 25 | Caravan(caravan::Caravan), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnitKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `caravan` is never read [INFO] [stdout] --> src/unit/mod.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct UnitResources { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 42 | pub settler: settler::SettlerResources, [INFO] [stdout] 43 | pub caravan: caravan::CaravanResources, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mesh` is never read [INFO] [stdout] --> src/unit/caravan.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CaravanResources { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 16 | pub mesh: Handle, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacity` is never read [INFO] [stdout] --> src/utils.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Inventory { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 55 | pub items: HashMap, [INFO] [stdout] 56 | pub capacity: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/actions/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Spawn { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 22 | pub location: utils::Coordinates, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spawn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_material` and `load_mesh` are never used [INFO] [stdout] --> src/building/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 21 | trait BuildingTrait { [INFO] [stdout] | ------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn get_material(&self, building_resources: &Res) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | -> Handle; [INFO] [stdout] 27 | fn load_mesh() -> Mesh; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `capital_material` and `city_material` are never read [INFO] [stdout] --> src/building/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct BuildingResources { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 33 | capital_mesh: Handle, [INFO] [stdout] 34 | capital_material: Handle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | city_mesh: Handle, [INFO] [stdout] 36 | city_material: Handle, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/empire.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Empire { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub id: i32, [INFO] [stdout] 8 | pub color: Handle, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmpireName` is never constructed [INFO] [stdout] --> src/ui/panels.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct EmpireName; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Caravan` is never constructed [INFO] [stdout] --> src/unit/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum UnitKind { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 24 | Settler(settler::Settler), [INFO] [stdout] 25 | Caravan(caravan::Caravan), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnitKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `caravan` is never read [INFO] [stdout] --> src/unit/mod.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct UnitResources { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 42 | pub settler: settler::SettlerResources, [INFO] [stdout] 43 | pub caravan: caravan::CaravanResources, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mesh` is never read [INFO] [stdout] --> src/unit/caravan.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CaravanResources { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 16 | pub mesh: Handle, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacity` is never read [INFO] [stdout] --> src/utils.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Inventory { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 55 | pub items: HashMap, [INFO] [stdout] 56 | pub capacity: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "44f0365165257085ab64374905eff0fdcca216c1379a146a70339b30ba87c72e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44f0365165257085ab64374905eff0fdcca216c1379a146a70339b30ba87c72e", kill_on_drop: false }` [INFO] [stdout] 44f0365165257085ab64374905eff0fdcca216c1379a146a70339b30ba87c72e [INFO] checking thetazero/unciv against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthetazero%2Funciv" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thetazero/unciv on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thetazero/unciv [INFO] finished tweaking git repo https://github.com/thetazero/unciv [INFO] tweaked toml for git repo https://github.com/thetazero/unciv written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thetazero/unciv 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fe5063ff9e47125fc67e7b37c57c7ef875feeac33879081fc783fd24765e4e1 [INFO] running `Command { std: "docker" "start" "-a" "0fe5063ff9e47125fc67e7b37c57c7ef875feeac33879081fc783fd24765e4e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fe5063ff9e47125fc67e7b37c57c7ef875feeac33879081fc783fd24765e4e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fe5063ff9e47125fc67e7b37c57c7ef875feeac33879081fc783fd24765e4e1", kill_on_drop: false }` [INFO] [stdout] 0fe5063ff9e47125fc67e7b37c57c7ef875feeac33879081fc783fd24765e4e1 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 813fd9a12c9ff134c329ef880875cfe3e26f90f9e58ccbe63f64d2397768e6be [INFO] running `Command { std: "docker" "start" "-a" "813fd9a12c9ff134c329ef880875cfe3e26f90f9e58ccbe63f64d2397768e6be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking event-listener v5.2.0 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Checking event-listener-strategy v0.5.0 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking bevy_ptr v0.13.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking bevy_tasks v0.13.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling bevy_macro_utils v0.13.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking libloading v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Compiling wgpu-hal v0.19.3 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking accesskit v0.12.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling encase_derive_impl v0.7.0 [INFO] [stderr] Compiling wgpu-core v0.19.3 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling wgpu v0.19.3 [INFO] [stderr] Checking const_soft_float v0.1.4 [INFO] [stderr] Checking constgebra v0.1.3 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking const_panic v0.2.8 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Checking ktx2 v0.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking radsort v0.1.0 [INFO] [stderr] Checking euclid v0.22.9 [INFO] [stderr] Checking svg_fmt v0.4.1 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking rectangle-pack v0.4.2 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling winit v0.29.13 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking grid v0.10.0 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking glyph_brush_layout v0.2.3 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking taffy v0.3.18 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking alsa v0.7.1 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling gilrs v0.10.4 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking sysinfo v0.30.6 [INFO] [stderr] Checking const-fnv1a-hash v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking noise v0.9.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.13.0 [INFO] [stderr] Compiling bevy_reflect_derive v0.13.0 [INFO] [stderr] Compiling bevy_ecs_macros v0.13.0 [INFO] [stderr] Compiling bevy_derive v0.13.0 [INFO] [stderr] Compiling bevy_asset_macros v0.13.0 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Compiling encase_derive v0.7.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking ruzstd v0.5.0 [INFO] [stderr] Compiling bevy_encase_derive v0.13.0 [INFO] [stderr] Compiling bevy_render_macros v0.13.0 [INFO] [stderr] Compiling bevy_eventlistener_derive v0.7.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking async-fs v2.1.1 [INFO] [stderr] Compiling bevy_gizmos_macros v0.13.0 [INFO] [stderr] Compiling gltf-derive v1.4.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking glam v0.25.0 [INFO] [stderr] Checking erased-serde v0.4.3 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking gltf-json v1.4.0 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking gilrs-core v0.5.10 [INFO] [stderr] Checking rodio v0.17.3 [INFO] [stderr] Checking bevy_utils v0.13.0 [INFO] [stderr] Checking bevy_math v0.13.0 [INFO] [stderr] Checking encase v0.7.0 [INFO] [stderr] Checking bevy_mikktspace v0.13.0 [INFO] [stderr] Checking hexasphere v10.0.0 [INFO] [stderr] Checking gltf v1.4.0 [INFO] [stderr] Checking bevy_reflect v0.13.0 [INFO] [stderr] Checking polling v3.5.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking bevy_ecs v0.13.0 [INFO] [stderr] Checking accesskit_winit v0.17.0 [INFO] [stderr] Checking naga_oil v0.13.0 [INFO] [stderr] Checking bevy_app v0.13.0 [INFO] [stderr] Checking bevy_log v0.13.0 [INFO] [stderr] Checking bevy_core v0.13.0 [INFO] [stderr] Checking bevy_input v0.13.0 [INFO] [stderr] Checking bevy_time v0.13.0 [INFO] [stderr] Checking bevy_a11y v0.13.0 [INFO] [stderr] Checking bevy_asset v0.13.0 [INFO] [stderr] Checking bevy_hierarchy v0.13.0 [INFO] [stderr] Checking bevy_diagnostic v0.13.0 [INFO] [stderr] Checking bevy_transform v0.13.0 [INFO] [stderr] Checking bevy_eventlistener v0.7.0 [INFO] [stderr] Checking bevy_window v0.13.0 [INFO] [stderr] Checking bevy_gilrs v0.13.0 [INFO] [stderr] Checking bevy_audio v0.13.0 [INFO] [stderr] Checking bevy_winit v0.13.0 [INFO] [stderr] Checking bevy_render v0.13.0 [INFO] [stderr] Checking bevy_core_pipeline v0.13.0 [INFO] [stderr] Checking bevy_picking_core v0.18.0 [INFO] [stderr] Checking bevy_animation v0.13.0 [INFO] [stderr] Checking bevy_scene v0.13.0 [INFO] [stderr] Checking bevy_picking_selection v0.18.0 [INFO] [stderr] Checking bevy_sprite v0.13.0 [INFO] [stderr] Checking bevy_pbr v0.13.0 [INFO] [stderr] Checking bevy_picking_input v0.18.0 [INFO] [stderr] Checking bevy_text v0.13.0 [INFO] [stderr] Checking bevy_picking_sprite v0.18.0 [INFO] [stderr] Checking bevy_ui v0.13.0 [INFO] [stderr] Checking bevy_gizmos v0.13.0 [INFO] [stderr] Checking bevy_gltf v0.13.0 [INFO] [stderr] Checking bevy_picking_highlight v0.18.0 [INFO] [stderr] Checking bevy_picking_ui v0.18.0 [INFO] [stderr] Checking bevy_internal v0.13.0 [INFO] [stderr] Checking bevy_mod_raycast v0.17.0 [INFO] [stderr] Checking bevy_dylib v0.13.0 [INFO] [stderr] Checking bevy v0.13.0 [INFO] [stderr] Checking bevy_picking_raycast v0.18.0 [INFO] [stderr] Checking bevy_mod_picking v0.18.2 [INFO] [stderr] Checking unciv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/actions/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Spawn { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 22 | pub location: utils::Coordinates, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spawn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_material` and `load_mesh` are never used [INFO] [stdout] --> src/building/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 21 | trait BuildingTrait { [INFO] [stdout] | ------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn get_material(&self, building_resources: &Res) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | -> Handle; [INFO] [stdout] 27 | fn load_mesh() -> Mesh; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `capital_material` and `city_material` are never read [INFO] [stdout] --> src/building/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct BuildingResources { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 33 | capital_mesh: Handle, [INFO] [stdout] 34 | capital_material: Handle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | city_mesh: Handle, [INFO] [stdout] 36 | city_material: Handle, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/empire.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Empire { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub id: i32, [INFO] [stdout] 8 | pub color: Handle, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmpireName` is never constructed [INFO] [stdout] --> src/ui/panels.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct EmpireName; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Caravan` is never constructed [INFO] [stdout] --> src/unit/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum UnitKind { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 24 | Settler(settler::Settler), [INFO] [stdout] 25 | Caravan(caravan::Caravan), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnitKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `caravan` is never read [INFO] [stdout] --> src/unit/mod.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct UnitResources { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 42 | pub settler: settler::SettlerResources, [INFO] [stdout] 43 | pub caravan: caravan::CaravanResources, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mesh` is never read [INFO] [stdout] --> src/unit/caravan.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CaravanResources { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 16 | pub mesh: Handle, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacity` is never read [INFO] [stdout] --> src/utils.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Inventory { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 55 | pub items: HashMap, [INFO] [stdout] 56 | pub capacity: i32, [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/building/mod.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 76 | let scene = match building { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | ..default() [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/tile.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 83 | let desert = materials.add(colors::plastic_material(47., 0.39, 0.39)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let forest = materials.add(colors::plastic_material(0.4 * 360., 0.95, 0.2)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let mountain = materials.add(colors::plastic_material(0.3, 0.1, 0.3)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let snowy_mountain = materials.add(colors::plastic_material(0.3, 0.05, 0.8)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let water = materials.add(colors::plastic_material(200.0, 0.3, 0.5)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let ocean = materials.add(colors::plastic_material(200.0, 0.4, 0.3)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let beach = materials.add(colors::plastic_material(47., 0.29, 0.49)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | [INFO] [stdout] 91 | let square: Handle = meshes.add(Cuboid::new(TILE_SIZE, TILE_SIZE, TILE_SIZE)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | [INFO] [stdout] 93 | let mut empire_colors = HashMap::default(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | / TileResources { [INFO] [stdout] 105 | | materials: TileMaterials { [INFO] [stdout] 106 | | desert, [INFO] [stdout] 107 | | forest, [INFO] [stdout] ... | [INFO] [stdout] 115 | | square, [INFO] [stdout] 116 | | }, [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/tile.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 153 | let material = match tile.owner { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | / MaterialMeshBundle { [INFO] [stdout] 170 | | mesh: tile_resources.square.clone(), [INFO] [stdout] 171 | | material, [INFO] [stdout] 172 | | transform: tile_location, [INFO] [stdout] 173 | | ..default() [INFO] [stdout] 174 | | }, [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/tile.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 153 | let material = match tile.owner { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | On::>::send_event::(), [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/tile.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 153 | let material = match tile.owner { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | On::>::send_event::(), [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/unit/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 57 | let settler = settler::init_resources(asset_server); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let (caravan, meshes) = caravan::init_resources(meshes); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | [INFO] [stdout] 60 | let mut default_materials = Vec::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let mut selected_materials = Vec::new(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | / UnitResources { [INFO] [stdout] 74 | | settler, [INFO] [stdout] 75 | | caravan, [INFO] [stdout] 76 | | default_materials, [INFO] [stdout] 77 | | selected_materials, [INFO] [stdout] 78 | | }, [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/unit/mod.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 97 | let default_material = get_normal_material(&unit, unit_resources); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | / MaterialMeshBundle { [INFO] [stdout] 108 | | mesh: unit_resources.settler.mesh.clone(), [INFO] [stdout] 109 | | material: default_material, [INFO] [stdout] 110 | | transform, [INFO] [stdout] 111 | | ..default() [INFO] [stdout] 112 | | }, [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/unit/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 97 | let default_material = get_normal_material(&unit, unit_resources); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | On::>::send_event::(), [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/unit/caravan.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 27 | let mesh = meshes.add(cube_mesh); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | [INFO] [stdout] 29 | (CaravanResources { mesh }, meshes) [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/world_gen.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 37 | let mut tiles = HashMap::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | tiles.into_iter().map(|(_, tile)| tile).collect() [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 10 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unciv` (bin "unciv") due to 11 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/actions/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Spawn { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 22 | pub location: utils::Coordinates, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spawn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_material` and `load_mesh` are never used [INFO] [stdout] --> src/building/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 21 | trait BuildingTrait { [INFO] [stdout] | ------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn get_material(&self, building_resources: &Res) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | -> Handle; [INFO] [stdout] 27 | fn load_mesh() -> Mesh; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `capital_material` and `city_material` are never read [INFO] [stdout] --> src/building/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct BuildingResources { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 33 | capital_mesh: Handle, [INFO] [stdout] 34 | capital_material: Handle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | city_mesh: Handle, [INFO] [stdout] 36 | city_material: Handle, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/empire.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Empire { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub id: i32, [INFO] [stdout] 8 | pub color: Handle, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmpireName` is never constructed [INFO] [stdout] --> src/ui/panels.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct EmpireName; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Caravan` is never constructed [INFO] [stdout] --> src/unit/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum UnitKind { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 24 | Settler(settler::Settler), [INFO] [stdout] 25 | Caravan(caravan::Caravan), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnitKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `caravan` is never read [INFO] [stdout] --> src/unit/mod.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct UnitResources { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 42 | pub settler: settler::SettlerResources, [INFO] [stdout] 43 | pub caravan: caravan::CaravanResources, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mesh` is never read [INFO] [stdout] --> src/unit/caravan.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CaravanResources { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 16 | pub mesh: Handle, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacity` is never read [INFO] [stdout] --> src/utils.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Inventory { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 55 | pub items: HashMap, [INFO] [stdout] 56 | pub capacity: i32, [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/building/mod.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 76 | let scene = match building { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | ..default() [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/tile.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 83 | let desert = materials.add(colors::plastic_material(47., 0.39, 0.39)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let forest = materials.add(colors::plastic_material(0.4 * 360., 0.95, 0.2)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let mountain = materials.add(colors::plastic_material(0.3, 0.1, 0.3)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let snowy_mountain = materials.add(colors::plastic_material(0.3, 0.05, 0.8)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let water = materials.add(colors::plastic_material(200.0, 0.3, 0.5)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let ocean = materials.add(colors::plastic_material(200.0, 0.4, 0.3)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let beach = materials.add(colors::plastic_material(47., 0.29, 0.49)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | [INFO] [stdout] 91 | let square: Handle = meshes.add(Cuboid::new(TILE_SIZE, TILE_SIZE, TILE_SIZE)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | [INFO] [stdout] 93 | let mut empire_colors = HashMap::default(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | / TileResources { [INFO] [stdout] 105 | | materials: TileMaterials { [INFO] [stdout] 106 | | desert, [INFO] [stdout] 107 | | forest, [INFO] [stdout] ... | [INFO] [stdout] 115 | | square, [INFO] [stdout] 116 | | }, [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/tile.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 153 | let material = match tile.owner { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | / MaterialMeshBundle { [INFO] [stdout] 170 | | mesh: tile_resources.square.clone(), [INFO] [stdout] 171 | | material, [INFO] [stdout] 172 | | transform: tile_location, [INFO] [stdout] 173 | | ..default() [INFO] [stdout] 174 | | }, [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/tile.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 153 | let material = match tile.owner { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | On::>::send_event::(), [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/tile.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 153 | let material = match tile.owner { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | On::>::send_event::(), [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/unit/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 57 | let settler = settler::init_resources(asset_server); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let (caravan, meshes) = caravan::init_resources(meshes); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | [INFO] [stdout] 60 | let mut default_materials = Vec::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let mut selected_materials = Vec::new(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | / UnitResources { [INFO] [stdout] 74 | | settler, [INFO] [stdout] 75 | | caravan, [INFO] [stdout] 76 | | default_materials, [INFO] [stdout] 77 | | selected_materials, [INFO] [stdout] 78 | | }, [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/unit/mod.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 97 | let default_material = get_normal_material(&unit, unit_resources); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | / MaterialMeshBundle { [INFO] [stdout] 108 | | mesh: unit_resources.settler.mesh.clone(), [INFO] [stdout] 109 | | material: default_material, [INFO] [stdout] 110 | | transform, [INFO] [stdout] 111 | | ..default() [INFO] [stdout] 112 | | }, [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/unit/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 97 | let default_material = get_normal_material(&unit, unit_resources); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | On::>::send_event::(), [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/unit/caravan.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 27 | let mesh = meshes.add(cube_mesh); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | [INFO] [stdout] 29 | (CaravanResources { mesh }, meshes) [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/world_gen.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 37 | let mut tiles = HashMap::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | tiles.into_iter().map(|(_, tile)| tile).collect() [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 10 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unciv` (bin "unciv" test) due to 11 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "813fd9a12c9ff134c329ef880875cfe3e26f90f9e58ccbe63f64d2397768e6be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "813fd9a12c9ff134c329ef880875cfe3e26f90f9e58ccbe63f64d2397768e6be", kill_on_drop: false }` [INFO] [stdout] 813fd9a12c9ff134c329ef880875cfe3e26f90f9e58ccbe63f64d2397768e6be