[INFO] fetching crate rust_native 1.4.0...
[INFO] testing rust_native-1.4.0 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate rust_native 1.4.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rust_native 1.4.0 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded calloop v0.10.6
[INFO] [stderr]   Downloaded wgpu-types v0.16.1
[INFO] [stderr]   Downloaded tiny-skia-path v0.8.4
[INFO] [stderr]   Downloaded bytemuck v1.21.0
[INFO] [stderr]   Downloaded gpu-alloc-types v0.2.0
[INFO] [stderr]   Downloaded d3d12 v0.6.0
[INFO] [stderr]   Downloaded gpu-alloc v0.5.4
[INFO] [stderr]   Downloaded sctk-adwaita v0.5.4
[INFO] [stderr]   Downloaded wgpu v0.16.3
[INFO] [stderr]   Downloaded wgpu-core v0.16.1
[INFO] [stderr]   Downloaded tiny-skia v0.8.4
[INFO] [stderr]   Downloaded wgpu-hal v0.16.2
[INFO] [stderr]   Downloaded naga v0.12.3
[INFO] [stderr]   Downloaded metal v0.24.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 43368d01fbc43e98faefb424a82109e3b54fb3ad862f80d275066269ce1515bc
[INFO] running `Command { std: "docker" "start" "-a" "43368d01fbc43e98faefb424a82109e3b54fb3ad862f80d275066269ce1515bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "43368d01fbc43e98faefb424a82109e3b54fb3ad862f80d275066269ce1515bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43368d01fbc43e98faefb424a82109e3b54fb3ad862f80d275066269ce1515bc", kill_on_drop: false }`
[INFO] [stdout] 43368d01fbc43e98faefb424a82109e3b54fb3ad862f80d275066269ce1515bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] afc848de369f547f8ebb5e9bde3a7ff16417ca4438f12bb556c7f4c2c1ce4553
[INFO] running `Command { std: "docker" "start" "-a" "afc848de369f547f8ebb5e9bde3a7ff16417ca4438f12bb556c7f4c2c1ce4553", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling libc v0.2.169
[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 memoffset v0.6.5
[INFO] [stderr]    Compiling log v0.4.25
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling bitflags v2.8.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.4
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling gpu-alloc-types v0.2.0
[INFO] [stderr]    Compiling spirv v0.2.0+1.5.4
[INFO] [stderr]    Compiling bytemuck v1.21.0
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling ttf-parser v0.25.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling strict-num v0.1.1
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling xcursor v0.3.8
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling gpu-descriptor v0.2.4
[INFO] [stderr]    Compiling gpu-alloc v0.5.4
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling owned_ttf_parser v0.25.0
[INFO] [stderr]    Compiling wgpu-types v0.16.1
[INFO] [stderr]    Compiling renderdoc-sys v1.1.0
[INFO] [stderr]    Compiling glow v0.12.3
[INFO] [stderr]    Compiling profiling v1.0.16
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling ab_glyph v0.2.29
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling tiny-skia v0.8.4
[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 futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling calloop v0.10.6
[INFO] [stderr]    Compiling naga v0.12.3
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling serde_json v1.0.139
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling clap_builder v4.5.30
[INFO] [stderr]    Compiling clap_derive v4.5.28
[INFO] [stderr]    Compiling futures-executor v0.3.31
[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 x11-dl v2.21.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling filetime v0.2.25
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling ryu v1.0.19
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling clap v4.5.30
[INFO] [stderr]    Compiling notify v5.2.0
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling wgpu-hal v0.16.2
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling toml v0.7.8
[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<dyn std::error::Error>> {
[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<Event> {
[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<Platform>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     #[serde(default)]
[INFO] [stdout] 23 |     build_command: Option<String>,
[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<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 35 |     ios_version: Option<String>,
[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<String>,
[INFO] [stdout] 43 |     api_level: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 44 |     abi: Option<String>,
[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<u16>,
[INFO] [stdout] 50 |     browsers: Option<Vec<String>>,
[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<dyn std::error::Error>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 594 |     fn check_tool(&self, tool: &str, args: &[&str]) -> Result<(), Box<dyn std::error::Error>> {
[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 39s
[INFO] running `Command { std: "docker" "inspect" "afc848de369f547f8ebb5e9bde3a7ff16417ca4438f12bb556c7f4c2c1ce4553", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "afc848de369f547f8ebb5e9bde3a7ff16417ca4438f12bb556c7f4c2c1ce4553", kill_on_drop: false }`
[INFO] [stdout] afc848de369f547f8ebb5e9bde3a7ff16417ca4438f12bb556c7f4c2c1ce4553
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c284d1fd2213f4d7c71cb0875fc5bd97f16da21a166edc4afbde67e7ab66daf4
[INFO] running `Command { std: "docker" "start" "-a" "c284d1fd2213f4d7c71cb0875fc5bd97f16da21a166edc4afbde67e7ab66daf4", 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<dyn std::error::Error>> {
[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<Event> {
[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<Platform>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     #[serde(default)]
[INFO] [stdout] 23 |     build_command: Option<String>,
[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<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 35 |     ios_version: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust_native v1.4.0 (/opt/rustwide/workdir)
[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<String>,
[INFO] [stdout] 43 |     api_level: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 44 |     abi: Option<String>,
[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<u16>,
[INFO] [stdout] 50 |     browsers: Option<Vec<String>>,
[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<dyn std::error::Error>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 594 |     fn check_tool(&self, tool: &str, args: &[&str]) -> Result<(), Box<dyn std::error::Error>> {
[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] [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<dyn std::error::Error>> {
[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<Event> {
[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<Platform>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     #[serde(default)]
[INFO] [stdout] 23 |     build_command: Option<String>,
[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<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 35 |     ios_version: Option<String>,
[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<String>,
[INFO] [stdout] 43 |     api_level: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 44 |     abi: Option<String>,
[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<u16>,
[INFO] [stdout] 50 |     browsers: Option<Vec<String>>,
[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<dyn std::error::Error>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 594 |     fn check_tool(&self, tool: &str, args: &[&str]) -> Result<(), Box<dyn std::error::Error>> {
[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.33s
[INFO] running `Command { std: "docker" "inspect" "c284d1fd2213f4d7c71cb0875fc5bd97f16da21a166edc4afbde67e7ab66daf4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c284d1fd2213f4d7c71cb0875fc5bd97f16da21a166edc4afbde67e7ab66daf4", kill_on_drop: false }`
[INFO] [stdout] c284d1fd2213f4d7c71cb0875fc5bd97f16da21a166edc4afbde67e7ab66daf4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 382e5f1dcd20479601ecfb1ee4d642181dfbd2eafa3deac119ca2a6d042ec13e
[INFO] running `Command { std: "docker" "start" "-a" "382e5f1dcd20479601ecfb1ee4d642181dfbd2eafa3deac119ca2a6d042ec13e", 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<dyn std::error::Error>> {
[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<Event> {
[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<Platform>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 22 |     #[serde(default)]
[INFO] [stderr] 23 |     build_command: Option<String>,
[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<String>,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 35 |     ios_version: Option<String>,
[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<String>,
[INFO] [stderr] 43 |     api_level: Option<u32>,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 44 |     abi: Option<String>,
[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<u16>,
[INFO] [stderr] 50 |     browsers: Option<Vec<String>>,
[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<dyn std::error::Error>> {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 594 |     fn check_tool(&self, tool: &str, args: &[&str]) -> Result<(), Box<dyn std::error::Error>> {
[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: 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` (lib) generated 16 warnings (run `cargo fix --lib -p rust_native` to apply 1 suggestion)
[INFO] [stderr] warning: `rust_native` (lib test) generated 18 warnings (16 duplicates)
[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: `rust_native` (bin "rust_native" test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_native-7fd2ad86a968988e)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/rust-native.rs (/opt/rustwide/target/debug/deps/rust_native-122eb4cfff97a75b)
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_native-abd8f79da4ce45ba)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rust_native
[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] [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] [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" "382e5f1dcd20479601ecfb1ee4d642181dfbd2eafa3deac119ca2a6d042ec13e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "382e5f1dcd20479601ecfb1ee4d642181dfbd2eafa3deac119ca2a6d042ec13e", kill_on_drop: false }`
[INFO] [stdout] 382e5f1dcd20479601ecfb1ee4d642181dfbd2eafa3deac119ca2a6d042ec13e
