[INFO] cloning repository https://github.com/clockworkchen24/sandbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/clockworkchen24/sandbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclockworkchen24%2Fsandbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclockworkchen24%2Fsandbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e59e6c2c4fe22f7430973e58ed95054ce306a355 [INFO] testing clockworkchen24/sandbox against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclockworkchen24%2Fsandbox" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/clockworkchen24/sandbox [INFO] finished tweaking git repo https://github.com/clockworkchen24/sandbox [INFO] tweaked toml for git repo https://github.com/clockworkchen24/sandbox written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/clockworkchen24/sandbox on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/clockworkchen24/sandbox already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-backend v0.3.4 [INFO] [stderr] Downloaded bytemuck v1.16.1 [INFO] [stderr] Downloaded wayland-sys v0.31.2 [INFO] [stderr] Downloaded wayland-client v0.31.3 [INFO] [stderr] Downloaded wayland-scanner v0.31.2 [INFO] [stderr] Downloaded wayland-cursor v0.31.3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 475ee1041ccbb02ea4874f5017c13cfeb31bfcb97f3e695ebae318974a1d1b9b [INFO] running `Command { std: "docker" "start" "-a" "475ee1041ccbb02ea4874f5017c13cfeb31bfcb97f3e695ebae318974a1d1b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "475ee1041ccbb02ea4874f5017c13cfeb31bfcb97f3e695ebae318974a1d1b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "475ee1041ccbb02ea4874f5017c13cfeb31bfcb97f3e695ebae318974a1d1b9b", kill_on_drop: false }` [INFO] [stdout] 475ee1041ccbb02ea4874f5017c13cfeb31bfcb97f3e695ebae318974a1d1b9b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12211f6a9c9dff267b1395e6710b239d32077c64d97c6af7a3e7028fd1fe5e9e [INFO] running `Command { std: "docker" "start" "-a" "12211f6a9c9dff267b1395e6710b239d32077c64d97c6af7a3e7028fd1fe5e9e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling wayland-sys v0.31.2 [INFO] [stderr] Compiling wayland-client v0.31.3 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling wgpu-hal v0.19.4 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling polling v3.7.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Compiling wgpu-types v0.19.2 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wayland-scanner v0.31.2 [INFO] [stderr] Compiling wayland-backend v0.3.4 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling naga v0.19.2 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling wayland-cursor v0.31.3 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling sctk-adwaita v0.8.1 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling sandbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut state = State::new(&window).await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/renderer.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `surface`, `device`, `queue`, `config`, and `size` are never read [INFO] [stdout] --> src/renderer.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct State<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 4 | pub surface: wgpu::Surface<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | pub device: wgpu::Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub queue: wgpu::Queue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | pub config: wgpu::SurfaceConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub size: winit::dpi::PhysicalSize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `resize`, `input`, `update`, and `render` are never used [INFO] [stdout] --> src/renderer.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> State<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / event_loop.run(move |event, control_flow| match event { [INFO] [stdout] 17 | | Event::WindowEvent { [INFO] [stdout] 18 | | ref event, [INFO] [stdout] 19 | | window_id, [INFO] [stdout] ... | [INFO] [stdout] 33 | | _ => {} [INFO] [stdout] 34 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = event_loop.run(move |event, control_flow| match event { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "12211f6a9c9dff267b1395e6710b239d32077c64d97c6af7a3e7028fd1fe5e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12211f6a9c9dff267b1395e6710b239d32077c64d97c6af7a3e7028fd1fe5e9e", kill_on_drop: false }` [INFO] [stdout] 12211f6a9c9dff267b1395e6710b239d32077c64d97c6af7a3e7028fd1fe5e9e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab97006e408d198f5e8b78c4e26f2b4db2646e17662f11c93e67be0cb930631b [INFO] running `Command { std: "docker" "start" "-a" "ab97006e408d198f5e8b78c4e26f2b4db2646e17662f11c93e67be0cb930631b", kill_on_drop: false }` [INFO] [stderr] Compiling sandbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut state = State::new(&window).await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/renderer.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `surface`, `device`, `queue`, `config`, and `size` are never read [INFO] [stdout] --> src/renderer.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct State<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 4 | pub surface: wgpu::Surface<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | pub device: wgpu::Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub queue: wgpu::Queue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | pub config: wgpu::SurfaceConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub size: winit::dpi::PhysicalSize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `resize`, `input`, `update`, and `render` are never used [INFO] [stdout] --> src/renderer.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> State<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / event_loop.run(move |event, control_flow| match event { [INFO] [stdout] 17 | | Event::WindowEvent { [INFO] [stdout] 18 | | ref event, [INFO] [stdout] 19 | | window_id, [INFO] [stdout] ... | [INFO] [stdout] 33 | | _ => {} [INFO] [stdout] 34 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = event_loop.run(move |event, control_flow| match event { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "ab97006e408d198f5e8b78c4e26f2b4db2646e17662f11c93e67be0cb930631b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab97006e408d198f5e8b78c4e26f2b4db2646e17662f11c93e67be0cb930631b", kill_on_drop: false }` [INFO] [stdout] ab97006e408d198f5e8b78c4e26f2b4db2646e17662f11c93e67be0cb930631b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d191dbaa5994faef5010fc94553671cfb78e1bc5d5c124e06bd58debeb6972a3 [INFO] running `Command { std: "docker" "start" "-a" "d191dbaa5994faef5010fc94553671cfb78e1bc5d5c124e06bd58debeb6972a3", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let mut state = State::new(&window).await; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/renderer.rs:101:25 [INFO] [stderr] | [INFO] [stderr] 101 | fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `surface`, `device`, `queue`, `config`, and `size` are never read [INFO] [stderr] --> src/renderer.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct State<'a> { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 4 | pub surface: wgpu::Surface<'a>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 5 | pub device: wgpu::Device, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 6 | pub queue: wgpu::Queue, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 7 | pub config: wgpu::SurfaceConfiguration, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 8 | pub size: winit::dpi::PhysicalSize, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `resize`, `input`, `update`, and `render` are never used [INFO] [stderr] --> src/renderer.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl<'a> State<'a> { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 92 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 101 | fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 105 | fn update(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 109 | fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | / event_loop.run(move |event, control_flow| match event { [INFO] [stderr] 17 | | Event::WindowEvent { [INFO] [stderr] 18 | | ref event, [INFO] [stderr] 19 | | window_id, [INFO] [stderr] ... | [INFO] [stderr] 33 | | _ => {} [INFO] [stderr] 34 | | }); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 16 | let _ = event_loop.run(move |event, control_flow| match event { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `sandbox` (bin "sandbox" test) generated 5 warnings (run `cargo fix --bin "sandbox" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sandbox-c0240f097304bacd) [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" "d191dbaa5994faef5010fc94553671cfb78e1bc5d5c124e06bd58debeb6972a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d191dbaa5994faef5010fc94553671cfb78e1bc5d5c124e06bd58debeb6972a3", kill_on_drop: false }` [INFO] [stdout] d191dbaa5994faef5010fc94553671cfb78e1bc5d5c124e06bd58debeb6972a3