[INFO] fetching crate EMCompute 6.0.0...
[INFO] building EMCompute-6.0.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate EMCompute 6.0.0 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate EMCompute 6.0.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 168 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libloading v0.8.9
[INFO] [stderr]   Downloaded pollster v0.3.0
[INFO] [stderr]   Downloaded windows-targets v0.53.4
[INFO] [stderr]   Downloaded tempfile v3.23.0
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.54
[INFO] [stderr]   Downloaded gpu-descriptor v0.3.2
[INFO] [stderr]   Downloaded xml-rs v0.8.27
[INFO] [stderr]   Downloaded litrs v0.4.2
[INFO] [stderr]   Downloaded cbindgen v0.27.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1cc37382f8d93c5d55b9cf78f4f74b1d065d50c40e6138ef84e7b7b866dde23c
[INFO] running `Command { std: "docker" "start" "-a" "1cc37382f8d93c5d55b9cf78f4f74b1d065d50c40e6138ef84e7b7b866dde23c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1cc37382f8d93c5d55b9cf78f4f74b1d065d50c40e6138ef84e7b7b866dde23c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cc37382f8d93c5d55b9cf78f4f74b1d065d50c40e6138ef84e7b7b866dde23c", kill_on_drop: false }`
[INFO] [stdout] 1cc37382f8d93c5d55b9cf78f4f74b1d065d50c40e6138ef84e7b7b866dde23c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fa2dc7c93c06b7c81ffb8d1cc56795504500ea3f5e4525b2c4c654746318a3e4
[INFO] running `Command { std: "docker" "start" "-a" "fa2dc7c93c06b7c81ffb8d1cc56795504500ea3f5e4525b2c4c654746318a3e4", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling libloading v0.8.9
[INFO] [stderr]    Compiling naga v22.1.0
[INFO] [stderr]    Compiling ash v0.38.0+1.3.281
[INFO] [stderr]    Compiling bit-vec v0.7.0
[INFO] [stderr]    Compiling khronos-egl v6.0.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling gpu-descriptor-types v0.2.0
[INFO] [stderr]    Compiling spirv v0.3.0+sdk-1.3.268.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling bit-set v0.6.0
[INFO] [stderr]    Compiling gpu-alloc-types v0.3.0
[INFO] [stderr]    Compiling wgpu-hal v22.0.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling indexmap v2.11.4
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[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 wgpu-types v22.0.0
[INFO] [stderr]    Compiling wgpu-core v22.1.0
[INFO] [stderr]    Compiling profiling v1.0.17
[INFO] [stderr]    Compiling litrs v0.4.2
[INFO] [stderr]    Compiling glow v0.13.1
[INFO] [stderr]    Compiling renderdoc-sys v1.1.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling wgpu v22.1.0
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling document-features v0.2.11
[INFO] [stderr]    Compiling pollster v0.3.0
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 1m 27s
[INFO] running `Command { std: "docker" "inspect" "fa2dc7c93c06b7c81ffb8d1cc56795504500ea3f5e4525b2c4c654746318a3e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa2dc7c93c06b7c81ffb8d1cc56795504500ea3f5e4525b2c4c654746318a3e4", kill_on_drop: false }`
[INFO] [stdout] fa2dc7c93c06b7c81ffb8d1cc56795504500ea3f5e4525b2c4c654746318a3e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9a3a26bd54c208cdadf8117eac7f7882b627da38f1f623f9f790fe15b5118f1a
[INFO] running `Command { std: "docker" "start" "-a" "9a3a26bd54c208cdadf8117eac7f7882b627da38f1f623f9f790fe15b5118f1a", kill_on_drop: false }`
[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)]` (part of `#[warn(nonstandard_style)]`) 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] [stderr]    Compiling EMCompute v6.0.0 (/opt/rustwide/workdir)
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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)]` (part of `#[warn(nonstandard_style)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 `test` profile [unoptimized + debuginfo] target(s) in 2.07s
[INFO] running `Command { std: "docker" "inspect" "9a3a26bd54c208cdadf8117eac7f7882b627da38f1f623f9f790fe15b5118f1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a3a26bd54c208cdadf8117eac7f7882b627da38f1f623f9f790fe15b5118f1a", kill_on_drop: false }`
[INFO] [stdout] 9a3a26bd54c208cdadf8117eac7f7882b627da38f1f623f9f790fe15b5118f1a
