[INFO] cloning repository https://github.com/wbmcglaughlin/farmstead [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wbmcglaughlin/farmstead" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbmcglaughlin%2Ffarmstead", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbmcglaughlin%2Ffarmstead'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95430338c4f22c978677bca78d43f650be45eef7 [INFO] testing wbmcglaughlin/farmstead against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbmcglaughlin%2Ffarmstead" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wbmcglaughlin/farmstead on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wbmcglaughlin/farmstead [INFO] finished tweaking git repo https://github.com/wbmcglaughlin/farmstead [INFO] tweaked toml for git repo https://github.com/wbmcglaughlin/farmstead written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wbmcglaughlin/farmstead 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49578c2a2b9468cacd9e4c682fe4d4fbad456c72499ef4ed537c16719dc14b2a [INFO] running `Command { std: "docker" "start" "-a" "49578c2a2b9468cacd9e4c682fe4d4fbad456c72499ef4ed537c16719dc14b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49578c2a2b9468cacd9e4c682fe4d4fbad456c72499ef4ed537c16719dc14b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49578c2a2b9468cacd9e4c682fe4d4fbad456c72499ef4ed537c16719dc14b2a", kill_on_drop: false }` [INFO] [stdout] 49578c2a2b9468cacd9e4c682fe4d4fbad456c72499ef4ed537c16719dc14b2a [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" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61d545e034630124b560e85b254d3fcf17e26dd5d5ef3c4434d07cb94fc7e15e [INFO] running `Command { std: "docker" "start" "-a" "61d545e034630124b560e85b254d3fcf17e26dd5d5ef3c4434d07cb94fc7e15e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling thiserror v1.0.55 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.31 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling futures-lite v2.1.0 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling async-task v4.6.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling bevy_ptr v0.11.3 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling smol_str v0.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling event-listener v4.0.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling async-lock v3.2.0 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.10 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling pp-rs v0.2.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling bevy_tasks v0.11.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling renderdoc-sys v1.0.0 [INFO] [stderr] Compiling profiling v1.0.13 [INFO] [stderr] Compiling thiserror-core v1.0.50 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling fdeflate v0.3.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling const_soft_float v0.1.4 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling constgebra v0.1.3 [INFO] [stderr] Compiling const_panic v0.2.8 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bevy_macro_utils v0.11.3 [INFO] [stderr] Compiling encase_derive_impl v0.6.1 [INFO] [stderr] Compiling ktx2 v0.3.0 [INFO] [stderr] Compiling radsort v0.1.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling euclid v0.22.9 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.109 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rectangle-pack v0.4.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Compiling accesskit v0.11.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling alsa v0.7.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling gilrs v0.10.4 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling grid v0.10.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling taffy v0.3.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.55 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.11.3 [INFO] [stderr] Compiling bevy_reflect_derive v0.11.3 [INFO] [stderr] Compiling bevy_ecs_macros v0.11.3 [INFO] [stderr] Compiling bevy_derive v0.11.3 [INFO] [stderr] Compiling thiserror-core-impl v1.0.50 [INFO] [stderr] Compiling encase_derive v0.6.1 [INFO] [stderr] Compiling bevy_render_macros v0.11.3 [INFO] [stderr] Compiling bevy_encase_derive v0.11.3 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling gltf-derive v1.4.0 [INFO] [stderr] Compiling noise v0.8.2 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling ruzstd v0.4.0 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling accesskit_winit v0.14.4 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling gilrs-core v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling gltf-json v1.4.0 [INFO] [stderr] Compiling rodio v0.17.3 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling naga_oil v0.8.2 [INFO] [stderr] Compiling bevy_utils v0.11.3 [INFO] [stderr] Compiling bevy_math v0.11.3 [INFO] [stderr] Compiling encase v0.6.1 [INFO] [stderr] Compiling bevy_mikktspace v0.11.3 [INFO] [stderr] Compiling hexasphere v9.1.0 [INFO] [stderr] Compiling bevy_reflect v0.11.3 [INFO] [stderr] Compiling gltf v1.4.0 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling bevy_ecs v0.11.3 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling bevy_app v0.11.3 [INFO] [stderr] Compiling bevy_log v0.11.3 [INFO] [stderr] Compiling bevy_core v0.11.3 [INFO] [stderr] Compiling bevy_time v0.11.3 [INFO] [stderr] Compiling bevy_input v0.11.3 [INFO] [stderr] Compiling bevy_a11y v0.11.3 [INFO] [stderr] Compiling bevy_hierarchy v0.11.3 [INFO] [stderr] Compiling bevy_diagnostic v0.11.3 [INFO] [stderr] Compiling bevy_transform v0.11.3 [INFO] [stderr] Compiling bevy_asset v0.11.3 [INFO] [stderr] Compiling bevy_audio v0.11.3 [INFO] [stderr] Compiling bevy_window v0.11.3 [INFO] [stderr] Compiling bevy_gilrs v0.11.3 [INFO] [stderr] Compiling bevy_render v0.11.3 [INFO] [stderr] Compiling bevy_winit v0.11.3 [INFO] [stderr] Compiling bevy_core_pipeline v0.11.3 [INFO] [stderr] Compiling bevy_animation v0.11.3 [INFO] [stderr] Compiling bevy_scene v0.11.3 [INFO] [stderr] Compiling bevy_sprite v0.11.3 [INFO] [stderr] Compiling bevy_pbr v0.11.3 [INFO] [stderr] Compiling bevy_text v0.11.3 [INFO] [stderr] Compiling bevy_ui v0.11.3 [INFO] [stderr] Compiling bevy_gizmos v0.11.3 [INFO] [stderr] Compiling bevy_gltf v0.11.3 [INFO] [stderr] Compiling bevy_internal v0.11.3 [INFO] [stderr] Compiling bevy v0.11.3 [INFO] [stderr] Compiling bevy_ecs_tilemap v0.11.1 [INFO] [stderr] Compiling farmstead v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entities/click.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | mut tile_entity_mapping: ResMut, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transform` [INFO] [stdout] --> src/entities/hitbox.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | for (hitbox, transform, entity, children) in hitbox_query.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `water_query_tile` [INFO] [stdout] --> src/map/tilemap.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | water_query_tile: Query<&TileStorage, With>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_water_query_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Wheat` is never constructed [INFO] [stdout] --> src/entities/material.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum MaterialType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 3 | Wheat, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaterialType` has derived impls for the traits `Clone` and `Debug`, 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: method `texture_index` is never used [INFO] [stdout] --> src/entities/material.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl MaterialType { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 7 | pub fn texture_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `material_type` is never read [INFO] [stdout] --> src/entities/material.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Material { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | pub material_type: MaterialType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Carrot` is never constructed [INFO] [stdout] --> src/entities/plant.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum PlantType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 8 | Wheat, [INFO] [stdout] 9 | Carrot, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlantType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ptype` and `tile_pos` are never read [INFO] [stdout] --> src/entities/plant.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Plant { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 25 | pub ptype: PlantType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | pub tile_pos: TilePos, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selected` is never read [INFO] [stdout] --> src/entities/player.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 18 | pub selected: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stone` is never constructed [INFO] [stdout] --> src/entities/resource.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ResourceType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 3 | Tree, [INFO] [stdout] 4 | Stone, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Pickaxe` is never constructed [INFO] [stdout] --> src/entities/tool.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ToolType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 5 | Hoe, [INFO] [stdout] 6 | Pickaxe, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tool_type` is never read [INFO] [stdout] --> src/entities/tool.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Tool { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 22 | pub tool_type: ToolType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity` and `material` are never read [INFO] [stdout] --> src/jobs/job.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct EntityJob { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 18 | pub entity: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub material: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityJob` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Entity` is never constructed [INFO] [stdout] --> src/jobs/job.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum JobType { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | Entity(EntityJob), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JobType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tool` is never read [INFO] [stdout] --> src/jobs/job.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Job { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub tool: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_surrounding_index` is never used [INFO] [stdout] --> src/map/indexing.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_surrounding_index(map_size: TilemapSize, index: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_surrounding_empty_index` is never used [INFO] [stdout] --> src/map/indexing.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_surrounding_empty_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_surroudning_filled_index` is never used [INFO] [stdout] --> src/map/indexing.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_surroudning_filled_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xy_i` is never used [INFO] [stdout] --> src/map/indexing.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn xy_i(map_size: &TilemapSize, x: u32, y: u32) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i_xy` is never used [INFO] [stdout] --> src/map/indexing.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn i_xy(map_size: &TilemapSize, i: usize) -> TilePos { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlantTileLayer` is never constructed [INFO] [stdout] --> src/map/tilemap.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct PlantTileLayer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 12s [INFO] running `Command { std: "docker" "inspect" "61d545e034630124b560e85b254d3fcf17e26dd5d5ef3c4434d07cb94fc7e15e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61d545e034630124b560e85b254d3fcf17e26dd5d5ef3c4434d07cb94fc7e15e", kill_on_drop: false }` [INFO] [stdout] 61d545e034630124b560e85b254d3fcf17e26dd5d5ef3c4434d07cb94fc7e15e [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" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 408b89c022a46433f2bf8bad615dc860a6454424d8dad0e4be7fbd81a9985622 [INFO] running `Command { std: "docker" "start" "-a" "408b89c022a46433f2bf8bad615dc860a6454424d8dad0e4be7fbd81a9985622", kill_on_drop: false }` [INFO] [stderr] Compiling farmstead v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entities/click.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | mut tile_entity_mapping: ResMut, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transform` [INFO] [stdout] --> src/entities/hitbox.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | for (hitbox, transform, entity, children) in hitbox_query.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `water_query_tile` [INFO] [stdout] --> src/map/tilemap.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | water_query_tile: Query<&TileStorage, With>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_water_query_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Wheat` is never constructed [INFO] [stdout] --> src/entities/material.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum MaterialType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 3 | Wheat, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaterialType` has derived impls for the traits `Clone` and `Debug`, 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: method `texture_index` is never used [INFO] [stdout] --> src/entities/material.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl MaterialType { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 7 | pub fn texture_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `material_type` is never read [INFO] [stdout] --> src/entities/material.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Material { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | pub material_type: MaterialType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Carrot` is never constructed [INFO] [stdout] --> src/entities/plant.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum PlantType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 8 | Wheat, [INFO] [stdout] 9 | Carrot, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlantType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ptype` and `tile_pos` are never read [INFO] [stdout] --> src/entities/plant.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Plant { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 25 | pub ptype: PlantType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | pub tile_pos: TilePos, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selected` is never read [INFO] [stdout] --> src/entities/player.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 18 | pub selected: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stone` is never constructed [INFO] [stdout] --> src/entities/resource.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ResourceType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 3 | Tree, [INFO] [stdout] 4 | Stone, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Pickaxe` is never constructed [INFO] [stdout] --> src/entities/tool.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ToolType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 5 | Hoe, [INFO] [stdout] 6 | Pickaxe, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tool_type` is never read [INFO] [stdout] --> src/entities/tool.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Tool { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 22 | pub tool_type: ToolType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity` and `material` are never read [INFO] [stdout] --> src/jobs/job.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct EntityJob { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 18 | pub entity: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub material: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityJob` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Entity` is never constructed [INFO] [stdout] --> src/jobs/job.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum JobType { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | Entity(EntityJob), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JobType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tool` is never read [INFO] [stdout] --> src/jobs/job.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Job { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub tool: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_surrounding_index` is never used [INFO] [stdout] --> src/map/indexing.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_surrounding_index(map_size: TilemapSize, index: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_surrounding_empty_index` is never used [INFO] [stdout] --> src/map/indexing.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_surrounding_empty_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_surroudning_filled_index` is never used [INFO] [stdout] --> src/map/indexing.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_surroudning_filled_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xy_i` is never used [INFO] [stdout] --> src/map/indexing.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn xy_i(map_size: &TilemapSize, x: u32, y: u32) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i_xy` is never used [INFO] [stdout] --> src/map/indexing.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn i_xy(map_size: &TilemapSize, i: usize) -> TilePos { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlantTileLayer` is never constructed [INFO] [stdout] --> src/map/tilemap.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct PlantTileLayer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.98s [INFO] running `Command { std: "docker" "inspect" "408b89c022a46433f2bf8bad615dc860a6454424d8dad0e4be7fbd81a9985622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "408b89c022a46433f2bf8bad615dc860a6454424d8dad0e4be7fbd81a9985622", kill_on_drop: false }` [INFO] [stdout] 408b89c022a46433f2bf8bad615dc860a6454424d8dad0e4be7fbd81a9985622 [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" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 56de42dc4442f5f9deec44150aba9858d1526ecf4465344e22a936f0280ac328 [INFO] running `Command { std: "docker" "start" "-a" "56de42dc4442f5f9deec44150aba9858d1526ecf4465344e22a936f0280ac328", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/entities/click.rs:136:5 [INFO] [stderr] | [INFO] [stderr] 136 | mut tile_entity_mapping: ResMut, [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `transform` [INFO] [stderr] --> src/entities/hitbox.rs:39:18 [INFO] [stderr] | [INFO] [stderr] 39 | for (hitbox, transform, entity, children) in hitbox_query.iter() { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `water_query_tile` [INFO] [stderr] --> src/map/tilemap.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 185 | water_query_tile: Query<&TileStorage, With>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_water_query_tile` [INFO] [stderr] [INFO] [stderr] warning: variant `Wheat` is never constructed [INFO] [stderr] --> src/entities/material.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum MaterialType { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] 3 | Wheat, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MaterialType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `texture_index` is never used [INFO] [stderr] --> src/entities/material.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 6 | impl MaterialType { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] 7 | pub fn texture_index(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `material_type` is never read [INFO] [stderr] --> src/entities/material.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Material { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 16 | pub material_type: MaterialType, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Material` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Carrot` is never constructed [INFO] [stderr] --> src/entities/plant.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub enum PlantType { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] 8 | Wheat, [INFO] [stderr] 9 | Carrot, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PlantType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `ptype` and `tile_pos` are never read [INFO] [stderr] --> src/entities/plant.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct Plant { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 25 | pub ptype: PlantType, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 26 | pub tile_pos: TilePos, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `selected` is never read [INFO] [stderr] --> src/entities/player.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Player { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 18 | pub selected: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Stone` is never constructed [INFO] [stderr] --> src/entities/resource.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum ResourceType { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] 3 | Tree, [INFO] [stderr] 4 | Stone, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ResourceType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Pickaxe` is never constructed [INFO] [stderr] --> src/entities/tool.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum ToolType { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] 5 | Hoe, [INFO] [stderr] 6 | Pickaxe, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ToolType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `tool_type` is never read [INFO] [stderr] --> src/entities/tool.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct Tool { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 22 | pub tool_type: ToolType, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Tool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `entity` and `material` are never read [INFO] [stderr] --> src/jobs/job.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct EntityJob { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 18 | pub entity: Entity, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 19 | pub material: Vec, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EntityJob` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Entity` is never constructed [INFO] [stderr] --> src/jobs/job.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 29 | pub enum JobType { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 32 | Entity(EntityJob), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `JobType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `tool` is never read [INFO] [stderr] --> src/jobs/job.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct Job { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 39 | pub tool: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `get_surrounding_index` is never used [INFO] [stderr] --> src/map/indexing.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn get_surrounding_index(map_size: TilemapSize, index: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_surrounding_empty_index` is never used [INFO] [stderr] --> src/map/indexing.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn get_surrounding_empty_index( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_surroudning_filled_index` is never used [INFO] [stderr] --> src/map/indexing.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn get_surroudning_filled_index( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `xy_i` is never used [INFO] [stderr] --> src/map/indexing.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn xy_i(map_size: &TilemapSize, x: u32, y: u32) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `i_xy` is never used [INFO] [stderr] --> src/map/indexing.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn i_xy(map_size: &TilemapSize, i: usize) -> TilePos { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PlantTileLayer` is never constructed [INFO] [stderr] --> src/map/tilemap.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct PlantTileLayer; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `farmstead` (bin "farmstead" test) generated 21 warnings (run `cargo fix --bin "farmstead" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/farmstead-bc1d287844d65c26) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "56de42dc4442f5f9deec44150aba9858d1526ecf4465344e22a936f0280ac328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56de42dc4442f5f9deec44150aba9858d1526ecf4465344e22a936f0280ac328", kill_on_drop: false }` [INFO] [stdout] 56de42dc4442f5f9deec44150aba9858d1526ecf4465344e22a936f0280ac328