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