[INFO] fetching crate marching_squares_wgpu 0.2.0... [INFO] testing marching_squares_wgpu-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate marching_squares_wgpu 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate marching_squares_wgpu 0.2.0 [INFO] finished tweaking crates.io crate marching_squares_wgpu 0.2.0 [INFO] tweaked toml for crates.io crate marching_squares_wgpu 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate marching_squares_wgpu 0.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 121 packages to latest compatible versions [INFO] [stderr] Adding glam v0.29.3 (available: v0.30.8) [INFO] [stderr] Adding wgpu v23.0.1 (available: v27.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e8134b4df980022f7db0c12ee792437fa8da78060546efe42c701ed83e9b9a4 [INFO] running `Command { std: "docker" "start" "-a" "8e8134b4df980022f7db0c12ee792437fa8da78060546efe42c701ed83e9b9a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e8134b4df980022f7db0c12ee792437fa8da78060546efe42c701ed83e9b9a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e8134b4df980022f7db0c12ee792437fa8da78060546efe42c701ed83e9b9a4", kill_on_drop: false }` [INFO] [stdout] 8e8134b4df980022f7db0c12ee792437fa8da78060546efe42c701ed83e9b9a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ca81c7c8496489cab0bc427caa311bf6b6772d682dd2a17539840f77da19cc5 [INFO] running `Command { std: "docker" "start" "-a" "8ca81c7c8496489cab0bc427caa311bf6b6772d682dd2a17539840f77da19cc5", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling naga v23.1.0 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling wgpu-hal v23.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling gpu-descriptor v0.3.2 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling wgpu-types v23.0.0 [INFO] [stderr] Compiling wgpu-core v23.0.1 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling glow v0.14.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling wgpu v23.0.1 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling glam v0.29.3 [INFO] [stderr] Compiling marching_squares_wgpu v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `push_constants_offset` is never used [INFO] [stdout] --> src/push_constants.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl PushConstants { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn push_constants_offset(&self, dispatch_index: u32) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_2d_texture` is never used [INFO] [stdout] --> src/utils.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn gen_2d_texture( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_2d_texture_from_fn` is never used [INFO] [stdout] --> src/utils.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn gen_2d_texture_from_fn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_active_pixel_ids` is never used [INFO] [stdout] --> src/utils.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn compute_active_pixel_ids( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_back` is never used [INFO] [stdout] --> src/utils.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn read_back(device: &Device, queue: &Queue, input: &Buffer) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "8ca81c7c8496489cab0bc427caa311bf6b6772d682dd2a17539840f77da19cc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ca81c7c8496489cab0bc427caa311bf6b6772d682dd2a17539840f77da19cc5", kill_on_drop: false }` [INFO] [stdout] 8ca81c7c8496489cab0bc427caa311bf6b6772d682dd2a17539840f77da19cc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29f039ef65c5c2c0db00b514cfdc5bcec24594c6415cabd27ea11ae48583689e [INFO] running `Command { std: "docker" "start" "-a" "29f039ef65c5c2c0db00b514cfdc5bcec24594c6415cabd27ea11ae48583689e", kill_on_drop: false }` [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stdout] warning: method `push_constants_offset` is never used [INFO] [stdout] --> src/push_constants.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl PushConstants { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn push_constants_offset(&self, dispatch_index: u32) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_2d_texture` is never used [INFO] [stdout] --> src/utils.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn gen_2d_texture( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_2d_texture_from_fn` is never used [INFO] [stdout] --> src/utils.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn gen_2d_texture_from_fn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_active_pixel_ids` is never used [INFO] [stdout] --> src/utils.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn compute_active_pixel_ids( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_back` is never used [INFO] [stdout] --> src/utils.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn read_back(device: &Device, queue: &Queue, input: &Buffer) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling marching_squares_wgpu v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `push_constants_offset` is never used [INFO] [stdout] --> src/push_constants.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl PushConstants { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn push_constants_offset(&self, dispatch_index: u32) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_active_pixel_ids` is never used [INFO] [stdout] --> src/utils.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn compute_active_pixel_ids( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_back` is never used [INFO] [stdout] --> src/utils.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn read_back(device: &Device, queue: &Queue, input: &Buffer) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.39s [INFO] running `Command { std: "docker" "inspect" "29f039ef65c5c2c0db00b514cfdc5bcec24594c6415cabd27ea11ae48583689e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29f039ef65c5c2c0db00b514cfdc5bcec24594c6415cabd27ea11ae48583689e", kill_on_drop: false }` [INFO] [stdout] 29f039ef65c5c2c0db00b514cfdc5bcec24594c6415cabd27ea11ae48583689e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cf5546231b72cf96b5a87011f2beeddae4a4007a7f2a2c8b2fde781dfd467a03 [INFO] running `Command { std: "docker" "start" "-a" "cf5546231b72cf96b5a87011f2beeddae4a4007a7f2a2c8b2fde781dfd467a03", kill_on_drop: false }` [INFO] [stderr] warning: method `push_constants_offset` is never used [INFO] [stderr] --> src/push_constants.rs:81:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl PushConstants { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 81 | pub fn push_constants_offset(&self, dispatch_index: u32) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `gen_2d_texture` is never used [INFO] [stderr] --> src/utils.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | fn gen_2d_texture( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `gen_2d_texture_from_fn` is never used [INFO] [stderr] --> src/utils.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn gen_2d_texture_from_fn( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `compute_active_pixel_ids` is never used [INFO] [stderr] --> src/utils.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn compute_active_pixel_ids( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_back` is never used [INFO] [stderr] --> src/utils.rs:98:14 [INFO] [stderr] | [INFO] [stderr] 98 | pub async fn read_back(device: &Device, queue: &Queue, input: &Buffer) -> Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `marching_squares_wgpu` (lib) generated 5 warnings [INFO] [stderr] warning: `marching_squares_wgpu` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/marching_squares_wgpu-44c156f67eac4543) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: XDG_RUNTIME_DIR is invalid or not set in the environment. [INFO] [stdout] test tests::test_marching_squares ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.14s [INFO] [stdout] [INFO] [stderr] Doc-tests marching_squares_wgpu [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/kernels/exclusive_scan.rs - kernels::exclusive_scan::ExclusiveScan::scan_inplace (line 158) - compile ... ok [INFO] [stdout] test src/kernels/stream_compaction.rs - kernels::stream_compaction::StreamCompactIDs::compact_active_ids (line 101) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 39) - compile ... FAILED [INFO] [stdout] test src/kernels/exclusive_scan.rs - kernels::exclusive_scan::ExclusiveScan::scan_inplace (line 165) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 39) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `for` [INFO] [stdout] --> src/lib.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 20 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 21 | for y in 0..height { [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TextureDescriptor` in this scope [INFO] [stdout] --> src/lib.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 29 | &TextureDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use wgpu::TextureDescriptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Extent3d` in this scope [INFO] [stdout] --> src/lib.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 31 | size: Extent3d { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use wgpu::Extent3d; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextureDimension` [INFO] [stdout] --> src/lib.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 38 | dimension: TextureDimension::D2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TextureDimension` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use wgpu::TextureDimension; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextureFormat` [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 39 | format: TextureFormat::R32Float, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextureFormat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use wgpu::TextureFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextureUsages` [INFO] [stdout] --> src/lib.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 40 | usage: TextureUsages::COPY_DST | TextureUsages::TEXTURE_BINDING, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextureUsages` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use wgpu::TextureUsages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextureUsages` [INFO] [stdout] --> src/lib.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 40 | usage: TextureUsages::COPY_DST | TextureUsages::TEXTURE_BINDING, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextureUsages` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use wgpu::TextureUsages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextureFormat` [INFO] [stdout] --> src/lib.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 41 | view_formats: &[TextureFormat::R32Float], [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextureFormat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use wgpu::TextureFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextureDataOrder` [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 43 | TextureDataOrder::LayerMajor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TextureDataOrder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use wgpu::util::TextureDataOrder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextureViewDescriptor` [INFO] [stdout] --> src/lib.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 46 | let surface_texture_view = texture.create_view(&TextureViewDescriptor::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TextureViewDescriptor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use wgpu::TextureViewDescriptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_texture_with_data` found for reference `&wgpu::Device` in the current scope [INFO] [stdout] --> src/lib.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 27 | let texture = device.create_texture_with_data( [INFO] [stdout] | -------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `create_texture` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-23.0.1/src/api/device.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn create_texture(&self, desc: &TextureDescriptor<'_>) -> Texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `DeviceExt` which provides `create_texture_with_data` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use wgpu::util::DeviceExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 44 | bytemuck::cast_slice(data), [INFO] [stdout] | -------------------- ^^^^ expected `&[_]`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytemuck-1.23.2/src/lib.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn cast_slice(a: &[A]) -> &[B] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 44 | bytemuck::cast_slice(&data), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for struct `wgpu::Buffer` in the current scope [INFO] [stdout] --> src/lib.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 55 | for vertex in contour.vertices.iter() { [INFO] [stdout] | ^^^^ method not found in `wgpu::Buffer` [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0422, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 39) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cf5546231b72cf96b5a87011f2beeddae4a4007a7f2a2c8b2fde781dfd467a03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf5546231b72cf96b5a87011f2beeddae4a4007a7f2a2c8b2fde781dfd467a03", kill_on_drop: false }` [INFO] [stdout] cf5546231b72cf96b5a87011f2beeddae4a4007a7f2a2c8b2fde781dfd467a03