[INFO] fetching crate EMCompute 6.0.0... [INFO] checking EMCompute-6.0.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate EMCompute 6.0.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate EMCompute 6.0.0 [INFO] finished tweaking crates.io crate EMCompute 6.0.0 [INFO] tweaked toml for crates.io crate EMCompute 6.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate EMCompute 6.0.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 164 packages to latest compatible versions [INFO] [stderr] Adding cbindgen v0.27.0 (available: v0.29.0) [INFO] [stderr] Adding pollster v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding wgpu v22.1.0 (available: v26.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad0074cba9eb7cf2c246bc90ac5ff336f82dbd1f60a5cc49538f90a1128382ae [INFO] running `Command { std: "docker" "start" "-a" "ad0074cba9eb7cf2c246bc90ac5ff336f82dbd1f60a5cc49538f90a1128382ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad0074cba9eb7cf2c246bc90ac5ff336f82dbd1f60a5cc49538f90a1128382ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad0074cba9eb7cf2c246bc90ac5ff336f82dbd1f60a5cc49538f90a1128382ae", kill_on_drop: false }` [INFO] [stdout] ad0074cba9eb7cf2c246bc90ac5ff336f82dbd1f60a5cc49538f90a1128382ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f88653e98787957b6e4abb5db6850bb57c31dccf14729b0686a207b2e6cd8827 [INFO] running `Command { std: "docker" "start" "-a" "f88653e98787957b6e4abb5db6850bb57c31dccf14729b0686a207b2e6cd8827", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Compiling naga v22.1.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling wgpu-hal v22.0.0 [INFO] [stderr] Checking wgpu-types v22.0.0 [INFO] [stderr] Compiling wgpu-core v22.1.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling wgpu v22.1.0 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking bit-set v0.6.0 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking EMCompute v6.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `all` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | all = 0 , [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `All` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `default_backend` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | default_backend = 1 , [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DefaultBackend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `vulkan` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | vulkan = 2, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vulkan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `opengl` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | opengl = 3 , [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Opengl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `metal` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | metal = 4 , [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Metal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `direct_x12` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | direct_x12 = 5, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `DirectX12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `webgpu` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | webgpu = 6 , [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Webgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `highest_support` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | highest_support = 7 , [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HighestSupport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `lowest_support` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | lowest_support = 8 , [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LowestSupport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `none` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | none = 0 , [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `None` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `prefer_performance` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | prefer_performance = 0 , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PreferPerformance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `prefer_memory` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | prefer_memory = 1 , [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PreferMemory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `custom_memory` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | custom_memory = 3 , [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CustomMemory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `lowest_speed` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | lowest_speed = 0 , [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LowestSpeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `low_speed` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | low_speed = 1 , [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LowSpeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `default_speed` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | default_speed = 2 , [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DefaultSpeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `custom_speed` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | custom_speed = 3 , [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CustomSpeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GPUComputingConfig`, `GPUMemorySettings`, `GPUPowerSettings`, and `GPUSpeedSettings` [INFO] [stdout] --> src/gpu_device.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | GPUPowerSettings , [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | GPUSpeedSettings , [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | GPUMemorySettings , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | GPUComputingConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `all` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | all = 0 , [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `All` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `default_backend` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | default_backend = 1 , [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DefaultBackend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `vulkan` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | vulkan = 2, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vulkan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `opengl` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | opengl = 3 , [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Opengl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `metal` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | metal = 4 , [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Metal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `direct_x12` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | direct_x12 = 5, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `DirectX12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `webgpu` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | webgpu = 6 , [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Webgpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `highest_support` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | highest_support = 7 , [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HighestSupport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `lowest_support` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | lowest_support = 8 , [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LowestSupport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `none` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | none = 0 , [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `None` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `prefer_performance` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | prefer_performance = 0 , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PreferPerformance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `prefer_memory` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | prefer_memory = 1 , [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PreferMemory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `custom_memory` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | custom_memory = 3 , [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CustomMemory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `lowest_speed` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | lowest_speed = 0 , [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LowestSpeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `low_speed` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | low_speed = 1 , [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LowSpeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `default_speed` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | default_speed = 2 , [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DefaultSpeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `custom_speed` should have an upper camel case name [INFO] [stdout] --> src/configuration.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | custom_speed = 3 , [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CustomSpeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GPUComputingConfig`, `GPUMemorySettings`, `GPUPowerSettings`, and `GPUSpeedSettings` [INFO] [stdout] --> src/gpu_device.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | GPUPowerSettings , [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | GPUSpeedSettings , [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | GPUMemorySettings , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | GPUComputingConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/gpu_device.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let name = std::ffi::CString::from_raw(self.name as *mut c_char); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `driver` [INFO] [stdout] --> src/gpu_device.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let driver = std::ffi::CString::from_raw(self.driver as *mut c_char); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `driver_info` [INFO] [stdout] --> src/gpu_device.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let driver_info = std::ffi::CString::from_raw(self.driver_info as *mut c_char); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_vec` [INFO] [stdout] --> src/gpu_device.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let tmp_vec = Vec::from_raw_parts(devices.infos , devices.len , devices.len); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gpu_device.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let mut devices = &mut *devices; [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/lib.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let mut adapter : wgpu::Adapter; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:741:21 [INFO] [stdout] | [INFO] [stdout] 741 | let data : Box<[u8]> = unsafe{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:759:43 [INFO] [stdout] | [INFO] [stdout] 757 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 758 | let mapped_data_ptr = mapped_data.as_ptr(); [INFO] [stdout] 759 | let data: &[u8] = unsafe { std::slice::from_raw_parts(mapped_data_ptr , binder.data_len) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:236:23 [INFO] [stdout] | [INFO] [stdout] 236 | if let None = &GPU_RES_KEEPER { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 236 | if let None = &raw const GPU_RES_KEEPER { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:240:20 [INFO] [stdout] | [INFO] [stdout] 240 | let arci = GPU_RES_KEEPER.clone().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `GPU_Data` should have a snake case name [INFO] [stdout] --> src/lib.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | let mut GPU_Data = arci.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `gpu_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | match &GPU_RES_KEEPER { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 260 | match &raw const GPU_RES_KEEPER { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:321:15 [INFO] [stdout] | [INFO] [stdout] 321 | match &GPU_RES_KEEPER { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 321 | match &raw const GPU_RES_KEEPER { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:406:19 [INFO] [stdout] | [INFO] [stdout] 406 | match &GPU_RES_KEEPER { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 406 | match &raw const GPU_RES_KEEPER { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/gpu_device.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let name = std::ffi::CString::from_raw(self.name as *mut c_char); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `driver` [INFO] [stdout] --> src/gpu_device.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let driver = std::ffi::CString::from_raw(self.driver as *mut c_char); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `driver_info` [INFO] [stdout] --> src/gpu_device.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let driver_info = std::ffi::CString::from_raw(self.driver_info as *mut c_char); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_vec` [INFO] [stdout] --> src/gpu_device.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let tmp_vec = Vec::from_raw_parts(devices.infos , devices.len , devices.len); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gpu_device.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let mut devices = &mut *devices; [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/lib.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let mut adapter : wgpu::Adapter; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:741:21 [INFO] [stdout] | [INFO] [stdout] 741 | let data : Box<[u8]> = unsafe{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:759:43 [INFO] [stdout] | [INFO] [stdout] 757 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 758 | let mapped_data_ptr = mapped_data.as_ptr(); [INFO] [stdout] 759 | let data: &[u8] = unsafe { std::slice::from_raw_parts(mapped_data_ptr , binder.data_len) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `EMCompute` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `emcompute` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:236:23 [INFO] [stdout] | [INFO] [stdout] 236 | if let None = &GPU_RES_KEEPER { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 236 | if let None = &raw const GPU_RES_KEEPER { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:240:20 [INFO] [stdout] | [INFO] [stdout] 240 | let arci = GPU_RES_KEEPER.clone().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `GPU_Data` should have a snake case name [INFO] [stdout] --> src/lib.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | let mut GPU_Data = arci.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `gpu_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | match &GPU_RES_KEEPER { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 260 | match &raw const GPU_RES_KEEPER { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:321:15 [INFO] [stdout] | [INFO] [stdout] 321 | match &GPU_RES_KEEPER { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 321 | match &raw const GPU_RES_KEEPER { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:406:19 [INFO] [stdout] | [INFO] [stdout] 406 | match &GPU_RES_KEEPER { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 406 | match &raw const GPU_RES_KEEPER { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.29s [INFO] running `Command { std: "docker" "inspect" "f88653e98787957b6e4abb5db6850bb57c31dccf14729b0686a207b2e6cd8827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f88653e98787957b6e4abb5db6850bb57c31dccf14729b0686a207b2e6cd8827", kill_on_drop: false }` [INFO] [stdout] f88653e98787957b6e4abb5db6850bb57c31dccf14729b0686a207b2e6cd8827