[INFO] fetching crate thyme 0.7.0... [INFO] testing thyme-0.7.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate thyme 0.7.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate thyme 0.7.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate thyme 0.7.0 [INFO] tweaked toml for crates.io crate thyme 0.7.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate thyme 0.7.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate thyme 0.7.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `image` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74e5e953aa0c122d961b59cf226cae17b4cf0ccba5414adf31420093ff9aa326 [INFO] running `Command { std: "docker" "start" "-a" "74e5e953aa0c122d961b59cf226cae17b4cf0ccba5414adf31420093ff9aa326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74e5e953aa0c122d961b59cf226cae17b4cf0ccba5414adf31420093ff9aa326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74e5e953aa0c122d961b59cf226cae17b4cf0ccba5414adf31420093ff9aa326", kill_on_drop: false }` [INFO] [stdout] 74e5e953aa0c122d961b59cf226cae17b4cf0ccba5414adf31420093ff9aa326 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67cf591100906d5bebbb4c5b685fadbe923f4d81fd28820344e67370b3cee9d8 [INFO] running `Command { std: "docker" "start" "-a" "67cf591100906d5bebbb4c5b685fadbe923f4d81fd28820344e67370b3cee9d8", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `image` dependency) [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling bytemuck v1.13.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling cmake v0.1.49 [INFO] [stderr] Compiling crossfont v0.5.1 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling memmap2 v0.5.8 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling pulldown-cmark v0.9.2 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling raw-window-handle v0.5.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling filetime v0.2.19 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling image v0.24.5 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling calloop v0.10.5 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling thyme v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Context`, `Frame`, and `WinitIo` [INFO] [stdout] --> src/app_builder.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Error, Point, BuildOptions, ContextBuilder, Context, WinitIo, Frame}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_resources` is never used [INFO] [stdout] --> src/app_builder.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl AppBuilder { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 322 | fn register_resources(&self, context_builder: &mut ContextBuilder) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app_builder.rs:566:11 [INFO] [stdout] | [INFO] [stdout] 566 | Files(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 566 - Files(Vec), [INFO] [stdout] 566 + Files(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app_builder.rs:567:15 [INFO] [stdout] | [INFO] [stdout] 567 | Directory(PathBuf), [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 567 - Directory(PathBuf), [INFO] [stdout] 567 + Directory(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_files` is never used [INFO] [stdout] --> src/app_builder.rs:571:8 [INFO] [stdout] | [INFO] [stdout] 570 | impl AssetSource { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 571 | fn get_files(&self, base: PathBuf, extensions: &[&str]) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_path` is never used [INFO] [stdout] --> src/app_builder.rs:611:4 [INFO] [stdout] | [INFO] [stdout] 611 | fn add_path(path: PathBuf, out: &mut Vec<(String, PathBuf)>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `top_rend_group`, `check_set_rend_group_top`, `base_time_millis_for`, and `next_frame` are never used [INFO] [stdout] --> src/context.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 153 | impl ContextInternal { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 193 | pub(crate) fn top_rend_group(&self) -> RendGroup { self.top_rend_group } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub(crate) fn check_set_rend_group_top(&mut self, groups: &[RendGroupDef]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub(crate) fn base_time_millis_for(&self, id: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | 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 `font` is never read [INFO] [stdout] --> src/font.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FontSource { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 8 | pub(crate) font: rusttype::Font<'static>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `draw` are never used [INFO] [stdout] --> src/font.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl Font { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 43 | pub(crate) fn new(handle: FontHandle, characters: FxHashMap, line_height: f32, ascent: f32) -> Font { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FontTextureOut` is never constructed [INFO] [stdout] --> src/font.rs:274:19 [INFO] [stdout] | [INFO] [stdout] 274 | pub(crate) struct FontTextureOut { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FontTextureWriter` is never constructed [INFO] [stdout] --> src/font.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | pub(crate) struct FontTextureWriter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, and `add_char` are never used [INFO] [stdout] --> src/font.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 298 | impl<'a> FontTextureWriter<'a> { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 299 | pub fn new(font: &'a rusttype::Font<'a>, ranges: &[CharacterRange], size: f32, scale: f32) -> FontTextureWriter<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn write(mut self, handle: FontHandle, ranges: &[CharacterRange]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | fn add_char( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mouse_cursor` and `finish_frame` are never used [INFO] [stdout] --> src/frame.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 56 | impl Frame { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub(crate) fn mouse_cursor(&self) -> Option<(ImageHandle, Align, AnimState)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 623 | pub(crate) fn finish_frame(self) -> (Context, Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `group`, `start`, and `order` are never read [INFO] [stdout] --> src/frame.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 669 | pub(crate) struct RendGroupDef { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 670 | rect: Rect, [INFO] [stdout] 671 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 672 | group: RendGroup, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 673 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 674 | num: usize, [INFO] [stdout] 675 | order: RendGroupOrder, [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] [INFO] [stdout] [INFO] [stdout] warning: methods `iter`, `id`, and `group` are never used [INFO] [stdout] --> src/frame.rs:679:19 [INFO] [stdout] | [INFO] [stdout] 678 | impl RendGroupDef { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 679 | pub(crate) fn iter<'b>(&self, widgets: &'b [Widget]) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 684 | pub(crate) fn id(&self) -> &str { &self.id } [INFO] [stdout] | ^^ [INFO] [stdout] 685 | pub(crate) fn group(&self) -> RendGroup { self.group } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `image`, `pos`, and `size` are never read [INFO] [stdout] --> src/image.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SubImage { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 15 | image: Image, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pos: Point, [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] [INFO] [stdout] [INFO] [stdout] warning: field `sub_images` is never read [INFO] [stdout] --> src/image.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | Collected { [INFO] [stdout] | --------- field in this variant [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tex_coords` and `grid_size` are never read [INFO] [stdout] --> src/image.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | Composed { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 27 | tex_coords: [[TexCoord; 4]; 4], [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tex_coords` and `grid_size` are never read [INFO] [stdout] --> src/image.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | ComposedVertical { [INFO] [stdout] | ---------------- fields in this variant [INFO] [stdout] 31 | tex_coords: [[TexCoord; 4]; 2], [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tex_coords` and `grid_size` are never read [INFO] [stdout] --> src/image.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | ComposedHorizontal { [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 35 | tex_coords: [[TexCoord; 2]; 4], [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tex_coords`, `base_size`, and `fill` are never read [INFO] [stdout] --> src/image.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | Simple { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 40 | tex_coords: [TexCoord; 2], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | base_size: [f32; 2], [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] [INFO] [stdout] [INFO] [stdout] warning: fields `frame_time_millis`, `frames`, and `once` are never read [INFO] [stdout] --> src/image.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | Timed { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 45 | frame_time_millis: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | frames: Vec, [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] [INFO] [stdout] [INFO] [stdout] warning: field `states` is never read [INFO] [stdout] --> src/image.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | Animated { [INFO] [stdout] | -------- field in this variant [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] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageDrawParams` is never constructed [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: fields `texture`, `color`, and `kind` are never read [INFO] [stdout] --> src/image.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 66 | texture: TextureHandle, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 67 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | 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] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/image.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Image { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 73 | pub fn texture(&self) -> TextureHandle { self.texture } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | fn draw_animated( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | fn draw_solid( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | fn draw_simple( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | fn draw_composed_horizontal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | fn draw_composed_vertical( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | fn draw_composed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `view_matrix` is never used [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: enum `DrawMode` is never used [INFO] [stdout] --> src/render.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum DrawMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/frame.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn start(&mut self, theme: &str) -> WidgetBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 234 | pub fn start(&mut self, theme: &str) -> WidgetBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 11s [INFO] running `Command { std: "docker" "inspect" "67cf591100906d5bebbb4c5b685fadbe923f4d81fd28820344e67370b3cee9d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67cf591100906d5bebbb4c5b685fadbe923f4d81fd28820344e67370b3cee9d8", kill_on_drop: false }` [INFO] [stdout] 67cf591100906d5bebbb4c5b685fadbe923f4d81fd28820344e67370b3cee9d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc769711275f027a2e62c3f4697d4167040805658c3ccd979795d910f3cbd1d3 [INFO] running `Command { std: "docker" "start" "-a" "bc769711275f027a2e62c3f4697d4167040805658c3ccd979795d910f3cbd1d3", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `image` dependency) [INFO] [stdout] warning: unused imports: `Context`, `Frame`, and `WinitIo` [INFO] [stdout] --> src/app_builder.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Error, Point, BuildOptions, ContextBuilder, Context, WinitIo, Frame}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_resources` is never used [INFO] [stdout] --> src/app_builder.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl AppBuilder { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 322 | fn register_resources(&self, context_builder: &mut ContextBuilder) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app_builder.rs:566:11 [INFO] [stdout] | [INFO] [stdout] 566 | Files(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 566 - Files(Vec), [INFO] [stdout] 566 + Files(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app_builder.rs:567:15 [INFO] [stdout] | [INFO] [stdout] 567 | Directory(PathBuf), [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 567 - Directory(PathBuf), [INFO] [stdout] 567 + Directory(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_files` is never used [INFO] [stdout] --> src/app_builder.rs:571:8 [INFO] [stdout] | [INFO] [stdout] 570 | impl AssetSource { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 571 | fn get_files(&self, base: PathBuf, extensions: &[&str]) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_path` is never used [INFO] [stdout] --> src/app_builder.rs:611:4 [INFO] [stdout] | [INFO] [stdout] 611 | fn add_path(path: PathBuf, out: &mut Vec<(String, PathBuf)>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `top_rend_group`, `check_set_rend_group_top`, `base_time_millis_for`, and `next_frame` are never used [INFO] [stdout] --> src/context.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 153 | impl ContextInternal { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 193 | pub(crate) fn top_rend_group(&self) -> RendGroup { self.top_rend_group } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub(crate) fn check_set_rend_group_top(&mut self, groups: &[RendGroupDef]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub(crate) fn base_time_millis_for(&self, id: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | 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 `font` is never read [INFO] [stdout] --> src/font.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FontSource { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 8 | pub(crate) font: rusttype::Font<'static>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `draw` are never used [INFO] [stdout] --> src/font.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl Font { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 43 | pub(crate) fn new(handle: FontHandle, characters: FxHashMap, line_height: f32, ascent: f32) -> Font { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FontTextureOut` is never constructed [INFO] [stdout] --> src/font.rs:274:19 [INFO] [stdout] | [INFO] [stdout] 274 | pub(crate) struct FontTextureOut { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FontTextureWriter` is never constructed [INFO] [stdout] --> src/font.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | pub(crate) struct FontTextureWriter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, and `add_char` are never used [INFO] [stdout] --> src/font.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 298 | impl<'a> FontTextureWriter<'a> { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 299 | pub fn new(font: &'a rusttype::Font<'a>, ranges: &[CharacterRange], size: f32, scale: f32) -> FontTextureWriter<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn write(mut self, handle: FontHandle, ranges: &[CharacterRange]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | fn add_char( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mouse_cursor` and `finish_frame` are never used [INFO] [stdout] --> src/frame.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 56 | impl Frame { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub(crate) fn mouse_cursor(&self) -> Option<(ImageHandle, Align, AnimState)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 623 | pub(crate) fn finish_frame(self) -> (Context, Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `group`, `start`, and `order` are never read [INFO] [stdout] --> src/frame.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 669 | pub(crate) struct RendGroupDef { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 670 | rect: Rect, [INFO] [stdout] 671 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 672 | group: RendGroup, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 673 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 674 | num: usize, [INFO] [stdout] 675 | order: RendGroupOrder, [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] [INFO] [stdout] [INFO] [stdout] warning: methods `iter`, `id`, and `group` are never used [INFO] [stdout] --> src/frame.rs:679:19 [INFO] [stdout] | [INFO] [stdout] 678 | impl RendGroupDef { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 679 | pub(crate) fn iter<'b>(&self, widgets: &'b [Widget]) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 684 | pub(crate) fn id(&self) -> &str { &self.id } [INFO] [stdout] | ^^ [INFO] [stdout] 685 | pub(crate) fn group(&self) -> RendGroup { self.group } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `image`, `pos`, and `size` are never read [INFO] [stdout] --> src/image.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SubImage { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 15 | image: Image, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pos: Point, [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] [INFO] [stdout] [INFO] [stdout] warning: field `sub_images` is never read [INFO] [stdout] --> src/image.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | Collected { [INFO] [stdout] | --------- field in this variant [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tex_coords` and `grid_size` are never read [INFO] [stdout] --> src/image.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | Composed { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 27 | tex_coords: [[TexCoord; 4]; 4], [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tex_coords` and `grid_size` are never read [INFO] [stdout] --> src/image.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | ComposedVertical { [INFO] [stdout] | ---------------- fields in this variant [INFO] [stdout] 31 | tex_coords: [[TexCoord; 4]; 2], [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tex_coords` and `grid_size` are never read [INFO] [stdout] --> src/image.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | ComposedHorizontal { [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 35 | tex_coords: [[TexCoord; 2]; 4], [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tex_coords`, `base_size`, and `fill` are never read [INFO] [stdout] --> src/image.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | Simple { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 40 | tex_coords: [TexCoord; 2], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | base_size: [f32; 2], [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] [INFO] [stdout] [INFO] [stdout] warning: fields `frame_time_millis`, `frames`, and `once` are never read [INFO] [stdout] --> src/image.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | Timed { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 45 | frame_time_millis: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | frames: Vec, [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] [INFO] [stdout] [INFO] [stdout] warning: field `states` is never read [INFO] [stdout] --> src/image.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | Animated { [INFO] [stdout] | -------- field in this variant [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] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageDrawParams` is never constructed [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: fields `texture`, `color`, and `kind` are never read [INFO] [stdout] --> src/image.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 66 | texture: TextureHandle, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 67 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | 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] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/image.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Image { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 73 | pub fn texture(&self) -> TextureHandle { self.texture } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | fn draw_animated( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | fn draw_solid( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | fn draw_simple( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | fn draw_composed_horizontal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | fn draw_composed_vertical( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | fn draw_composed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `view_matrix` is never used [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: enum `DrawMode` is never used [INFO] [stdout] --> src/render.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum DrawMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/frame.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn start(&mut self, theme: &str) -> WidgetBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 234 | pub fn start(&mut self, theme: &str) -> WidgetBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thyme v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `glium` [INFO] [stdout] --> examples/demo_glium.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use glium::glutin::{window::WindowBuilder}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `glium` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glium`, use `cargo add glium` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `glium` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glium`, use `cargo add glium` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | backends: wgpu::Backends::PRIMARY, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | dx12_shader_compiler: wgpu::Dx12Compiler::Fxc, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let instance = wgpu::Instance::new(instance_desc); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [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] 2 | let app = thyme::AppBuilder::new() [INFO] [stdout] | _______________- [INFO] [stdout] 3 | | .with_logger() [INFO] [stdout] 4 | | .with_title("Thyme Glium Demo") [INFO] [stdout] 5 | | .with_window_size(1280.0, 720.0) [INFO] [stdout] ... | [INFO] [stdout] 9 | | .with_image_dir("images") [INFO] [stdout] 10 | | .build_glium()?; [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AppBuilder` [INFO] [stdout] | |_________| [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] 2 | let app = thyme::AppBuilder::new() [INFO] [stdout] | _______________- [INFO] [stdout] 3 | | .with_logger() [INFO] [stdout] 4 | | .with_title("Thyme wgpu Demo") [INFO] [stdout] 5 | | .with_window_size(1280.0, 720.0) [INFO] [stdout] ... | [INFO] [stdout] 9 | | .with_image_dir("images") [INFO] [stdout] 10 | | .build_wgpu()?; [INFO] [stdout] | | -^^^^^^^^^^ method not found in `AppBuilder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> examples/demo_wgpu.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | let (_adapter, device, queue) = futures::executor::block_on(setup_wgpu(&instance, &surface)); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [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 `Result<(), Box>`, 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `glutin` [INFO] [stdout] --> examples/demo_gl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glutin::event::{Event, WindowEvent}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `glutin` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glutin`, use `cargo add glutin` to add it to your `Cargo.toml` [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 `Result<(), Box>`, 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] [stderr] error: could not compile `thyme` (example "hello_glium") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `thyme` (example "hello_wgpu") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `glutin` [INFO] [stdout] --> examples/demo_gl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use glutin::event_loop::ControlFlow; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `glutin` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glutin`, use `cargo add glutin` to add it to your `Cargo.toml` [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] 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[E0433]: failed to resolve: could not find `WgpuRenderer` in `thyme` [INFO] [stdout] --> examples/demo_wgpu.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | let mut renderer = thyme::WgpuRenderer::new(Arc::clone(&device), Arc::clone(&queue)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | could not find `WgpuRenderer` in `thyme` [INFO] [stdout] | help: a trait with a similar name exists: `Renderer` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:407:23 [INFO] [stdout] | [INFO] [stdout] 406 | #[cfg(feature = "wgpu_backend")] [INFO] [stdout] | ------------------------ the item is gated behind the `wgpu_backend` feature [INFO] [stdout] 407 | pub use wgpu_backend::WgpuRenderer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | let view = frame.texture.create_view(&wgpu::TextureViewDescriptor::default()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [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] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 400 | #[cfg(feature = "glium_backend")] [INFO] [stdout] | ------------------------- the item is gated behind the `glium_backend` feature [INFO] [stdout] 401 | pub use glium_backend::{GliumRenderer, GliumError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `glium` [INFO] [stdout] --> examples/demo_glium.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | .with_inner_size(glium::glutin::dpi::LogicalSize::new(window_size[0], window_size[1])); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `glium` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glium`, use `cargo add glium` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use winit::dpi::LogicalSize; [INFO] [stdout] | [INFO] [stdout] help: if you import `LogicalSize`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 23 - .with_inner_size(glium::glutin::dpi::LogicalSize::new(window_size[0], window_size[1])); [INFO] [stdout] 23 + .with_inner_size(LogicalSize::new(window_size[0], window_size[1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `glium` [INFO] [stdout] --> examples/demo_glium.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let context = glium::glutin::ContextBuilder::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `glium` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glium`, use `cargo add glium` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::task::ContextBuilder; [INFO] [stdout] | [INFO] [stdout] 1 + use thyme::ContextBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `ContextBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 24 - let context = glium::glutin::ContextBuilder::new(); [INFO] [stdout] 24 + let context = ContextBuilder::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `glutin` [INFO] [stdout] --> examples/demo_gl.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | .with_gl(glutin::GlRequest::Specific( [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `glutin` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glutin`, use `cargo add glutin` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `glutin` [INFO] [stdout] --> examples/demo_gl.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | glutin::Api::OpenGl, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `glutin` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glutin`, use `cargo add glutin` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:86:43 [INFO] [stdout] | [INFO] [stdout] 86 | ... load: wgpu::LoadOp::Clear(wgpu::Color { r: 0.5, g: 0.5, b: 0.5, a: 1.0 }), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thyme` (example "hello_gl") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `GLRenderer` in `thyme` [INFO] [stdout] --> examples/demo_gl.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | let mut renderer = thyme::GLRenderer::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | could not find `GLRenderer` in `thyme` [INFO] [stdout] | help: a trait with a similar name exists: `Renderer` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:418:22 [INFO] [stdout] | [INFO] [stdout] 417 | #[cfg(feature = "gl_backend")] [INFO] [stdout] | ---------------------- the item is gated behind the `gl_backend` feature [INFO] [stdout] 418 | pub use gl_backend::{GLRenderer, GlError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `build_gl` found for struct `AppBuilder` in the current scope [INFO] [stdout] --> examples/hello_gl.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 2 | let app = thyme::AppBuilder::new() [INFO] [stdout] | _______________- [INFO] [stdout] 3 | | .with_logger() [INFO] [stdout] 4 | | .with_title("Thyme Gl Demo") [INFO] [stdout] 5 | | .with_window_size(1280.0, 720.0) [INFO] [stdout] ... | [INFO] [stdout] 9 | | .with_image_dir("images") [INFO] [stdout] 10 | | .build_gl()?; [INFO] [stdout] | | -^^^^^^^^ method not found in `AppBuilder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/hello_gl.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() -> Result<(), Box> { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Box>`, 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `gl` [INFO] [stdout] --> examples/demo_gl.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | _: gl::types::GLenum, [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `gl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gl`, use `cargo add gl` to add it to your `Cargo.toml` [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `gl` [INFO] [stdout] --> examples/demo_gl.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | err_type: gl::types::GLenum, [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `gl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gl`, use `cargo add gl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gl` [INFO] [stdout] --> examples/demo_gl.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | id: gl::types::GLuint, [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `gl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gl`, use `cargo add gl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gl` [INFO] [stdout] --> examples/demo_gl.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | severity: gl::types::GLenum, [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `gl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gl`, use `cargo add gl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gl` [INFO] [stdout] --> examples/demo_gl.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | _: gl::types::GLsizei, [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `gl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gl`, use `cargo add gl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:121:27 [INFO] [stdout] | [INFO] [stdout] 121 | power_preference: wgpu::PowerPreference::LowPower, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `glutin` [INFO] [stdout] --> examples/demo_gl.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let event_loop = glutin::event_loop::EventLoop::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `glutin` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glutin`, use `cargo add glutin` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [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] help: if you import `EventLoop`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - let event_loop = glutin::event_loop::EventLoop::new(); [INFO] [stdout] 21 + let event_loop = EventLoop::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `glutin` [INFO] [stdout] --> examples/demo_gl.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | let window_builder = glutin::window::WindowBuilder::new() [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `glutin` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glutin`, use `cargo add glutin` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use thyme::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] 1 + use winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `WindowBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 22 - let window_builder = glutin::window::WindowBuilder::new() [INFO] [stdout] 22 + let window_builder = WindowBuilder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `glutin` [INFO] [stdout] --> examples/demo_gl.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | .with_inner_size(glutin::dpi::LogicalSize::new(1280.0, 720.0)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `glutin` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glutin`, use `cargo add glutin` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use winit::dpi::LogicalSize; [INFO] [stdout] | [INFO] [stdout] help: if you import `LogicalSize`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 24 - .with_inner_size(glutin::dpi::LogicalSize::new(1280.0, 720.0)); [INFO] [stdout] 24 + .with_inner_size(LogicalSize::new(1280.0, 720.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `glutin` [INFO] [stdout] --> examples/demo_gl.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | let windowed_context = glutin::ContextBuilder::new() [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `glutin` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glutin`, use `cargo add glutin` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::task::ContextBuilder; [INFO] [stdout] | [INFO] [stdout] 1 + use thyme::ContextBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `ContextBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 26 - let windowed_context = glutin::ContextBuilder::new() [INFO] [stdout] 26 + let windowed_context = ContextBuilder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | features: wgpu::Features::empty(), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | usage: wgpu::TextureUsages::RENDER_ATTACHMENT, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | format: wgpu::TextureFormat::Bgra8Unorm, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 146 | present_mode: wgpu::PresentMode::AutoVsync, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | alpha_mode: wgpu::CompositeAlphaMode::Auto, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | limits: wgpu::Limits::default(), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use image::io::Limits; [INFO] [stdout] | [INFO] [stdout] help: if you import `Limits`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 132 - limits: wgpu::Limits::default(), [INFO] [stdout] 132 + limits: Limits::default(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gl` [INFO] [stdout] --> examples/demo_gl.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | gl::load_with(|ptr| gl_context.get_proc_address(ptr) as *const _) [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `gl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gl`, use `cargo add gl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gl` [INFO] [stdout] --> examples/demo_gl.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | gl::DEBUG_TYPE_ERROR | gl::DEBUG_TYPE_UNDEFINED_BEHAVIOR => unsafe { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `gl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gl`, use `cargo add gl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gl` [INFO] [stdout] --> examples/demo_gl.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | gl::DEBUG_TYPE_ERROR | gl::DEBUG_TYPE_UNDEFINED_BEHAVIOR => unsafe { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `gl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gl`, use `cargo add gl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [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` (example "demo_gl") due to 17 previous errors [INFO] [stdout] error[E0599]: no variant or associated item named `WgpuSurface` found for enum `thyme::Error` in the current scope [INFO] [stdout] --> examples/demo_wgpu.rs:33:83 [INFO] [stdout] | [INFO] [stdout] 33 | let surface = unsafe { instance.create_surface(&window).map_err(thyme::Error::WgpuSurface)? }; [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `thyme::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thyme` (example "demo_glium") due to 5 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/demo_wgpu.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | let mut encoder = device.create_command_encoder(&wgpu::CommandEncoderDescriptor { label: None }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/demo_wgpu.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | queue.submit(Some(encoder.finish())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Frame`, and `WinitIo` [INFO] [stdout] --> src/app_builder.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Error, Point, BuildOptions, ContextBuilder, Context, WinitIo, Frame}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let instance_desc = wgpu::InstanceDescriptor { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:67:62 [INFO] [stdout] | [INFO] [stdout] 67 | let mut encoder = device.create_command_encoder(&wgpu::CommandEncoderDescriptor { label: None }); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:80:74 [INFO] [stdout] | [INFO] [stdout] 80 | let mut render_pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:82:55 [INFO] [stdout] | [INFO] [stdout] 82 | ... color_attachments: &[Some(wgpu::RenderPassColorAttachment { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | ... ops: wgpu::Operations { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:86:63 [INFO] [stdout] | [INFO] [stdout] 86 | ... load: wgpu::LoadOp::Clear(wgpu::Color { r: 0.5, g: 0.5, b: 0.5, a: 1.0 }), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | instance: &wgpu::Instance, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | surface: &wgpu::Surface [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | ) -> (wgpu::Adapter, Arc, Arc) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | ) -> (wgpu::Adapter, Arc, Arc) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | ) -> (wgpu::Adapter, Arc, Arc) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:120:45 [INFO] [stdout] | [INFO] [stdout] 120 | let adapter = instance.request_adapter(&wgpu::RequestAdapterOptions { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | &wgpu::DeviceDescriptor { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:140:51 [INFO] [stdout] | [INFO] [stdout] 140 | fn get_surface_config(width: u32, height: u32) -> wgpu::SurfaceConfiguration { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> examples/demo_wgpu.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | wgpu::SurfaceConfiguration { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thyme` (example "demo_wgpu") due to 32 previous errors [INFO] [stdout] warning: method `register_resources` is never used [INFO] [stdout] --> src/app_builder.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl AppBuilder { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 322 | fn register_resources(&self, context_builder: &mut ContextBuilder) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app_builder.rs:566:11 [INFO] [stdout] | [INFO] [stdout] 566 | Files(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 566 - Files(Vec), [INFO] [stdout] 566 + Files(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app_builder.rs:567:15 [INFO] [stdout] | [INFO] [stdout] 567 | Directory(PathBuf), [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 567 - Directory(PathBuf), [INFO] [stdout] 567 + Directory(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_files` is never used [INFO] [stdout] --> src/app_builder.rs:571:8 [INFO] [stdout] | [INFO] [stdout] 570 | impl AssetSource { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 571 | fn get_files(&self, base: PathBuf, extensions: &[&str]) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_path` is never used [INFO] [stdout] --> src/app_builder.rs:611:4 [INFO] [stdout] | [INFO] [stdout] 611 | fn add_path(path: PathBuf, out: &mut Vec<(String, PathBuf)>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `top_rend_group`, `check_set_rend_group_top`, `base_time_millis_for`, and `next_frame` are never used [INFO] [stdout] --> src/context.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 153 | impl ContextInternal { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 193 | pub(crate) fn top_rend_group(&self) -> RendGroup { self.top_rend_group } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub(crate) fn check_set_rend_group_top(&mut self, groups: &[RendGroupDef]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub(crate) fn base_time_millis_for(&self, id: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | 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 `font` is never read [INFO] [stdout] --> src/font.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FontSource { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 8 | pub(crate) font: rusttype::Font<'static>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `draw` are never used [INFO] [stdout] --> src/font.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl Font { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 43 | pub(crate) fn new(handle: FontHandle, characters: FxHashMap, line_height: f32, ascent: f32) -> Font { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FontTextureOut` is never constructed [INFO] [stdout] --> src/font.rs:274:19 [INFO] [stdout] | [INFO] [stdout] 274 | pub(crate) struct FontTextureOut { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FontTextureWriter` is never constructed [INFO] [stdout] --> src/font.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | pub(crate) struct FontTextureWriter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, and `add_char` are never used [INFO] [stdout] --> src/font.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 298 | impl<'a> FontTextureWriter<'a> { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 299 | pub fn new(font: &'a rusttype::Font<'a>, ranges: &[CharacterRange], size: f32, scale: f32) -> FontTextureWriter<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn write(mut self, handle: FontHandle, ranges: &[CharacterRange]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | fn add_char( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mouse_cursor` and `finish_frame` are never used [INFO] [stdout] --> src/frame.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 56 | impl Frame { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub(crate) fn mouse_cursor(&self) -> Option<(ImageHandle, Align, AnimState)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 623 | pub(crate) fn finish_frame(self) -> (Context, Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `group`, `start`, and `order` are never read [INFO] [stdout] --> src/frame.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 669 | pub(crate) struct RendGroupDef { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 670 | rect: Rect, [INFO] [stdout] 671 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 672 | group: RendGroup, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 673 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 674 | num: usize, [INFO] [stdout] 675 | order: RendGroupOrder, [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] [INFO] [stdout] [INFO] [stdout] warning: methods `iter`, `id`, and `group` are never used [INFO] [stdout] --> src/frame.rs:679:19 [INFO] [stdout] | [INFO] [stdout] 678 | impl RendGroupDef { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 679 | pub(crate) fn iter<'b>(&self, widgets: &'b [Widget]) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 684 | pub(crate) fn id(&self) -> &str { &self.id } [INFO] [stdout] | ^^ [INFO] [stdout] 685 | pub(crate) fn group(&self) -> RendGroup { self.group } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `image`, `pos`, and `size` are never read [INFO] [stdout] --> src/image.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SubImage { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 15 | image: Image, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pos: Point, [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] [INFO] [stdout] [INFO] [stdout] warning: field `sub_images` is never read [INFO] [stdout] --> src/image.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | Collected { [INFO] [stdout] | --------- field in this variant [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tex_coords` and `grid_size` are never read [INFO] [stdout] --> src/image.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | Composed { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 27 | tex_coords: [[TexCoord; 4]; 4], [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tex_coords` and `grid_size` are never read [INFO] [stdout] --> src/image.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | ComposedVertical { [INFO] [stdout] | ---------------- fields in this variant [INFO] [stdout] 31 | tex_coords: [[TexCoord; 4]; 2], [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tex_coords` and `grid_size` are never read [INFO] [stdout] --> src/image.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | ComposedHorizontal { [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 35 | tex_coords: [[TexCoord; 2]; 4], [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tex_coords`, `base_size`, and `fill` are never read [INFO] [stdout] --> src/image.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | Simple { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 40 | tex_coords: [TexCoord; 2], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | base_size: [f32; 2], [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] [INFO] [stdout] [INFO] [stdout] warning: fields `frame_time_millis`, `frames`, and `once` are never read [INFO] [stdout] --> src/image.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | Timed { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 45 | frame_time_millis: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | frames: Vec, [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] [INFO] [stdout] [INFO] [stdout] warning: field `states` is never read [INFO] [stdout] --> src/image.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | Animated { [INFO] [stdout] | -------- field in this variant [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] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageDrawParams` is never constructed [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: fields `texture`, `color`, and `kind` are never read [INFO] [stdout] --> src/image.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 66 | texture: TextureHandle, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 67 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | 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] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/image.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Image { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 73 | pub fn texture(&self) -> TextureHandle { self.texture } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | fn draw_animated( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | fn draw_solid( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | fn draw_simple( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | fn draw_composed_horizontal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | fn draw_composed_vertical( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | fn draw_composed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `view_matrix` is never used [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: enum `DrawMode` is never used [INFO] [stdout] --> src/render.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum DrawMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/frame.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn start(&mut self, theme: &str) -> WidgetBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 234 | pub fn start(&mut self, theme: &str) -> WidgetBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bc769711275f027a2e62c3f4697d4167040805658c3ccd979795d910f3cbd1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc769711275f027a2e62c3f4697d4167040805658c3ccd979795d910f3cbd1d3", kill_on_drop: false }` [INFO] [stdout] bc769711275f027a2e62c3f4697d4167040805658c3ccd979795d910f3cbd1d3