[INFO] cloning repository https://github.com/aredden/renoir-mobile-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aredden/renoir-mobile-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faredden%2Frenoir-mobile-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faredden%2Frenoir-mobile-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37505033f3c3f44bedaa01bf7d70a703aac392db [INFO] checking aredden/renoir-mobile-cli against master#fe348cd1a8e0fa445b772393147ed865904dcd4d for pr-139587-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faredden%2Frenoir-mobile-cli" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aredden/renoir-mobile-cli on toolchain fe348cd1a8e0fa445b772393147ed865904dcd4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aredden/renoir-mobile-cli [INFO] finished tweaking git repo https://github.com/aredden/renoir-mobile-cli [INFO] tweaked toml for git repo https://github.com/aredden/renoir-mobile-cli written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/aredden/renoir-mobile-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libloading v0.6.5 [INFO] [stderr] Downloaded json v0.12.4 [INFO] [stderr] Downloaded libc v0.2.80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fedb4ce3db99f4be75f1e48707ddbe3d4893fa04b639139668f71015935b5dc [INFO] running `Command { std: "docker" "start" "-a" "0fedb4ce3db99f4be75f1e48707ddbe3d4893fa04b639139668f71015935b5dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fedb4ce3db99f4be75f1e48707ddbe3d4893fa04b639139668f71015935b5dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fedb4ce3db99f4be75f1e48707ddbe3d4893fa04b639139668f71015935b5dc", kill_on_drop: false }` [INFO] [stdout] 0fedb4ce3db99f4be75f1e48707ddbe3d4893fa04b639139668f71015935b5dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54c76cad570cd89049e6e3a22392f5c90a7ec9dc42de7c78e0f5321ba6d4fc98 [INFO] running `Command { std: "docker" "start" "-a" "54c76cad570cd89049e6e3a22392f5c90a7ec9dc42de7c78e0f5321ba6d4fc98", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling renoir-mobile v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking libloading v0.6.5 [INFO] [stdout] warning: use of a double negation [INFO] [stdout] --> src/smu.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | while (!result || data == 0) && --timeout > 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the prefix `--` could be misinterpreted as a decrement operator which exists in other languages [INFO] [stdout] = note: use `-= 1` if you meant to decrement the value [INFO] [stdout] = note: `#[warn(double_negations)]` on by default [INFO] [stdout] help: add parentheses for clarity [INFO] [stdout] | [INFO] [stdout] 76 | while (!result || data == 0) && -(-timeout) > 0 { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `assoc_char_funcs` has been stable since 1.52.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(assoc_char_funcs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of a double negation [INFO] [stdout] --> src/smu.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | while (!result || data == 0) && --timeout > 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the prefix `--` could be misinterpreted as a decrement operator which exists in other languages [INFO] [stdout] = note: use `-= 1` if you meant to decrement the value [INFO] [stdout] = note: `#[warn(double_negations)]` on by default [INFO] [stdout] help: add parentheses for clarity [INFO] [stdout] | [INFO] [stdout] 76 | while (!result || data == 0) && -(-timeout) > 0 { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `assoc_char_funcs` has been stable since 1.52.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(assoc_char_funcs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/ols.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | type FnInitialize = unsafe extern "stdcall" fn() -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] = note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/ols.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | type FnCpuid = unsafe extern "stdcall" fn(u32, &mut u32, &mut u32, &mut u32, &mut u32) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/ols.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | type FnRead = unsafe extern "stdcall" fn(u32, u32, *mut u32) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/ols.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | type FnWrite = unsafe extern "stdcall" fn(u32, u32, u32) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/smu.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | let func: lib::Symbol bool> = lib.get(b"GetPhysLong").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/ols.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | type FnInitialize = unsafe extern "stdcall" fn() -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] = note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/ols.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | type FnCpuid = unsafe extern "stdcall" fn(u32, &mut u32, &mut u32, &mut u32, &mut u32) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/ols.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | type FnRead = unsafe extern "stdcall" fn(u32, u32, *mut u32) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/ols.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | type FnWrite = unsafe extern "stdcall" fn(u32, u32, u32) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/smu.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | let func: lib::Symbol bool> = lib.get(b"GetPhysLong").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/smu.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { return std::mem::transmute::(data); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f32::from_bits(data)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ols.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | Err(e) => return Err(Error::DllNotFound) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_initialize` [INFO] [stdout] --> src/ols.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | let (func_initialize, func_cpuid, func_read, func_write) = unsafe { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_initialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_cpuid` [INFO] [stdout] --> src/ols.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | let (func_initialize, func_cpuid, func_read, func_write) = unsafe { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_cpuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_read` [INFO] [stdout] --> src/ols.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | let (func_initialize, func_cpuid, func_read, func_write) = unsafe { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_write` [INFO] [stdout] --> src/ols.rs:34:54 [INFO] [stdout] | [INFO] [stdout] 34 | let (func_initialize, func_cpuid, func_read, func_write) = unsafe { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/ols.rs:35:96 [INFO] [stdout] | [INFO] [stdout] 35 | let func_read: libloading::Symbol = lib.get(ReadPciConfigDwordEx).map_err(|err| Error::DllIncorrectVersion)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/ols.rs:36:99 [INFO] [stdout] | [INFO] [stdout] 36 | let func_write: libloading::Symbol = lib.get(WritePciConfigDwordEx).map_err(|err| Error::DllIncorrectVersion)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/ols.rs:37:101 [INFO] [stdout] | [INFO] [stdout] 37 | let func_initialize: libloading::Symbol = lib.get(InitializeOls).map_err(|err| Error::DllIncorrectVersion)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/smu.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { return std::mem::transmute::(data); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f32::from_bits(data)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/ols.rs:38:83 [INFO] [stdout] | [INFO] [stdout] 38 | let func_cpuid: libloading::Symbol = lib.get(Cpuid).map_err(|err| Error::DllIncorrectVersion)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ols.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let lib = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unit` is never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct MonitoringItem { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 24 | description: String, [INFO] [stdout] 25 | unit: Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MonitoringItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ols.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | Err(e) => return Err(Error::DllNotFound) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_initialize` [INFO] [stdout] --> src/ols.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | let (func_initialize, func_cpuid, func_read, func_write) = unsafe { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_initialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_cpuid` [INFO] [stdout] --> src/ols.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | let (func_initialize, func_cpuid, func_read, func_write) = unsafe { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_cpuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_read` [INFO] [stdout] --> src/ols.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | let (func_initialize, func_cpuid, func_read, func_write) = unsafe { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_write` [INFO] [stdout] --> src/ols.rs:34:54 [INFO] [stdout] | [INFO] [stdout] 34 | let (func_initialize, func_cpuid, func_read, func_write) = unsafe { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getPhysLong` should have a snake case name [INFO] [stdout] --> src/smu.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn getPhysLong(address: u32, data: &mut u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_phys_long` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/ols.rs:35:96 [INFO] [stdout] | [INFO] [stdout] 35 | let func_read: libloading::Symbol = lib.get(ReadPciConfigDwordEx).map_err(|err| Error::DllIncorrectVersion)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/ols.rs:36:99 [INFO] [stdout] | [INFO] [stdout] 36 | let func_write: libloading::Symbol = lib.get(WritePciConfigDwordEx).map_err(|err| Error::DllIncorrectVersion)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SMU_ADDR_RSP` should have a snake case name [INFO] [stdout] --> src/smu.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | fn wait4rsp(&self, SMU_ADDR_RSP: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `smu_addr_rsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/ols.rs:37:101 [INFO] [stdout] | [INFO] [stdout] 37 | let func_initialize: libloading::Symbol = lib.get(InitializeOls).map_err(|err| Error::DllIncorrectVersion)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SMU_ADDR_MSG` should have a snake case name [INFO] [stdout] --> src/smu.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | fn send_msg(&self, SMU_ADDR_MSG: u32, SMU_ADDR_RSP: u32, SMU_ADDR_ARG: u32, message: u32, args: &mut Vec) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `smu_addr_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/ols.rs:38:83 [INFO] [stdout] | [INFO] [stdout] 38 | let func_cpuid: libloading::Symbol = lib.get(Cpuid).map_err(|err| Error::DllIncorrectVersion)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ols.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let lib = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SMU_ADDR_RSP` should have a snake case name [INFO] [stdout] --> src/smu.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 84 | fn send_msg(&self, SMU_ADDR_MSG: u32, SMU_ADDR_RSP: u32, SMU_ADDR_ARG: u32, message: u32, args: &mut Vec) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `smu_addr_rsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SMU_ADDR_ARG` should have a snake case name [INFO] [stdout] --> src/smu.rs:84:62 [INFO] [stdout] | [INFO] [stdout] 84 | fn send_msg(&self, SMU_ADDR_MSG: u32, SMU_ADDR_RSP: u32, SMU_ADDR_ARG: u32, message: u32, args: &mut Vec) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `smu_addr_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ReadPciConfigDwordEx` should have an upper case name [INFO] [stdout] --> src/ols.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const ReadPciConfigDwordEx: &'static [u8] = b"ReadPciConfigDwordEx"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `READ_PCI_CONFIG_DWORD_EX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WritePciConfigDwordEx` should have an upper case name [INFO] [stdout] --> src/ols.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const WritePciConfigDwordEx: &'static [u8] = b"WritePciConfigDwordEx"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `WRITE_PCI_CONFIG_DWORD_EX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `InitializeOls` should have an upper case name [INFO] [stdout] --> src/ols.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const InitializeOls: &'static [u8] = b"InitializeOls"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `INITIALIZE_OLS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Cpuid` should have an upper case name [INFO] [stdout] --> src/ols.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const Cpuid: &'static [u8] = b"Cpuid"; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `CPUID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `WritePciConfigDwordEx` should have a snake case name [INFO] [stdout] --> src/ols.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn WritePciConfigDwordEx(&self, pciAddress: u32, regAddress: u32, value: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_pci_config_dword_ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pciAddress` should have a snake case name [INFO] [stdout] --> src/ols.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn WritePciConfigDwordEx(&self, pciAddress: u32, regAddress: u32, value: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pci_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `regAddress` should have a snake case name [INFO] [stdout] --> src/ols.rs:60:58 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn WritePciConfigDwordEx(&self, pciAddress: u32, regAddress: u32, value: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reg_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ReadPciConfigDwordEx` should have a snake case name [INFO] [stdout] --> src/ols.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ReadPciConfigDwordEx(&self, pciAddress: u32, regAddress: u32, value: &mut u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_pci_config_dword_ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pciAddress` should have a snake case name [INFO] [stdout] --> src/ols.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ReadPciConfigDwordEx(&self, pciAddress: u32, regAddress: u32, value: &mut u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pci_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `regAddress` should have a snake case name [INFO] [stdout] --> src/ols.rs:67:57 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ReadPciConfigDwordEx(&self, pciAddress: u32, regAddress: u32, value: &mut u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reg_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Cpuid` should have a snake case name [INFO] [stdout] --> src/ols.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn Cpuid(&self, index: u32, eax: &mut u32, ebx: &mut u32, ecx: &mut u32, edx: &mut u32) -> i32 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `cpuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unit` is never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct MonitoringItem { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 24 | description: String, [INFO] [stdout] 25 | unit: Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MonitoringItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getPhysLong` should have a snake case name [INFO] [stdout] --> src/smu.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn getPhysLong(address: u32, data: &mut u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_phys_long` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SMU_ADDR_RSP` should have a snake case name [INFO] [stdout] --> src/smu.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | fn wait4rsp(&self, SMU_ADDR_RSP: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `smu_addr_rsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SMU_ADDR_MSG` should have a snake case name [INFO] [stdout] --> src/smu.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | fn send_msg(&self, SMU_ADDR_MSG: u32, SMU_ADDR_RSP: u32, SMU_ADDR_ARG: u32, message: u32, args: &mut Vec) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `smu_addr_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SMU_ADDR_RSP` should have a snake case name [INFO] [stdout] --> src/smu.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 84 | fn send_msg(&self, SMU_ADDR_MSG: u32, SMU_ADDR_RSP: u32, SMU_ADDR_ARG: u32, message: u32, args: &mut Vec) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `smu_addr_rsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SMU_ADDR_ARG` should have a snake case name [INFO] [stdout] --> src/smu.rs:84:62 [INFO] [stdout] | [INFO] [stdout] 84 | fn send_msg(&self, SMU_ADDR_MSG: u32, SMU_ADDR_RSP: u32, SMU_ADDR_ARG: u32, message: u32, args: &mut Vec) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `smu_addr_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ReadPciConfigDwordEx` should have an upper case name [INFO] [stdout] --> src/ols.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const ReadPciConfigDwordEx: &'static [u8] = b"ReadPciConfigDwordEx"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `READ_PCI_CONFIG_DWORD_EX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WritePciConfigDwordEx` should have an upper case name [INFO] [stdout] --> src/ols.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const WritePciConfigDwordEx: &'static [u8] = b"WritePciConfigDwordEx"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `WRITE_PCI_CONFIG_DWORD_EX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `InitializeOls` should have an upper case name [INFO] [stdout] --> src/ols.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const InitializeOls: &'static [u8] = b"InitializeOls"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `INITIALIZE_OLS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Cpuid` should have an upper case name [INFO] [stdout] --> src/ols.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const Cpuid: &'static [u8] = b"Cpuid"; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `CPUID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `WritePciConfigDwordEx` should have a snake case name [INFO] [stdout] --> src/ols.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn WritePciConfigDwordEx(&self, pciAddress: u32, regAddress: u32, value: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_pci_config_dword_ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pciAddress` should have a snake case name [INFO] [stdout] --> src/ols.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn WritePciConfigDwordEx(&self, pciAddress: u32, regAddress: u32, value: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pci_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `regAddress` should have a snake case name [INFO] [stdout] --> src/ols.rs:60:58 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn WritePciConfigDwordEx(&self, pciAddress: u32, regAddress: u32, value: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reg_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ReadPciConfigDwordEx` should have a snake case name [INFO] [stdout] --> src/ols.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ReadPciConfigDwordEx(&self, pciAddress: u32, regAddress: u32, value: &mut u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_pci_config_dword_ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pciAddress` should have a snake case name [INFO] [stdout] --> src/ols.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ReadPciConfigDwordEx(&self, pciAddress: u32, regAddress: u32, value: &mut u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pci_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `regAddress` should have a snake case name [INFO] [stdout] --> src/ols.rs:67:57 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ReadPciConfigDwordEx(&self, pciAddress: u32, regAddress: u32, value: &mut u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reg_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Cpuid` should have a snake case name [INFO] [stdout] --> src/ols.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn Cpuid(&self, index: u32, eax: &mut u32, ebx: &mut u32, ecx: &mut u32, edx: &mut u32) -> i32 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `cpuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: renoir-mobile v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "54c76cad570cd89049e6e3a22392f5c90a7ec9dc42de7c78e0f5321ba6d4fc98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54c76cad570cd89049e6e3a22392f5c90a7ec9dc42de7c78e0f5321ba6d4fc98", kill_on_drop: false }` [INFO] [stdout] 54c76cad570cd89049e6e3a22392f5c90a7ec9dc42de7c78e0f5321ba6d4fc98