[INFO] cloning repository https://github.com/skyne98/learn-wgpu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skyne98/learn-wgpu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskyne98%2Flearn-wgpu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskyne98%2Flearn-wgpu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd0104a327e4e17de2787a3d00c02685aed1e55b [INFO] testing skyne98/learn-wgpu against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskyne98%2Flearn-wgpu" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/skyne98/learn-wgpu [INFO] finished tweaking git repo https://github.com/skyne98/learn-wgpu [INFO] tweaked toml for git repo https://github.com/skyne98/learn-wgpu written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skyne98/learn-wgpu on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/skyne98/learn-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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11368d928fbaf4f87b4369445d45a0bb859b8b64e9e426629ab4554ff0285350 [INFO] running `Command { std: "docker" "start" "-a" "11368d928fbaf4f87b4369445d45a0bb859b8b64e9e426629ab4554ff0285350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11368d928fbaf4f87b4369445d45a0bb859b8b64e9e426629ab4554ff0285350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11368d928fbaf4f87b4369445d45a0bb859b8b64e9e426629ab4554ff0285350", kill_on_drop: false }` [INFO] [stdout] 11368d928fbaf4f87b4369445d45a0bb859b8b64e9e426629ab4554ff0285350 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ea122f7885191540e053479625f98a181f928e2cbbf50f7e8d89e7679071e7d [INFO] running `Command { std: "docker" "start" "-a" "7ea122f7885191540e053479625f98a181f928e2cbbf50f7e8d89e7679071e7d", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libloading v0.8.4 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling wayland-client v0.31.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling quick-xml v0.34.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling wgpu-hal v0.21.1 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling wayland-sys v0.31.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling ttf-parser v0.24.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling wayland-backend v0.3.5 [INFO] [stderr] Compiling wayland-scanner v0.31.3 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling wgpu-core v0.21.1 [INFO] [stderr] Compiling wgpu-types v0.20.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling winit v0.30.3 [INFO] [stderr] Compiling wgpu v0.20.1 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling gpu-descriptor v0.3.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling dpi v0.1.1 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling owned_ttf_parser v0.24.0 [INFO] [stderr] Compiling ab_glyph v0.2.28 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling naga v0.20.0 [INFO] [stderr] Compiling polling v3.7.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling wayland-cursor v0.31.4 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling sctk-adwaita v0.9.1 [INFO] [stderr] Compiling learn-wgpu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `web_platform` [INFO] [stdout] --> src/application.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(web_platform))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `web_platform` [INFO] [stdout] --> src/application.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(web_platform)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/application.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/application.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/application.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use ::tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ElementState` and `KeyEvent` [INFO] [stdout] --> src/application.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use winit::event::{ElementState, KeyEvent, StartCause, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ControlFlow` and `EventLoop` [INFO] [stdout] --> src/application.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | use winit::event_loop::{ActiveEventLoop, ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key` and `NamedKey` [INFO] [stdout] --> src/application.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use winit::keyboard::{Key, NamedKey}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::level_filters::LevelFilter` [INFO] [stdout] --> src/logging.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::level_filters::LevelFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `WindowEvent`, and `window::Window` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | event::{Event, WindowEvent}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 8 | event_loop::EventLoop, [INFO] [stdout] 9 | window::Window, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winit::event_loop::EventLoop::::create_window`: use `ActiveEventLoop::create_window` instead [INFO] [stdout] --> src/main.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | .create_window(window_attr) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> src/application.rs:191:61 [INFO] [stdout] | [INFO] [stdout] 191 | fn new_events(&mut self, _event_loop: &ActiveEventLoop, cause: StartCause) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/application.rs:270:27 [INFO] [stdout] | [INFO] [stdout] 270 | fn resumed(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/application.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / #[repr(C)] [INFO] [stdout] 17 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 18 | | struct Vertex { [INFO] [stdout] 19 | | position: [f32; 3], [INFO] [stdout] 20 | | color: [f32; 3], [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_vertices` is never read [INFO] [stdout] --> src/application.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ApplicationFlow<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | num_vertices: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "7ea122f7885191540e053479625f98a181f928e2cbbf50f7e8d89e7679071e7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ea122f7885191540e053479625f98a181f928e2cbbf50f7e8d89e7679071e7d", kill_on_drop: false }` [INFO] [stdout] 7ea122f7885191540e053479625f98a181f928e2cbbf50f7e8d89e7679071e7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3ec467d7e700e8a31cbb1ff86659769d7d3c471285b2b1a9980cb74ce517ac4 [INFO] running `Command { std: "docker" "start" "-a" "e3ec467d7e700e8a31cbb1ff86659769d7d3c471285b2b1a9980cb74ce517ac4", kill_on_drop: false }` [INFO] [stderr] Compiling learn-wgpu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `web_platform` [INFO] [stdout] --> src/application.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(web_platform))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `web_platform` [INFO] [stdout] --> src/application.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(web_platform)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/application.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/application.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/application.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use ::tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ElementState` and `KeyEvent` [INFO] [stdout] --> src/application.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use winit::event::{ElementState, KeyEvent, StartCause, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ControlFlow` and `EventLoop` [INFO] [stdout] --> src/application.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | use winit::event_loop::{ActiveEventLoop, ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key` and `NamedKey` [INFO] [stdout] --> src/application.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use winit::keyboard::{Key, NamedKey}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::level_filters::LevelFilter` [INFO] [stdout] --> src/logging.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::level_filters::LevelFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `WindowEvent`, and `window::Window` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | event::{Event, WindowEvent}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 8 | event_loop::EventLoop, [INFO] [stdout] 9 | window::Window, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winit::event_loop::EventLoop::::create_window`: use `ActiveEventLoop::create_window` instead [INFO] [stdout] --> src/main.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | .create_window(window_attr) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> src/application.rs:191:61 [INFO] [stdout] | [INFO] [stdout] 191 | fn new_events(&mut self, _event_loop: &ActiveEventLoop, cause: StartCause) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/application.rs:270:27 [INFO] [stdout] | [INFO] [stdout] 270 | fn resumed(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/application.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / #[repr(C)] [INFO] [stdout] 17 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 18 | | struct Vertex { [INFO] [stdout] 19 | | position: [f32; 3], [INFO] [stdout] 20 | | color: [f32; 3], [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_vertices` is never read [INFO] [stdout] --> src/application.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ApplicationFlow<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | num_vertices: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "e3ec467d7e700e8a31cbb1ff86659769d7d3c471285b2b1a9980cb74ce517ac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3ec467d7e700e8a31cbb1ff86659769d7d3c471285b2b1a9980cb74ce517ac4", kill_on_drop: false }` [INFO] [stdout] e3ec467d7e700e8a31cbb1ff86659769d7d3c471285b2b1a9980cb74ce517ac4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ed559b69853bf7fc85e8ac804cf1af71bdaef4bf74b08db6bce8552c2ce8f2c4 [INFO] running `Command { std: "docker" "start" "-a" "ed559b69853bf7fc85e8ac804cf1af71bdaef4bf74b08db6bce8552c2ce8f2c4", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `web_platform` [INFO] [stderr] --> src/application.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | #[cfg(not(web_platform))] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `web_platform` [INFO] [stderr] --> src/application.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg(web_platform)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_platform)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_platform)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/application.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time` [INFO] [stderr] --> src/application.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::time; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/application.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | use ::tracing::{info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ElementState` and `KeyEvent` [INFO] [stderr] --> src/application.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | use winit::event::{ElementState, KeyEvent, StartCause, WindowEvent}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ControlFlow` and `EventLoop` [INFO] [stderr] --> src/application.rs:12:42 [INFO] [stderr] | [INFO] [stderr] 12 | use winit::event_loop::{ActiveEventLoop, ControlFlow, EventLoop}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Key` and `NamedKey` [INFO] [stderr] --> src/application.rs:13:23 [INFO] [stderr] | [INFO] [stderr] 13 | use winit::keyboard::{Key, NamedKey}; [INFO] [stderr] | ^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::level_filters::LevelFilter` [INFO] [stderr] --> src/logging.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use tracing::level_filters::LevelFilter; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Event`, `WindowEvent`, and `window::Window` [INFO] [stderr] --> src/main.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | event::{Event, WindowEvent}, [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ [INFO] [stderr] 8 | event_loop::EventLoop, [INFO] [stderr] 9 | window::Window, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `winit::event_loop::EventLoop::::create_window`: use `ActiveEventLoop::create_window` instead [INFO] [stderr] --> src/main.rs:67:10 [INFO] [stderr] | [INFO] [stderr] 67 | .create_window(window_attr) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cause` [INFO] [stderr] --> src/application.rs:191:61 [INFO] [stderr] | [INFO] [stderr] 191 | fn new_events(&mut self, _event_loop: &ActiveEventLoop, cause: StartCause) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event_loop` [INFO] [stderr] --> src/application.rs:270:27 [INFO] [stderr] | [INFO] [stderr] 270 | fn resumed(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/application.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | struct Vertex { [INFO] [stderr] | ^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> src/application.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / #[repr(C)] [INFO] [stderr] 17 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stderr] 18 | | struct Vertex { [INFO] [stderr] 19 | | position: [f32; 3], [INFO] [stderr] 20 | | color: [f32; 3], [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `num_vertices` is never read [INFO] [stderr] --> src/application.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 63 | pub struct ApplicationFlow<'a> { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 77 | num_vertices: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `learn-wgpu` (bin "learn-wgpu" test) generated 17 warnings (run `cargo fix --bin "learn-wgpu" --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/learn_wgpu-9e118a7f555e2a38) [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" "ed559b69853bf7fc85e8ac804cf1af71bdaef4bf74b08db6bce8552c2ce8f2c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed559b69853bf7fc85e8ac804cf1af71bdaef4bf74b08db6bce8552c2ce8f2c4", kill_on_drop: false }` [INFO] [stdout] ed559b69853bf7fc85e8ac804cf1af71bdaef4bf74b08db6bce8552c2ce8f2c4