[INFO] cloning repository https://github.com/hearth-rs/simple-place [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hearth-rs/simple-place" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhearth-rs%2Fsimple-place", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhearth-rs%2Fsimple-place'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7103ea65e4b83743cec0a649d530db4ad324d41e [INFO] testing hearth-rs/simple-place against 1.98.0-beta.1 for beta-1.98-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhearth-rs%2Fsimple-place" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hearth-rs/simple-place [INFO] finished tweaking git repo https://github.com/hearth-rs/simple-place [INFO] tweaked toml for git repo https://github.com/hearth-rs/simple-place written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hearth-rs/simple-place on toolchain 1.98.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hearth-rs/simple-place 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b0279d923c6059bcd6854ed3a313413cbcb6323e9986b214626a35732e1f3413 [INFO] running `Command { std: "docker" "start" "b0279d923c6059bcd6854ed3a313413cbcb6323e9986b214626a35732e1f3413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0279d923c6059bcd6854ed3a313413cbcb6323e9986b214626a35732e1f3413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b0279d923c6059bcd6854ed3a313413cbcb6323e9986b214626a35732e1f3413" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0279d923c6059bcd6854ed3a313413cbcb6323e9986b214626a35732e1f3413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b0279d923c6059bcd6854ed3a313413cbcb6323e9986b214626a35732e1f3413" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling unicode-ident v1.0.7 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling ttf-parser v0.18.1 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling raw-window-handle v0.5.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling ash v0.37.2+1.3.238 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling strict-num v0.1.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wgpu-types v0.15.1 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling profiling v1.0.7 [INFO] [stderr] Compiling glow v0.12.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling owned_ttf_parser v0.18.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling ab_glyph v0.2.20 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling type-map v0.5.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.6 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.2 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling bytemuck_derive v1.4.0 [INFO] [stderr] Compiling webbrowser v0.8.7 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling calloop v0.10.5 [INFO] [stderr] Compiling naga v0.11.0 [INFO] [stderr] Compiling ecolor v0.21.0 [INFO] [stderr] Compiling emath v0.21.0 [INFO] [stderr] Compiling tiny-skia-path v0.8.3 [INFO] [stderr] Compiling epaint v0.21.0 [INFO] [stderr] Compiling tiny-skia v0.8.3 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling x11rb-protocol v0.10.0 [INFO] [stderr] Compiling egui v0.21.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling egui_dock v0.4.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde_yaml v0.9.17 [INFO] [stderr] Compiling btreemultimap v0.1.0 [INFO] [stderr] Compiling x11rb v0.10.1 [INFO] [stderr] Compiling arboard v3.2.0 [INFO] [stderr] Compiling wgpu-hal v0.15.2 [INFO] [stderr] Compiling wgpu-core v0.15.1 [INFO] [stderr] Compiling wgpu v0.15.1 [INFO] [stderr] Compiling sctk-adwaita v0.5.3 [INFO] [stderr] Compiling smithay-clipboard v0.6.6 [INFO] [stderr] Compiling egui-wgpu v0.21.0 [INFO] [stderr] Compiling egui-winit v0.21.1 [INFO] [stderr] Compiling simple-place v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Texture` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use wgpu::{Texture, Surface, SurfaceConfiguration, Queue, Device, Instance, Backends, RequestAdapterOptions, PowerPreference, DeviceD... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Result as IOResult` [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{io::Result as IOResult, default::Default}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error as YamlError`, `Value as YamlValue`, and `from_value as yaml_deserialize` [INFO] [stdout] --> src/main.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_yaml::{Value as YamlValue, Error as YamlError, from_value as yaml_deserialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `App` [INFO] [stdout] --> src/ui.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{App}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `Key`, and `Modifiers` [INFO] [stdout] --> src/ui.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use egui::{Modifiers, Key, Event}; [INFO] [stdout] | ^^^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adaptor` [INFO] [stdout] --> src/weftui.rs:42:94 [INFO] [stdout] | [INFO] [stdout] 42 | ... pub fn register_edit_commands(ar: &mut crate::weftui::CommandRegistry, adaptor: fn(&mut AppState)-> &mut $StructNa... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/conf.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / define_conf!{ [INFO] [stdout] 4 | | Conf, [INFO] [stdout] 5 | | look_sensitivity: {f32, "in radians", 1.0}, [INFO] [stdout] 6 | | move_speed: {f32, "in meters per second, obviously", 1.7}, [INFO] [stdout] ... | [INFO] [stdout] 24 | | thumb_width: {f32, "The span a clickable element wants in px", 34.0}, [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `adaptor` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/weftui.rs:42:94 [INFO] [stdout] | [INFO] [stdout] 42 | ... pub fn register_edit_commands(ar: &mut crate::weftui::CommandRegistry, adaptor: fn(&mut AppState)-> &mut $StructNa... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/conf.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / define_conf!{ [INFO] [stdout] 4 | | Conf, [INFO] [stdout] 5 | | look_sensitivity: {f32, "in radians", 1.0}, [INFO] [stdout] 6 | | move_speed: {f32, "in meters per second, obviously", 1.7}, [INFO] [stdout] ... | [INFO] [stdout] 24 | | thumb_width: {f32, "The span a clickable element wants in px", 34.0}, [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `define_conf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture`, `tile_span`, `dimensions`, `tiles_per_row`, and `total_tile_n` are never read [INFO] [stdout] --> src/ui.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Tileset { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | texture: Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | tile_span: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | dimensions: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | tiles_per_row: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | total_tile_n: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tileset` and `preview_tile` are never read [INFO] [stdout] --> src/ui.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 21 | tileset: Rc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | preview_tile: TileIndex, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_event_to_weftui_event` is never used [INFO] [stdout] --> src/weftui.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn key_event_to_weftui_event(k:&Key, m:&Modifiers)-> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLOAT_CONF_DYNAMIC_SCALE` is never used [INFO] [stdout] --> src/weftui.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | const FLOAT_CONF_DYNAMIC_SCALE:f64 = 0.5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLOAT_CONF_DYNAIMC_SCALE_FOR_ZERO` is never used [INFO] [stdout] --> src/weftui.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | const FLOAT_CONF_DYNAIMC_SCALE_FOR_ZERO:f64 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FloatConf` is never constructed [INFO] [stdout] --> src/weftui.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | struct FloatConf{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 36s [INFO] running `Command { std: "docker" "inspect" "b0279d923c6059bcd6854ed3a313413cbcb6323e9986b214626a35732e1f3413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b0279d923c6059bcd6854ed3a313413cbcb6323e9986b214626a35732e1f3413" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling simple-place v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Texture` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use wgpu::{Texture, Surface, SurfaceConfiguration, Queue, Device, Instance, Backends, RequestAdapterOptions, PowerPreference, DeviceD... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Result as IOResult` [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{io::Result as IOResult, default::Default}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error as YamlError`, `Value as YamlValue`, and `from_value as yaml_deserialize` [INFO] [stdout] --> src/main.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_yaml::{Value as YamlValue, Error as YamlError, from_value as yaml_deserialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `App` [INFO] [stdout] --> src/ui.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{App}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `Key`, and `Modifiers` [INFO] [stdout] --> src/ui.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use egui::{Modifiers, Key, Event}; [INFO] [stdout] | ^^^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adaptor` [INFO] [stdout] --> src/weftui.rs:42:94 [INFO] [stdout] | [INFO] [stdout] 42 | ... pub fn register_edit_commands(ar: &mut crate::weftui::CommandRegistry, adaptor: fn(&mut AppState)-> &mut $StructNa... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/conf.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / define_conf!{ [INFO] [stdout] 4 | | Conf, [INFO] [stdout] 5 | | look_sensitivity: {f32, "in radians", 1.0}, [INFO] [stdout] 6 | | move_speed: {f32, "in meters per second, obviously", 1.7}, [INFO] [stdout] ... | [INFO] [stdout] 24 | | thumb_width: {f32, "The span a clickable element wants in px", 34.0}, [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `adaptor` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/weftui.rs:42:94 [INFO] [stdout] | [INFO] [stdout] 42 | ... pub fn register_edit_commands(ar: &mut crate::weftui::CommandRegistry, adaptor: fn(&mut AppState)-> &mut $StructNa... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/conf.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / define_conf!{ [INFO] [stdout] 4 | | Conf, [INFO] [stdout] 5 | | look_sensitivity: {f32, "in radians", 1.0}, [INFO] [stdout] 6 | | move_speed: {f32, "in meters per second, obviously", 1.7}, [INFO] [stdout] ... | [INFO] [stdout] 24 | | thumb_width: {f32, "The span a clickable element wants in px", 34.0}, [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `define_conf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture`, `tile_span`, `dimensions`, `tiles_per_row`, and `total_tile_n` are never read [INFO] [stdout] --> src/ui.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Tileset { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | texture: Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | tile_span: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | dimensions: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | tiles_per_row: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | total_tile_n: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tileset` and `preview_tile` are never read [INFO] [stdout] --> src/ui.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 21 | tileset: Rc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | preview_tile: TileIndex, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_event_to_weftui_event` is never used [INFO] [stdout] --> src/weftui.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn key_event_to_weftui_event(k:&Key, m:&Modifiers)-> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLOAT_CONF_DYNAMIC_SCALE` is never used [INFO] [stdout] --> src/weftui.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | const FLOAT_CONF_DYNAMIC_SCALE:f64 = 0.5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLOAT_CONF_DYNAIMC_SCALE_FOR_ZERO` is never used [INFO] [stdout] --> src/weftui.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | const FLOAT_CONF_DYNAIMC_SCALE_FOR_ZERO:f64 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FloatConf` is never constructed [INFO] [stdout] --> src/weftui.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | struct FloatConf{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.99s [INFO] running `Command { std: "docker" "inspect" "b0279d923c6059bcd6854ed3a313413cbcb6323e9986b214626a35732e1f3413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b0279d923c6059bcd6854ed3a313413cbcb6323e9986b214626a35732e1f3413" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Texture` [INFO] [stderr] --> src/main.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use wgpu::{Texture, Surface, SurfaceConfiguration, Queue, Device, Instance, Backends, RequestAdapterOptions, PowerPreference, DeviceD... [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `io::Result as IOResult` [INFO] [stderr] --> src/main.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | use std::{io::Result as IOResult, default::Default}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error as YamlError`, `Value as YamlValue`, and `from_value as yaml_deserialize` [INFO] [stderr] --> src/main.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | use serde_yaml::{Value as YamlValue, Error as YamlError, from_value as yaml_deserialize}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `App` [INFO] [stderr] --> src/ui.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{App}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Event`, `Key`, and `Modifiers` [INFO] [stderr] --> src/ui.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | use egui::{Modifiers, Key, Event}; [INFO] [stderr] | ^^^^^^^^^ ^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `adaptor` [INFO] [stderr] --> src/weftui.rs:42:94 [INFO] [stderr] | [INFO] [stderr] 42 | ... pub fn register_edit_commands(ar: &mut crate::weftui::CommandRegistry, adaptor: fn(&mut AppState)-> &mut $StructNa... [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/conf.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / define_conf!{ [INFO] [stderr] 4 | | Conf, [INFO] [stderr] 5 | | look_sensitivity: {f32, "in radians", 1.0}, [INFO] [stderr] 6 | | move_speed: {f32, "in meters per second, obviously", 1.7}, [INFO] [stderr] ... | [INFO] [stderr] 24 | | thumb_width: {f32, "The span a clickable element wants in px", 34.0}, [INFO] [stderr] 25 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] help: `adaptor` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/weftui.rs:42:94 [INFO] [stderr] | [INFO] [stderr] 42 | ... pub fn register_edit_commands(ar: &mut crate::weftui::CommandRegistry, adaptor: fn(&mut AppState)-> &mut $StructNa... [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/conf.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / define_conf!{ [INFO] [stderr] 4 | | Conf, [INFO] [stderr] 5 | | look_sensitivity: {f32, "in radians", 1.0}, [INFO] [stderr] 6 | | move_speed: {f32, "in meters per second, obviously", 1.7}, [INFO] [stderr] ... | [INFO] [stderr] 24 | | thumb_width: {f32, "The span a clickable element wants in px", 34.0}, [INFO] [stderr] 25 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `define_conf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `texture`, `tile_span`, `dimensions`, `tiles_per_row`, and `total_tile_n` are never read [INFO] [stderr] --> src/ui.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Tileset { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 10 | texture: Texture, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 11 | tile_span: usize, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 12 | dimensions: (usize, usize), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 13 | tiles_per_row: usize, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 14 | total_tile_n: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `tileset` and `preview_tile` are never read [INFO] [stderr] --> src/ui.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct Material { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 21 | tileset: Rc, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 22 | preview_tile: TileIndex, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `key_event_to_weftui_event` is never used [INFO] [stderr] --> src/weftui.rs:66:4 [INFO] [stderr] | [INFO] [stderr] 66 | fn key_event_to_weftui_event(k:&Key, m:&Modifiers)-> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `FLOAT_CONF_DYNAMIC_SCALE` is never used [INFO] [stderr] --> src/weftui.rs:78:7 [INFO] [stderr] | [INFO] [stderr] 78 | const FLOAT_CONF_DYNAMIC_SCALE:f64 = 0.5; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `FLOAT_CONF_DYNAIMC_SCALE_FOR_ZERO` is never used [INFO] [stderr] --> src/weftui.rs:79:7 [INFO] [stderr] | [INFO] [stderr] 79 | const FLOAT_CONF_DYNAIMC_SCALE_FOR_ZERO:f64 = 1.0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FloatConf` is never constructed [INFO] [stderr] --> src/weftui.rs:81:8 [INFO] [stderr] | [INFO] [stderr] 81 | struct FloatConf{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `simple-place` (bin "simple-place" test) generated 12 warnings (run `cargo fix --bin "simple-place" -p simple-place --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/simple_place-f689612b7c8e8c96) [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" "b0279d923c6059bcd6854ed3a313413cbcb6323e9986b214626a35732e1f3413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0279d923c6059bcd6854ed3a313413cbcb6323e9986b214626a35732e1f3413", kill_on_drop: false }` [INFO] [stdout] b0279d923c6059bcd6854ed3a313413cbcb6323e9986b214626a35732e1f3413