[INFO] fetching crate EMCompute 6.0.0... [INFO] checking EMCompute-6.0.0 against master#419b3e2d3e350822550eee0e82eeded4d324d584 for pr-135536 [INFO] extracting crate EMCompute 6.0.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate EMCompute 6.0.0 on toolchain 419b3e2d3e350822550eee0e82eeded4d324d584 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+419b3e2d3e350822550eee0e82eeded4d324d584" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+419b3e2d3e350822550eee0e82eeded4d324d584" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 148 packages to latest compatible versions [INFO] [stderr] Adding cbindgen v0.27.0 (available: v0.28.0) [INFO] [stderr] Adding pollster v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding wgpu v22.1.0 (available: v24.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+419b3e2d3e350822550eee0e82eeded4d324d584" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded range-alloc v0.1.4 [INFO] [stderr] Downloaded cbindgen v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+419b3e2d3e350822550eee0e82eeded4d324d584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa8a023499e5f661c7bb792f65d9699f68f6e10bbf41c81cc7ac9857a6fa230b [INFO] running `Command { std: "docker" "start" "-a" "fa8a023499e5f661c7bb792f65d9699f68f6e10bbf41c81cc7ac9857a6fa230b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa8a023499e5f661c7bb792f65d9699f68f6e10bbf41c81cc7ac9857a6fa230b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa8a023499e5f661c7bb792f65d9699f68f6e10bbf41c81cc7ac9857a6fa230b", kill_on_drop: false }` [INFO] [stdout] fa8a023499e5f661c7bb792f65d9699f68f6e10bbf41c81cc7ac9857a6fa230b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+419b3e2d3e350822550eee0e82eeded4d324d584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f12860f86b320c214ed3910397794f7f4f52bb1a8c8e090e53e948820304b7bc [INFO] running `Command { std: "docker" "start" "-a" "f12860f86b320c214ed3910397794f7f4f52bb1a8c8e090e53e948820304b7bc", kill_on_drop: false }` [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling naga v22.1.0 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking bit-set v0.6.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling wgpu-hal v22.0.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking gpu-descriptor v0.3.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking wgpu-types v22.0.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling wgpu-core v22.1.0 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling wgpu v22.1.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling thiserror-impl 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: 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: 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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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: 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: creating a shared reference to mutable static is discouraged [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: `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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 54.58s [INFO] running `Command { std: "docker" "inspect" "f12860f86b320c214ed3910397794f7f4f52bb1a8c8e090e53e948820304b7bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f12860f86b320c214ed3910397794f7f4f52bb1a8c8e090e53e948820304b7bc", kill_on_drop: false }` [INFO] [stdout] f12860f86b320c214ed3910397794f7f4f52bb1a8c8e090e53e948820304b7bc