[INFO] cloning repository https://github.com/ykafia/copy-tex-to-buffer-wgpu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ykafia/copy-tex-to-buffer-wgpu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykafia%2Fcopy-tex-to-buffer-wgpu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykafia%2Fcopy-tex-to-buffer-wgpu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74a259804bffcda13e1616901ff064f8c596d7ed [INFO] testing ykafia/copy-tex-to-buffer-wgpu against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykafia%2Fcopy-tex-to-buffer-wgpu" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ykafia/copy-tex-to-buffer-wgpu on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ykafia/copy-tex-to-buffer-wgpu [INFO] finished tweaking git repo https://github.com/ykafia/copy-tex-to-buffer-wgpu [INFO] tweaked toml for git repo https://github.com/ykafia/copy-tex-to-buffer-wgpu written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ykafia/copy-tex-to-buffer-wgpu 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" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 443019f1d82b62efa82b11b4f9969f7a2142ba6cea88a4f609075d3251605ec1 [INFO] running `Command { std: "docker" "start" "-a" "443019f1d82b62efa82b11b4f9969f7a2142ba6cea88a4f609075d3251605ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "443019f1d82b62efa82b11b4f9969f7a2142ba6cea88a4f609075d3251605ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "443019f1d82b62efa82b11b4f9969f7a2142ba6cea88a4f609075d3251605ec1", kill_on_drop: false }` [INFO] [stdout] 443019f1d82b62efa82b11b4f9969f7a2142ba6cea88a4f609075d3251605ec1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57317dcd11ff31fbf9631eb22f02a911b3fdcbeb2beca2cb3c4b304515c5d551 [INFO] running `Command { std: "docker" "start" "-a" "57317dcd11ff31fbf9631eb22f02a911b3fdcbeb2beca2cb3c4b304515c5d551", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling io-lifetimes v1.0.5 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling ash v0.37.2+1.3.238 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling raw-window-handle v0.5.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling rustix v0.36.8 [INFO] [stderr] Compiling ttf-parser v0.18.1 [INFO] [stderr] Compiling strict-num v0.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling tiny-skia-path v0.8.3 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wgpu-types v0.15.1 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling profiling v1.0.7 [INFO] [stderr] Compiling glow v0.12.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.1 [INFO] [stderr] Compiling tiny-skia v0.8.3 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling is-terminal v0.4.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling owned_ttf_parser v0.18.1 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling ab_glyph v0.2.20 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling calloop v0.10.5 [INFO] [stderr] Compiling naga v0.11.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wgpu-hal v0.15.2 [INFO] [stderr] Compiling wgpu-core v0.15.1 [INFO] [stderr] Compiling wgpu v0.15.1 [INFO] [stderr] Compiling sctk-adwaita v0.5.3 [INFO] [stderr] Compiling example-wgpu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TextureDescriptor` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use wgpu::{TextureDescriptor, ImageDataLayout, ImageCopyTexture, Origin3d, CommandEncoderDescriptor, BufferDescriptor, BufferUsages, Imag... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ControlFlow` [INFO] [stdout] --> src/main.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | event_loop::{ControlFlow, EventLoop}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | 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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let mut state = pollster::block_on(State::new()); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let mut staging_buffer = state.device.create_buffer( [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `surface`, `config`, `size`, and `window` are never read [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | pub surface: wgpu::Surface, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub config: wgpu::SurfaceConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pub size: winit::dpi::PhysicalSize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub window: Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `window`, `resize`, `input`, `update`, and `render` are never used [INFO] [stdout] --> src/main.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "57317dcd11ff31fbf9631eb22f02a911b3fdcbeb2beca2cb3c4b304515c5d551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57317dcd11ff31fbf9631eb22f02a911b3fdcbeb2beca2cb3c4b304515c5d551", kill_on_drop: false }` [INFO] [stdout] 57317dcd11ff31fbf9631eb22f02a911b3fdcbeb2beca2cb3c4b304515c5d551 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9755ab23cb548353e077b49d3a364b6073fd89db6bf12a185e7361e83d8a985 [INFO] running `Command { std: "docker" "start" "-a" "e9755ab23cb548353e077b49d3a364b6073fd89db6bf12a185e7361e83d8a985", kill_on_drop: false }` [INFO] [stderr] Compiling example-wgpu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TextureDescriptor` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use wgpu::{TextureDescriptor, ImageDataLayout, ImageCopyTexture, Origin3d, CommandEncoderDescriptor, BufferDescriptor, BufferUsages, Imag... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ControlFlow` [INFO] [stdout] --> src/main.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | event_loop::{ControlFlow, EventLoop}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | 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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let mut state = pollster::block_on(State::new()); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let mut staging_buffer = state.device.create_buffer( [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `surface`, `config`, `size`, and `window` are never read [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | pub surface: wgpu::Surface, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub config: wgpu::SurfaceConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pub size: winit::dpi::PhysicalSize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub window: Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `window`, `resize`, `input`, `update`, and `render` are never used [INFO] [stdout] --> src/main.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "e9755ab23cb548353e077b49d3a364b6073fd89db6bf12a185e7361e83d8a985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9755ab23cb548353e077b49d3a364b6073fd89db6bf12a185e7361e83d8a985", kill_on_drop: false }` [INFO] [stdout] e9755ab23cb548353e077b49d3a364b6073fd89db6bf12a185e7361e83d8a985 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 42a73fb2c1b80e34909cbd6ac617f6bd63fd46cae3cce50668d75531f16b6070 [INFO] running `Command { std: "docker" "start" "-a" "42a73fb2c1b80e34909cbd6ac617f6bd63fd46cae3cce50668d75531f16b6070", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `TextureDescriptor` [INFO] [stderr] --> src/main.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use wgpu::{TextureDescriptor, ImageDataLayout, ImageCopyTexture, Origin3d, CommandEncoderDescriptor, BufferDescriptor, BufferUsages, Imag... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ControlFlow` [INFO] [stderr] --> src/main.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | event_loop::{ControlFlow, EventLoop}, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/main.rs:93:25 [INFO] [stderr] | [INFO] [stderr] 93 | 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: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 110 | let mut state = pollster::block_on(State::new()); [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: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:158:9 [INFO] [stderr] | [INFO] [stderr] 158 | let mut staging_buffer = state.device.create_buffer( [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: fields `surface`, `config`, `size`, and `window` are never read [INFO] [stderr] --> src/main.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 12 | struct State { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 13 | pub surface: wgpu::Surface, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 16 | pub config: wgpu::SurfaceConfiguration, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 17 | pub size: winit::dpi::PhysicalSize, [INFO] [stderr] | ^^^^ [INFO] [stderr] 18 | pub window: Window, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `window`, `resize`, `input`, `update`, and `render` are never used [INFO] [stderr] --> src/main.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl State { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 80 | pub fn window(&self) -> &Window { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 97 | fn update(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 101 | fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `example-wgpu` (bin "example-wgpu" test) generated 7 warnings (run `cargo fix --bin "example-wgpu" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/example_wgpu-b50829a386173f8a) [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" "42a73fb2c1b80e34909cbd6ac617f6bd63fd46cae3cce50668d75531f16b6070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42a73fb2c1b80e34909cbd6ac617f6bd63fd46cae3cce50668d75531f16b6070", kill_on_drop: false }` [INFO] [stdout] 42a73fb2c1b80e34909cbd6ac617f6bd63fd46cae3cce50668d75531f16b6070