[INFO] fetching crate rust_native 1.4.0... [INFO] checking rust_native-1.4.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rust_native 1.4.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate rust_native 1.4.0 [INFO] finished tweaking crates.io crate rust_native 1.4.0 [INFO] tweaked toml for crates.io crate rust_native 1.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_native 1.4.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust_native 1.4.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hassle-rs v0.10.0 [INFO] [stderr] Downloaded gpu-alloc v0.5.4 [INFO] [stderr] Downloaded cc v1.2.14 [INFO] [stderr] Downloaded clap v4.5.30 [INFO] [stderr] Downloaded wgpu-types v0.16.1 [INFO] [stderr] Downloaded serde_json v1.0.139 [INFO] [stderr] Downloaded clap_builder v4.5.30 [INFO] [stderr] Downloaded wgpu-core v0.16.1 [INFO] [stderr] Downloaded wgpu-hal v0.16.2 [INFO] [stderr] Downloaded wgpu v0.16.3 [INFO] [stderr] Downloaded naga v0.12.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87e7fefd027efcb797ce8323bd33b888a2bb4c1ef64cc8c73f4f0fc66fdefaf3 [INFO] running `Command { std: "docker" "start" "-a" "87e7fefd027efcb797ce8323bd33b888a2bb4c1ef64cc8c73f4f0fc66fdefaf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87e7fefd027efcb797ce8323bd33b888a2bb4c1ef64cc8c73f4f0fc66fdefaf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87e7fefd027efcb797ce8323bd33b888a2bb4c1ef64cc8c73f4f0fc66fdefaf3", kill_on_drop: false }` [INFO] [stdout] 87e7fefd027efcb797ce8323bd33b888a2bb4c1ef64cc8c73f4f0fc66fdefaf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6be8af48daa9804b601df845ea90209704358d32cf7bf507b838ca3a5e541cb [INFO] running `Command { std: "docker" "start" "-a" "f6be8af48daa9804b601df845ea90209704358d32cf7bf507b838ca3a5e541cb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.4 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking gpu-alloc v0.5.4 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking wgpu-types v0.16.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_builder v4.5.30 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking naga v0.12.3 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking notify v5.2.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking clap v4.5.30 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking wgpu-hal v0.16.2 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking wgpu-core v0.16.1 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking wgpu v0.16.3 [INFO] [stderr] Checking rust_native v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `browser` [INFO] [stdout] --> src/dev_server.rs:529:28 [INFO] [stdout] | [INFO] [stdout] 529 | fn open_browser(&self, browser: &str, port: u16) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_browser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `present`, `begin_frame`, `end_frame`, `window`, and `get_transform` are never used [INFO] [stdout] --> src/renderer/default.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DefaultRenderer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn present(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn begin_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn end_frame(&mut self) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | [INFO] [stdout] 33 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_transform(&self) -> &Point { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockRenderer` is never constructed [INFO] [stdout] --> src/renderer/mock.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MockRenderer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `last_color` are never used [INFO] [stdout] --> src/renderer/mock.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl MockRenderer { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn last_color(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `poll` is never used [INFO] [stdout] --> src/event.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn poll() -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_key_event` is never used [INFO] [stdout] --> src/event.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Event { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 26 | fn from_key_event(key: KeyEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `target_platforms`, `build_command`, and `ios_config` are never read [INFO] [stdout] --> src/dev_server.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct ProjectConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 20 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | target_platforms: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | #[serde(default)] [INFO] [stdout] 23 | build_command: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 24 | #[serde(default)] [INFO] [stdout] 25 | ios_config: IOSConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device_name` and `ios_version` are never read [INFO] [stdout] --> src/dev_server.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct IOSConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 34 | device_name: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | ios_version: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `api_level` and `abi` are never read [INFO] [stdout] --> src/dev_server.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct AndroidConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 42 | avd_name: Option, [INFO] [stdout] 43 | api_level: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | abi: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `browsers` is never read [INFO] [stdout] --> src/dev_server.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct WebConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 49 | port: Option, [INFO] [stdout] 50 | browsers: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_browser` and `check_tool` are never used [INFO] [stdout] --> src/dev_server.rs:529:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl DevServer { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 529 | fn open_browser(&self, browser: &str, port: u16) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | fn check_tool(&self, tool: &str, args: &[&str]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `platform` is never read [INFO] [stdout] --> src/window.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Window { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | platform: PlatformWindow, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Window` 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 `0` is never read [INFO] [stdout] --> src/window.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | Desktop(DesktopWindow), [INFO] [stdout] | ------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PlatformWindow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] 13 - Desktop(DesktopWindow), [INFO] [stdout] 13 + Desktop(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/window.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | Mobile(MobileWindow), [INFO] [stdout] | ------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PlatformWindow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] 14 - Mobile(MobileWindow), [INFO] [stdout] 14 + Mobile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/window.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Web(WebWindow), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PlatformWindow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] 15 - Web(WebWindow), [INFO] [stdout] 15 + Web(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min_size`, `max_size`, and `resizable` are never read [INFO] [stdout] --> src/window.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct DesktopWindow { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 20 | min_size: Size, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | max_size: Size, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | resizable: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DesktopWindow` 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 `safe_area` and `orientation` are never read [INFO] [stdout] --> src/window.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct MobileWindow { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 27 | safe_area: SafeArea, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MobileWindow` 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 `container_id` is never read [INFO] [stdout] --> src/window.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct WebWindow { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 33 | container_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebWindow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `browser` [INFO] [stdout] --> src/dev_server.rs:529:28 [INFO] [stdout] | [INFO] [stdout] 529 | fn open_browser(&self, browser: &str, port: u16) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_browser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `present`, `begin_frame`, `end_frame`, `window`, and `get_transform` are never used [INFO] [stdout] --> src/renderer/default.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DefaultRenderer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn present(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn begin_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn end_frame(&mut self) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | [INFO] [stdout] 33 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_transform(&self) -> &Point { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `poll` is never used [INFO] [stdout] --> src/event.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn poll() -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_key_event` is never used [INFO] [stdout] --> src/event.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Event { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 26 | fn from_key_event(key: KeyEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `target_platforms`, `build_command`, and `ios_config` are never read [INFO] [stdout] --> src/dev_server.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct ProjectConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 20 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | target_platforms: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | #[serde(default)] [INFO] [stdout] 23 | build_command: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 24 | #[serde(default)] [INFO] [stdout] 25 | ios_config: IOSConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device_name` and `ios_version` are never read [INFO] [stdout] --> src/dev_server.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct IOSConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 34 | device_name: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | ios_version: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `api_level` and `abi` are never read [INFO] [stdout] --> src/dev_server.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct AndroidConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 42 | avd_name: Option, [INFO] [stdout] 43 | api_level: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | abi: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `browsers` is never read [INFO] [stdout] --> src/dev_server.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct WebConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 49 | port: Option, [INFO] [stdout] 50 | browsers: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_browser` and `check_tool` are never used [INFO] [stdout] --> src/dev_server.rs:529:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl DevServer { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 529 | fn open_browser(&self, browser: &str, port: u16) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | fn check_tool(&self, tool: &str, args: &[&str]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `platform` is never read [INFO] [stdout] --> src/window.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Window { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | platform: PlatformWindow, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Window` 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 `0` is never read [INFO] [stdout] --> src/window.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | Desktop(DesktopWindow), [INFO] [stdout] | ------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PlatformWindow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] 13 - Desktop(DesktopWindow), [INFO] [stdout] 13 + Desktop(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/window.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | Mobile(MobileWindow), [INFO] [stdout] | ------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PlatformWindow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] 14 - Mobile(MobileWindow), [INFO] [stdout] 14 + Mobile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/window.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Web(WebWindow), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PlatformWindow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] 15 - Web(WebWindow), [INFO] [stdout] 15 + Web(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min_size`, `max_size`, and `resizable` are never read [INFO] [stdout] --> src/window.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct DesktopWindow { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 20 | min_size: Size, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | max_size: Size, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | resizable: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DesktopWindow` 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 `safe_area` and `orientation` are never read [INFO] [stdout] --> src/window.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct MobileWindow { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 27 | safe_area: SafeArea, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MobileWindow` 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 `container_id` is never read [INFO] [stdout] --> src/window.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct WebWindow { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 33 | container_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebWindow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "f6be8af48daa9804b601df845ea90209704358d32cf7bf507b838ca3a5e541cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6be8af48daa9804b601df845ea90209704358d32cf7bf507b838ca3a5e541cb", kill_on_drop: false }` [INFO] [stdout] f6be8af48daa9804b601df845ea90209704358d32cf7bf507b838ca3a5e541cb