[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] building aredden/renoir-mobile-cli against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faredden%2Frenoir-mobile-cli" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aredden/renoir-mobile-cli on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-3-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libloading v0.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f2f5e42004e7914a94f850e66a5c3b51913b246b15d3e6c88ecc890c02ff09d [INFO] running `Command { std: "docker" "start" "-a" "3f2f5e42004e7914a94f850e66a5c3b51913b246b15d3e6c88ecc890c02ff09d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f2f5e42004e7914a94f850e66a5c3b51913b246b15d3e6c88ecc890c02ff09d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f2f5e42004e7914a94f850e66a5c3b51913b246b15d3e6c88ecc890c02ff09d", kill_on_drop: false }` [INFO] [stdout] 3f2f5e42004e7914a94f850e66a5c3b51913b246b15d3e6c88ecc890c02ff09d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f90e84de3a0deb13470811943ea4ee94854fde8f9b5f9439d0aa473d89f62a5 [INFO] running `Command { std: "docker" "start" "-a" "4f90e84de3a0deb13470811943ea4ee94854fde8f9b5f9439d0aa473d89f62a5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling renoir-mobile v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling libloading v0.6.5 [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: 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: 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: 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.89s [INFO] running `Command { std: "docker" "inspect" "4f90e84de3a0deb13470811943ea4ee94854fde8f9b5f9439d0aa473d89f62a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f90e84de3a0deb13470811943ea4ee94854fde8f9b5f9439d0aa473d89f62a5", kill_on_drop: false }` [INFO] [stdout] 4f90e84de3a0deb13470811943ea4ee94854fde8f9b5f9439d0aa473d89f62a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78d14f8abd8ced372847219f3c397592c6a878236ef72352782ea14b7e854900 [INFO] running `Command { std: "docker" "start" "-a" "78d14f8abd8ced372847219f3c397592c6a878236ef72352782ea14b7e854900", kill_on_drop: false }` [INFO] [stderr] Compiling renoir-mobile v0.1.0 (/opt/rustwide/workdir) [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: 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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "78d14f8abd8ced372847219f3c397592c6a878236ef72352782ea14b7e854900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78d14f8abd8ced372847219f3c397592c6a878236ef72352782ea14b7e854900", kill_on_drop: false }` [INFO] [stdout] 78d14f8abd8ced372847219f3c397592c6a878236ef72352782ea14b7e854900