[INFO] fetching crate thyme 0.6.0... [INFO] testing thyme-0.6.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate thyme 0.6.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate thyme 0.6.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate thyme 0.6.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate thyme 0.6.0 [INFO] tweaked toml for crates.io crate thyme 0.6.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate thyme 0.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99d7c7f98f88efb6f298157681066a43ae452c873cd3d78b8a2ffb68a79d5995 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "99d7c7f98f88efb6f298157681066a43ae452c873cd3d78b8a2ffb68a79d5995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99d7c7f98f88efb6f298157681066a43ae452c873cd3d78b8a2ffb68a79d5995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99d7c7f98f88efb6f298157681066a43ae452c873cd3d78b8a2ffb68a79d5995", kill_on_drop: false }` [INFO] [stdout] 99d7c7f98f88efb6f298157681066a43ae452c873cd3d78b8a2ffb68a79d5995 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 140ac49e343dfc86110219224611d58efdfb7f97f74096a1c3120b2f0975c888 [INFO] running `Command { std: "docker" "start" "-a" "140ac49e343dfc86110219224611d58efdfb7f97f74096a1c3120b2f0975c888", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-cursor v0.28.5 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling erased-serde v0.3.13 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling thyme v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Context`, `Frame`, `WinitIo` [INFO] [stdout] --> src/app_builder.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Error, Point, ContextBuilder, Context, WinitIo, Frame}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resource.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | Ok(Box::new(Deserializer::erase(result))) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | Ok(Box::new(::erase(result))) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_resources` [INFO] [stdout] --> src/app_builder.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | fn register_resources(&self, context_builder: &mut ContextBuilder) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_files` [INFO] [stdout] --> src/app_builder.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn get_files(&self, base: PathBuf, extensions: &[&str]) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_path` [INFO] [stdout] --> src/app_builder.rs:485:4 [INFO] [stdout] | [INFO] [stdout] 485 | fn add_path(path: PathBuf, out: &mut Vec<(String, PathBuf)>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `expanded` [INFO] [stdout] --> src/context.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub expanded: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PersistentStateData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/context.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top_rend_group` [INFO] [stdout] --> src/context.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | pub(crate) fn top_rend_group(&self) -> RendGroup { self.top_rend_group } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_set_rend_group_top` [INFO] [stdout] --> src/context.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) fn check_set_rend_group_top(&mut self, groups: &[RendGroupDef]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_time_millis_for` [INFO] [stdout] --> src/context.rs:207:19 [INFO] [stdout] | [INFO] [stdout] 207 | pub(crate) fn base_time_millis_for(&self, id: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_frame` [INFO] [stdout] --> src/context.rs:276:19 [INFO] [stdout] | [INFO] [stdout] 276 | pub(crate) fn next_frame(&mut self, mouse_taken: Option<(String, RendGroup)>, mouse_in_rend_group: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prevent_close` [INFO] [stdout] --> src/context.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | pub(crate) prevent_close: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `font` [INFO] [stdout] --> src/font.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) font: rusttype::Font<'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/font.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) fn new(handle: FontHandle, characters: FxHashMap, line_height: f32, ascent: f32) -> Font { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/font.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FontTextureOut` [INFO] [stdout] --> src/font.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 316 | pub(crate) struct FontTextureOut { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FontTextureWriter` [INFO] [stdout] --> src/font.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 323 | pub(crate) struct FontTextureWriter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/font.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn new(font: &'a rusttype::Font<'a>, ranges: &[CharacterRange], size: f32, scale: f32) -> FontTextureWriter<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUDGE_FACTOR` [INFO] [stdout] --> src/font.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | const FUDGE_FACTOR: f32 = 1.2; // factor for characters with tails and wider than usual characters [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/font.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn write(mut self, handle: FontHandle, ranges: &[CharacterRange]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_char` [INFO] [stdout] --> src/font.rs:405:8 [INFO] [stdout] | [INFO] [stdout] 405 | fn add_char( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mouse_cursor` [INFO] [stdout] --> src/frame.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn mouse_cursor(&self) -> Option<(ImageHandle, Align, AnimState)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `finish_frame` [INFO] [stdout] --> src/frame.rs:623:19 [INFO] [stdout] | [INFO] [stdout] 623 | pub(crate) fn finish_frame(self) -> (Context, Vec, Vec, HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/frame.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 665 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RendGroupDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/frame.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `group` [INFO] [stdout] --> src/frame.rs:666:5 [INFO] [stdout] | [INFO] [stdout] 666 | group: RendGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RendGroupDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/frame.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start` [INFO] [stdout] --> src/frame.rs:667:5 [INFO] [stdout] | [INFO] [stdout] 667 | start: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RendGroupDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/frame.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `always_top` [INFO] [stdout] --> src/frame.rs:669:5 [INFO] [stdout] | [INFO] [stdout] 669 | always_top: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RendGroupDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/frame.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/frame.rs:673:19 [INFO] [stdout] | [INFO] [stdout] 673 | pub(crate) fn iter<'a, 'b>(&'a self, widgets: &'b [Widget]) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `id` [INFO] [stdout] --> src/frame.rs:678:19 [INFO] [stdout] | [INFO] [stdout] 678 | pub(crate) fn id(&self) -> &str { &self.id } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `group` [INFO] [stdout] --> src/frame.rs:679:19 [INFO] [stdout] | [INFO] [stdout] 679 | pub(crate) fn group(&self) -> RendGroup { self.group } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `image` [INFO] [stdout] --> src/image.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | image: Image, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SubImage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pos` [INFO] [stdout] --> src/image.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pos: Point, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SubImage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/image.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | size: Point, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SubImage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sub_images` [INFO] [stdout] --> src/image.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | sub_images: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tex_coords` [INFO] [stdout] --> src/image.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | tex_coords: [[TexCoord; 4]; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `grid_size` [INFO] [stdout] --> src/image.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | grid_size: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tex_coords` [INFO] [stdout] --> src/image.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | tex_coords: [[TexCoord; 4]; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `grid_size` [INFO] [stdout] --> src/image.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | grid_size: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tex_coords` [INFO] [stdout] --> src/image.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | tex_coords: [[TexCoord; 2]; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `grid_size` [INFO] [stdout] --> src/image.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | grid_size: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tex_coords` [INFO] [stdout] --> src/image.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | tex_coords: [TexCoord; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `base_size` [INFO] [stdout] --> src/image.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | base_size: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fill` [INFO] [stdout] --> src/image.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | fill: ImageFill, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frame_time_millis` [INFO] [stdout] --> src/image.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | frame_time_millis: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frames` [INFO] [stdout] --> src/image.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | frames: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `once` [INFO] [stdout] --> src/image.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | once: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `states` [INFO] [stdout] --> src/image.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | states: Vec<(AnimState, Image)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ImageDrawParams` [INFO] [stdout] --> src/image.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) struct ImageDrawParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture` [INFO] [stdout] --> src/image.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | texture: TextureHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Image` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> src/image.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | color: Color, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Image` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/image.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | kind: ImageKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Image` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `texture` [INFO] [stdout] --> src/image.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn texture(&self) -> TextureHandle { self.texture } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/image.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_animated` [INFO] [stdout] --> src/image.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 346 | fn draw_animated( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_solid` [INFO] [stdout] --> src/image.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | fn draw_solid( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_simple` [INFO] [stdout] --> src/image.rs:376:8 [INFO] [stdout] | [INFO] [stdout] 376 | fn draw_simple( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_composed_horizontal` [INFO] [stdout] --> src/image.rs:393:8 [INFO] [stdout] | [INFO] [stdout] 393 | fn draw_composed_horizontal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_composed_vertical` [INFO] [stdout] --> src/image.rs:429:8 [INFO] [stdout] | [INFO] [stdout] 429 | fn draw_composed_vertical( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_composed` [INFO] [stdout] --> src/image.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 465 | fn draw_composed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `view_matrix` [INFO] [stdout] --> src/render.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn view_matrix(display_pos: Point, display_size: Point) -> [[f32; 4]; 4] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Image` [INFO] [stdout] --> src/render.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Image(TextureHandle), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DrawMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/render.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Copy, Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Font` [INFO] [stdout] --> src/render.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Font(FontHandle), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DrawMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/render.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Copy, Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 14s [INFO] running `Command { std: "docker" "inspect" "140ac49e343dfc86110219224611d58efdfb7f97f74096a1c3120b2f0975c888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "140ac49e343dfc86110219224611d58efdfb7f97f74096a1c3120b2f0975c888", kill_on_drop: false }` [INFO] [stdout] 140ac49e343dfc86110219224611d58efdfb7f97f74096a1c3120b2f0975c888 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a51328da7f84b70e1a95c24b711789d55949b4c7bb623d9398384098482044c0 [INFO] running `Command { std: "docker" "start" "-a" "a51328da7f84b70e1a95c24b711789d55949b4c7bb623d9398384098482044c0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused imports: `Context`, `Frame`, `WinitIo` [INFO] [stdout] --> src/app_builder.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Error, Point, ContextBuilder, Context, WinitIo, Frame}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resource.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | Ok(Box::new(Deserializer::erase(result))) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | Ok(Box::new(::erase(result))) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_resources` [INFO] [stdout] --> src/app_builder.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | fn register_resources(&self, context_builder: &mut ContextBuilder) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_files` [INFO] [stdout] --> src/app_builder.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn get_files(&self, base: PathBuf, extensions: &[&str]) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_path` [INFO] [stdout] --> src/app_builder.rs:485:4 [INFO] [stdout] | [INFO] [stdout] 485 | fn add_path(path: PathBuf, out: &mut Vec<(String, PathBuf)>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `expanded` [INFO] [stdout] --> src/context.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub expanded: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PersistentStateData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/context.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top_rend_group` [INFO] [stdout] --> src/context.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | pub(crate) fn top_rend_group(&self) -> RendGroup { self.top_rend_group } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_set_rend_group_top` [INFO] [stdout] --> src/context.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) fn check_set_rend_group_top(&mut self, groups: &[RendGroupDef]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_time_millis_for` [INFO] [stdout] --> src/context.rs:207:19 [INFO] [stdout] | [INFO] [stdout] 207 | pub(crate) fn base_time_millis_for(&self, id: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_frame` [INFO] [stdout] --> src/context.rs:276:19 [INFO] [stdout] | [INFO] [stdout] 276 | pub(crate) fn next_frame(&mut self, mouse_taken: Option<(String, RendGroup)>, mouse_in_rend_group: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prevent_close` [INFO] [stdout] --> src/context.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | pub(crate) prevent_close: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `font` [INFO] [stdout] --> src/font.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) font: rusttype::Font<'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/font.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) fn new(handle: FontHandle, characters: FxHashMap, line_height: f32, ascent: f32) -> Font { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/font.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FontTextureOut` [INFO] [stdout] --> src/font.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 316 | pub(crate) struct FontTextureOut { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FontTextureWriter` [INFO] [stdout] --> src/font.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 323 | pub(crate) struct FontTextureWriter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/font.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn new(font: &'a rusttype::Font<'a>, ranges: &[CharacterRange], size: f32, scale: f32) -> FontTextureWriter<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUDGE_FACTOR` [INFO] [stdout] --> src/font.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | const FUDGE_FACTOR: f32 = 1.2; // factor for characters with tails and wider than usual characters [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/font.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn write(mut self, handle: FontHandle, ranges: &[CharacterRange]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_char` [INFO] [stdout] --> src/font.rs:405:8 [INFO] [stdout] | [INFO] [stdout] 405 | fn add_char( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mouse_cursor` [INFO] [stdout] --> src/frame.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn mouse_cursor(&self) -> Option<(ImageHandle, Align, AnimState)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `finish_frame` [INFO] [stdout] --> src/frame.rs:623:19 [INFO] [stdout] | [INFO] [stdout] 623 | pub(crate) fn finish_frame(self) -> (Context, Vec, Vec, HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/frame.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 665 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RendGroupDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/frame.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `group` [INFO] [stdout] --> src/frame.rs:666:5 [INFO] [stdout] | [INFO] [stdout] 666 | group: RendGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RendGroupDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/frame.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start` [INFO] [stdout] --> src/frame.rs:667:5 [INFO] [stdout] | [INFO] [stdout] 667 | start: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RendGroupDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/frame.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `always_top` [INFO] [stdout] --> src/frame.rs:669:5 [INFO] [stdout] | [INFO] [stdout] 669 | always_top: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RendGroupDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/frame.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/frame.rs:673:19 [INFO] [stdout] | [INFO] [stdout] 673 | pub(crate) fn iter<'a, 'b>(&'a self, widgets: &'b [Widget]) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `id` [INFO] [stdout] --> src/frame.rs:678:19 [INFO] [stdout] | [INFO] [stdout] 678 | pub(crate) fn id(&self) -> &str { &self.id } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `group` [INFO] [stdout] --> src/frame.rs:679:19 [INFO] [stdout] | [INFO] [stdout] 679 | pub(crate) fn group(&self) -> RendGroup { self.group } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `image` [INFO] [stdout] --> src/image.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | image: Image, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SubImage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pos` [INFO] [stdout] --> src/image.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pos: Point, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SubImage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/image.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | size: Point, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SubImage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sub_images` [INFO] [stdout] --> src/image.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | sub_images: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tex_coords` [INFO] [stdout] --> src/image.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | tex_coords: [[TexCoord; 4]; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `grid_size` [INFO] [stdout] --> src/image.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | grid_size: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tex_coords` [INFO] [stdout] --> src/image.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | tex_coords: [[TexCoord; 4]; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `grid_size` [INFO] [stdout] --> src/image.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | grid_size: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tex_coords` [INFO] [stdout] --> src/image.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | tex_coords: [[TexCoord; 2]; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `grid_size` [INFO] [stdout] --> src/image.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | grid_size: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tex_coords` [INFO] [stdout] --> src/image.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | tex_coords: [TexCoord; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `base_size` [INFO] [stdout] --> src/image.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | base_size: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fill` [INFO] [stdout] --> src/image.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | fill: ImageFill, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frame_time_millis` [INFO] [stdout] --> src/image.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | frame_time_millis: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frames` [INFO] [stdout] --> src/image.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | frames: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `once` [INFO] [stdout] --> src/image.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | once: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `states` [INFO] [stdout] --> src/image.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | states: Vec<(AnimState, Image)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ImageDrawParams` [INFO] [stdout] --> src/image.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) struct ImageDrawParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture` [INFO] [stdout] --> src/image.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | texture: TextureHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Image` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> src/image.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | color: Color, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Image` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/image.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | kind: ImageKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Image` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thyme v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `texture` [INFO] [stdout] --> src/image.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn texture(&self) -> TextureHandle { self.texture } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/image.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_animated` [INFO] [stdout] --> src/image.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 346 | fn draw_animated( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_solid` [INFO] [stdout] --> src/image.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | fn draw_solid( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_simple` [INFO] [stdout] --> src/image.rs:376:8 [INFO] [stdout] | [INFO] [stdout] 376 | fn draw_simple( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_composed_horizontal` [INFO] [stdout] --> src/image.rs:393:8 [INFO] [stdout] | [INFO] [stdout] 393 | fn draw_composed_horizontal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_composed_vertical` [INFO] [stdout] --> src/image.rs:429:8 [INFO] [stdout] | [INFO] [stdout] 429 | fn draw_composed_vertical( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_composed` [INFO] [stdout] --> src/image.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 465 | fn draw_composed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `view_matrix` [INFO] [stdout] --> src/render.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn view_matrix(display_pos: Point, display_size: Point) -> [[f32; 4]; 4] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Image` [INFO] [stdout] --> src/render.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Image(TextureHandle), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DrawMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/render.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Copy, Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Font` [INFO] [stdout] --> src/render.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Font(FontHandle), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DrawMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/render.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Copy, Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glutin` [INFO] [stdout] --> examples/demo_gl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glutin::event::{Event, WindowEvent}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glutin` [INFO] [stdout] --> examples/demo_gl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use glutin::event_loop::ControlFlow; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glutin` [INFO] [stdout] --> examples/demo_gl.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | .with_gl(glutin::GlRequest::Specific( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glutin` [INFO] [stdout] --> examples/demo_gl.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | glutin::Api::OpenGl, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gl` [INFO] [stdout] --> examples/demo_gl.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | gl::load_with(|ptr| gl_context.get_proc_address(ptr) as *const _) [INFO] [stdout] | ^^ use of undeclared crate or module `gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gl` [INFO] [stdout] --> examples/demo_gl.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { gl::DebugMessageCallback(Some(debug_callback), std::ptr::null()) }; [INFO] [stdout] | ^^ use of undeclared crate or module `gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `GLRenderer` in `thyme` [INFO] [stdout] --> examples/demo_gl.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | let mut renderer = thyme::GLRenderer::new(); [INFO] [stdout] | ^^^^^^^^^^ could not find `GLRenderer` in `thyme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/demo_gl.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Event::MainEventsCleared => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/demo_gl.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | Event::RedrawRequested(_) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/demo_gl.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/demo_gl.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | event: WindowEvent::CloseRequested, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/demo_gl.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | } => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gl` [INFO] [stdout] --> examples/demo_gl.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | _: gl::types::GLenum, [INFO] [stdout] | ^^ use of undeclared crate or module `gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gl` [INFO] [stdout] --> examples/demo_gl.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | err_type: gl::types::GLenum, [INFO] [stdout] | ^^ use of undeclared crate or module `gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gl` [INFO] [stdout] --> examples/demo_gl.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | id: gl::types::GLuint, [INFO] [stdout] | ^^ use of undeclared crate or module `gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gl` [INFO] [stdout] --> examples/demo_gl.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | severity: gl::types::GLenum, [INFO] [stdout] | ^^ use of undeclared crate or module `gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gl` [INFO] [stdout] --> examples/demo_gl.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | _: gl::types::GLsizei, [INFO] [stdout] | ^^ use of undeclared crate or module `gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gl` [INFO] [stdout] --> examples/demo_gl.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | gl::DEBUG_TYPE_ERROR | gl::DEBUG_TYPE_UNDEFINED_BEHAVIOR => unsafe { [INFO] [stdout] | ^^ use of undeclared crate or module `gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gl` [INFO] [stdout] --> examples/demo_gl.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | gl::DEBUG_TYPE_ERROR | gl::DEBUG_TYPE_UNDEFINED_BEHAVIOR => unsafe { [INFO] [stdout] | ^^ use of undeclared crate or module `gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glutin` [INFO] [stdout] --> examples/demo_gl.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | let event_loop = glutin::event_loop::EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in `glutin::event_loop` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glutin` [INFO] [stdout] --> examples/demo_gl.rs:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | let window_builder = glutin::window::WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glutin::window` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use thyme::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glutin` [INFO] [stdout] --> examples/demo_gl.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | .with_inner_size(glutin::dpi::LogicalSize::new(1280.0, 720.0)); [INFO] [stdout] | ^^^^^^^^^^^ not found in `glutin::dpi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use winit::dpi::LogicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glutin` [INFO] [stdout] --> examples/demo_gl.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | let windowed_context = glutin::ContextBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use thyme::ContextBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/demo_gl.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | *control_flow = ControlFlow::WaitUntil(last_frame + frame_time); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::ControlFlow; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::ControlFlow; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event_loop::ControlFlow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `build_wgpu` found for struct `AppBuilder` in the current scope [INFO] [stdout] --> examples/hello_wgpu.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | .build_wgpu()?; [INFO] [stdout] | ^^^^^^^^^^ method not found in `AppBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `build_glium` found for struct `AppBuilder` in the current scope [INFO] [stdout] --> examples/hello_glium.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | .build_glium()?; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `AppBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/hello_wgpu.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() -> Result<(), Box> { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/hello_glium.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() -> Result<(), Box> { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thyme` due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | let instance = wgpu::Instance::new(wgpu::BackendBit::PRIMARY); [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | let instance = wgpu::Instance::new(wgpu::BackendBit::PRIMARY); [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> examples/demo_wgpu.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | let (_adapter, device, queue) = futures::executor::block_on(setup_wgpu(&instance, &surface)); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WgpuRenderer` in `thyme` [INFO] [stdout] --> examples/demo_wgpu.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | let mut renderer = thyme::WgpuRenderer::new(Arc::clone(&device), Arc::clone(&queue)); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `WgpuRenderer` in `thyme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:63:62 [INFO] [stdout] | [INFO] [stdout] 63 | let mut encoder = device.create_command_encoder(&wgpu::CommandEncoderDescriptor { label: None }); [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:76:74 [INFO] [stdout] | [INFO] [stdout] 76 | let mut render_pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:78:50 [INFO] [stdout] | [INFO] [stdout] 78 | ... color_attachments: &[wgpu::RenderPassColorAttachmentDescriptor { [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | ... ops: wgpu::Operations { [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thyme` due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:82:43 [INFO] [stdout] | [INFO] [stdout] 82 | ... load: wgpu::LoadOp::Clear(wgpu::Color { r: 0.5, g: 0.5, b: 0.5, a: 1.0 }), [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:82:63 [INFO] [stdout] | [INFO] [stdout] 82 | ... load: wgpu::LoadOp::Clear(wgpu::Color { r: 0.5, g: 0.5, b: 0.5, a: 1.0 }), [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | instance: &wgpu::Instance, [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:113:15 [INFO] [stdout] | [INFO] [stdout] 113 | surface: &wgpu::Surface [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | ) -> (wgpu::Adapter, Arc, Arc) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:114:26 [INFO] [stdout] | [INFO] [stdout] 114 | ) -> (wgpu::Adapter, Arc, Arc) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:114:45 [INFO] [stdout] | [INFO] [stdout] 114 | ) -> (wgpu::Adapter, Arc, Arc) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | let adapter = instance.request_adapter(&wgpu::RequestAdapterOptions { [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | power_preference: wgpu::PowerPreference::LowPower, [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | &wgpu::DeviceDescriptor { [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | features: wgpu::Features::empty(), [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | limits: wgpu::Limits::default(), [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:134:47 [INFO] [stdout] | [INFO] [stdout] 134 | fn swapchain_desc(width: u32, height: u32) -> wgpu::SwapChainDescriptor { [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | wgpu::SwapChainDescriptor { [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | usage: wgpu::TextureUsage::RENDER_ATTACHMENT, [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | format: wgpu::TextureFormat::Bgra8Unorm, [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | present_mode: wgpu::PresentMode::Mailbox, [INFO] [stdout] | ^^^^ use of undeclared crate or module `wgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thyme` due to 25 previous errors [INFO] [stdout] error[E0599]: no method named `submit` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> examples/demo_wgpu.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | queue.submit(Some(encoder.finish())); [INFO] [stdout] | ^^^^^^ method not found in `Arc<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thyme` due to 27 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glium` [INFO] [stdout] --> examples/demo_glium.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use glium::glutin::{window::WindowBuilder}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `glium` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium` [INFO] [stdout] --> examples/demo_glium.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use glium::{Display, Surface}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `glium` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `GliumRenderer` in `thyme` [INFO] [stdout] --> examples/demo_glium.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | let mut renderer = thyme::GliumRenderer::new(&display)?; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `GliumRenderer` in `thyme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/demo_glium.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let builder = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use thyme::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glium` [INFO] [stdout] --> examples/demo_glium.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | .with_inner_size(glium::glutin::dpi::LogicalSize::new(window_size[0], window_size[1])); [INFO] [stdout] | ^^^^^^^^^^^ not found in `glium::glutin::dpi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use winit::dpi::LogicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glium` [INFO] [stdout] --> examples/demo_glium.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | let context = glium::glutin::ContextBuilder::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use thyme::ContextBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thyme` due to 7 previous errors [INFO] [stdout] warning: unused imports: `Context`, `Frame`, `WinitIo` [INFO] [stdout] --> src/app_builder.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Error, Point, ContextBuilder, Context, WinitIo, Frame}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resource.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | Ok(Box::new(Deserializer::erase(result))) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | Ok(Box::new(::erase(result))) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_resources` [INFO] [stdout] --> src/app_builder.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | fn register_resources(&self, context_builder: &mut ContextBuilder) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_files` [INFO] [stdout] --> src/app_builder.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn get_files(&self, base: PathBuf, extensions: &[&str]) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_path` [INFO] [stdout] --> src/app_builder.rs:485:4 [INFO] [stdout] | [INFO] [stdout] 485 | fn add_path(path: PathBuf, out: &mut Vec<(String, PathBuf)>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `expanded` [INFO] [stdout] --> src/context.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub expanded: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PersistentStateData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/context.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top_rend_group` [INFO] [stdout] --> src/context.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | pub(crate) fn top_rend_group(&self) -> RendGroup { self.top_rend_group } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_set_rend_group_top` [INFO] [stdout] --> src/context.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) fn check_set_rend_group_top(&mut self, groups: &[RendGroupDef]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_time_millis_for` [INFO] [stdout] --> src/context.rs:207:19 [INFO] [stdout] | [INFO] [stdout] 207 | pub(crate) fn base_time_millis_for(&self, id: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_frame` [INFO] [stdout] --> src/context.rs:276:19 [INFO] [stdout] | [INFO] [stdout] 276 | pub(crate) fn next_frame(&mut self, mouse_taken: Option<(String, RendGroup)>, mouse_in_rend_group: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prevent_close` [INFO] [stdout] --> src/context.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | pub(crate) prevent_close: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `font` [INFO] [stdout] --> src/font.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) font: rusttype::Font<'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/font.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) fn new(handle: FontHandle, characters: FxHashMap, line_height: f32, ascent: f32) -> Font { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/font.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FontTextureOut` [INFO] [stdout] --> src/font.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 316 | pub(crate) struct FontTextureOut { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FontTextureWriter` [INFO] [stdout] --> src/font.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 323 | pub(crate) struct FontTextureWriter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/font.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn new(font: &'a rusttype::Font<'a>, ranges: &[CharacterRange], size: f32, scale: f32) -> FontTextureWriter<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUDGE_FACTOR` [INFO] [stdout] --> src/font.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | const FUDGE_FACTOR: f32 = 1.2; // factor for characters with tails and wider than usual characters [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/font.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn write(mut self, handle: FontHandle, ranges: &[CharacterRange]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_char` [INFO] [stdout] --> src/font.rs:405:8 [INFO] [stdout] | [INFO] [stdout] 405 | fn add_char( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mouse_cursor` [INFO] [stdout] --> src/frame.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn mouse_cursor(&self) -> Option<(ImageHandle, Align, AnimState)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `finish_frame` [INFO] [stdout] --> src/frame.rs:623:19 [INFO] [stdout] | [INFO] [stdout] 623 | pub(crate) fn finish_frame(self) -> (Context, Vec, Vec, HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/frame.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 665 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RendGroupDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/frame.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `group` [INFO] [stdout] --> src/frame.rs:666:5 [INFO] [stdout] | [INFO] [stdout] 666 | group: RendGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RendGroupDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/frame.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start` [INFO] [stdout] --> src/frame.rs:667:5 [INFO] [stdout] | [INFO] [stdout] 667 | start: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RendGroupDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/frame.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `always_top` [INFO] [stdout] --> src/frame.rs:669:5 [INFO] [stdout] | [INFO] [stdout] 669 | always_top: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RendGroupDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/frame.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/frame.rs:673:19 [INFO] [stdout] | [INFO] [stdout] 673 | pub(crate) fn iter<'a, 'b>(&'a self, widgets: &'b [Widget]) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `id` [INFO] [stdout] --> src/frame.rs:678:19 [INFO] [stdout] | [INFO] [stdout] 678 | pub(crate) fn id(&self) -> &str { &self.id } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `group` [INFO] [stdout] --> src/frame.rs:679:19 [INFO] [stdout] | [INFO] [stdout] 679 | pub(crate) fn group(&self) -> RendGroup { self.group } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `image` [INFO] [stdout] --> src/image.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | image: Image, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SubImage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pos` [INFO] [stdout] --> src/image.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pos: Point, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SubImage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/image.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | size: Point, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SubImage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sub_images` [INFO] [stdout] --> src/image.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | sub_images: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tex_coords` [INFO] [stdout] --> src/image.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | tex_coords: [[TexCoord; 4]; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `grid_size` [INFO] [stdout] --> src/image.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | grid_size: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tex_coords` [INFO] [stdout] --> src/image.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | tex_coords: [[TexCoord; 4]; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `grid_size` [INFO] [stdout] --> src/image.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | grid_size: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tex_coords` [INFO] [stdout] --> src/image.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | tex_coords: [[TexCoord; 2]; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `grid_size` [INFO] [stdout] --> src/image.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | grid_size: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tex_coords` [INFO] [stdout] --> src/image.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | tex_coords: [TexCoord; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `base_size` [INFO] [stdout] --> src/image.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | base_size: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fill` [INFO] [stdout] --> src/image.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | fill: ImageFill, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frame_time_millis` [INFO] [stdout] --> src/image.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | frame_time_millis: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frames` [INFO] [stdout] --> src/image.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | frames: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `once` [INFO] [stdout] --> src/image.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | once: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `states` [INFO] [stdout] --> src/image.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | states: Vec<(AnimState, Image)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImageKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ImageDrawParams` [INFO] [stdout] --> src/image.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) struct ImageDrawParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture` [INFO] [stdout] --> src/image.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | texture: TextureHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Image` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> src/image.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | color: Color, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Image` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/image.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | kind: ImageKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Image` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `texture` [INFO] [stdout] --> src/image.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn texture(&self) -> TextureHandle { self.texture } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/image.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_animated` [INFO] [stdout] --> src/image.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 346 | fn draw_animated( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_solid` [INFO] [stdout] --> src/image.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | fn draw_solid( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_simple` [INFO] [stdout] --> src/image.rs:376:8 [INFO] [stdout] | [INFO] [stdout] 376 | fn draw_simple( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_composed_horizontal` [INFO] [stdout] --> src/image.rs:393:8 [INFO] [stdout] | [INFO] [stdout] 393 | fn draw_composed_horizontal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_composed_vertical` [INFO] [stdout] --> src/image.rs:429:8 [INFO] [stdout] | [INFO] [stdout] 429 | fn draw_composed_vertical( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_composed` [INFO] [stdout] --> src/image.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 465 | fn draw_composed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `view_matrix` [INFO] [stdout] --> src/render.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn view_matrix(display_pos: Point, display_size: Point) -> [[f32; 4]; 4] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Image` [INFO] [stdout] --> src/render.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Image(TextureHandle), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DrawMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/render.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Copy, Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Font` [INFO] [stdout] --> src/render.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Font(FontHandle), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DrawMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/render.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Copy, Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a51328da7f84b70e1a95c24b711789d55949b4c7bb623d9398384098482044c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a51328da7f84b70e1a95c24b711789d55949b4c7bb623d9398384098482044c0", kill_on_drop: false }` [INFO] [stdout] a51328da7f84b70e1a95c24b711789d55949b4c7bb623d9398384098482044c0