[INFO] cloning repository https://github.com/BEARUBC/fsr_integration [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BEARUBC/fsr_integration" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBEARUBC%2Ffsr_integration", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBEARUBC%2Ffsr_integration'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2e1c9cb1fadbe4ab10072429138ac9277baf649 [INFO] checking BEARUBC/fsr_integration/b2e1c9cb1fadbe4ab10072429138ac9277baf649 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBEARUBC%2Ffsr_integration" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BEARUBC/fsr_integration on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BEARUBC/fsr_integration [INFO] finished tweaking git repo https://github.com/BEARUBC/fsr_integration [INFO] tweaked toml for git repo https://github.com/BEARUBC/fsr_integration written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/BEARUBC/fsr_integration 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ec568593014fdd473a6c1a7bedbf76de1c8efe4db3d73b26350b8b4ccb910f3 [INFO] running `Command { std: "docker" "start" "-a" "4ec568593014fdd473a6c1a7bedbf76de1c8efe4db3d73b26350b8b4ccb910f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ec568593014fdd473a6c1a7bedbf76de1c8efe4db3d73b26350b8b4ccb910f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ec568593014fdd473a6c1a7bedbf76de1c8efe4db3d73b26350b8b4ccb910f3", kill_on_drop: false }` [INFO] [stdout] 4ec568593014fdd473a6c1a7bedbf76de1c8efe4db3d73b26350b8b4ccb910f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0564c8ce27ab9ed438eef5d63ca16961222387785df5c04ce661cca16d80031f [INFO] running `Command { std: "docker" "start" "-a" "0564c8ce27ab9ed438eef5d63ca16961222387785df5c04ce661cca16d80031f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking gpio v0.4.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Checking rppal v0.14.1 [INFO] [stderr] Checking spidev v0.3.0 [INFO] [stderr] Checking mcp3008 v1.0.0 [INFO] [stderr] Checking fsr_integration v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/lib.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::pin; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Vec` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FSR_INTEGRATION` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct FSR_INTEGRATION { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FsrIntegration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/lib.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | match (i) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - match (i) { [INFO] [stdout] 157 + match i { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/lib.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | match (i) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - match (i) { [INFO] [stdout] 165 + match i { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/lib.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::pin; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Vec` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FSR_INTEGRATION` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct FSR_INTEGRATION { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FsrIntegration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/lib.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | match (i) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - match (i) { [INFO] [stdout] 157 + match i { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/lib.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | match (i) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - match (i) { [INFO] [stdout] 165 + match i { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BAUD_RATE` is never used [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const BAUD_RATE: u64 = 115200; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `adcInputGpio` is never read [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct FSR_INTEGRATION { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 38 | adcInputGpio: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mux_mapping` should have an upper case name [INFO] [stdout] --> src/lib.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | const mux_mapping: [u8; 10] = [3, 0, 1, 5, 7, 2, 6, 4, 3, 0]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `MUX_MAPPING` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `adcInputGpio` should have a snake case name [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | adcInputGpio: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `adc_input_gpio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `outputPinMap` should have a snake case name [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | outputPinMap: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `output_pin_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `currentEnabledMux` should have a snake case name [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | currentEnabledMux: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_enabled_mux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 48 | let gpio = Gpio::new().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | [INFO] [stdout] 50 | Ok(FSR_INTEGRATION{ [INFO] [stdout] | ____________^ [INFO] [stdout] 51 | | adcInputGpio: gpio.get(PIN_ADC_INPUT).unwrap().into_input(), [INFO] [stdout] 52 | | outputPinMap: FSR_INTEGRATION::setupPins().unwrap(), [INFO] [stdout] 53 | | currentEnabledMux: 1, [INFO] [stdout] 54 | | mcp3008: Mcp3008::new("/dev/spidev0.0").unwrap() [INFO] [stdout] 55 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setupPins` should have a snake case name [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn setupPins() -> Result>, StdError> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `setup_pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputPinMap` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let mut outputPinMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `output_pin_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bitRead` should have a snake case name [INFO] [stdout] --> src/lib.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn bitRead(x: u8, i: u8) -> Result { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bit_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `digitalWrite` should have a snake case name [INFO] [stdout] --> src/lib.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn digitalWrite(&mut self, pinNo: u8, value: u8) -> Result<(), StdError> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `digital_write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pinNo` should have a snake case name [INFO] [stdout] --> src/lib.rs:118:36 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn digitalWrite(&mut self, pinNo: u8, value: u8) -> Result<(), StdError> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pin_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setRow` should have a snake case name [INFO] [stdout] --> src/lib.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn setRow(&mut self, rowNumber: u8) -> Result<(), StdError> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `set_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rowNumber` should have a snake case name [INFO] [stdout] --> src/lib.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn setRow(&mut self, rowNumber: u8) -> Result<(), StdError> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `row_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shiftColumn` should have a snake case name [INFO] [stdout] --> src/lib.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn shiftColumn(&mut self, isFirst: bool) -> Result<(), StdError> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `shift_column` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isFirst` should have a snake case name [INFO] [stdout] --> src/lib.rs:181:35 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn shiftColumn(&mut self, isFirst: bool) -> Result<(), StdError> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readADCValue` should have a snake case name [INFO] [stdout] --> src/lib.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn readADCValue(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `read_adcvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fsr_integration` (lib) due to 2 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `BAUD_RATE` is never used [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const BAUD_RATE: u64 = 115200; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `adcInputGpio` is never read [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct FSR_INTEGRATION { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 38 | adcInputGpio: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mux_mapping` should have an upper case name [INFO] [stdout] --> src/lib.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | const mux_mapping: [u8; 10] = [3, 0, 1, 5, 7, 2, 6, 4, 3, 0]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `MUX_MAPPING` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `adcInputGpio` should have a snake case name [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | adcInputGpio: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `adc_input_gpio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `outputPinMap` should have a snake case name [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | outputPinMap: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `output_pin_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `currentEnabledMux` should have a snake case name [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | currentEnabledMux: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_enabled_mux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 48 | let gpio = Gpio::new().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | [INFO] [stdout] 50 | Ok(FSR_INTEGRATION{ [INFO] [stdout] | ____________^ [INFO] [stdout] 51 | | adcInputGpio: gpio.get(PIN_ADC_INPUT).unwrap().into_input(), [INFO] [stdout] 52 | | outputPinMap: FSR_INTEGRATION::setupPins().unwrap(), [INFO] [stdout] 53 | | currentEnabledMux: 1, [INFO] [stdout] 54 | | mcp3008: Mcp3008::new("/dev/spidev0.0").unwrap() [INFO] [stdout] 55 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setupPins` should have a snake case name [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn setupPins() -> Result>, StdError> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `setup_pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outputPinMap` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let mut outputPinMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `output_pin_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bitRead` should have a snake case name [INFO] [stdout] --> src/lib.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn bitRead(x: u8, i: u8) -> Result { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bit_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `digitalWrite` should have a snake case name [INFO] [stdout] --> src/lib.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn digitalWrite(&mut self, pinNo: u8, value: u8) -> Result<(), StdError> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `digital_write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pinNo` should have a snake case name [INFO] [stdout] --> src/lib.rs:118:36 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn digitalWrite(&mut self, pinNo: u8, value: u8) -> Result<(), StdError> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pin_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setRow` should have a snake case name [INFO] [stdout] --> src/lib.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn setRow(&mut self, rowNumber: u8) -> Result<(), StdError> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `set_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rowNumber` should have a snake case name [INFO] [stdout] --> src/lib.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn setRow(&mut self, rowNumber: u8) -> Result<(), StdError> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `row_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shiftColumn` should have a snake case name [INFO] [stdout] --> src/lib.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn shiftColumn(&mut self, isFirst: bool) -> Result<(), StdError> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `shift_column` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isFirst` should have a snake case name [INFO] [stdout] --> src/lib.rs:181:35 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn shiftColumn(&mut self, isFirst: bool) -> Result<(), StdError> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readADCValue` should have a snake case name [INFO] [stdout] --> src/lib.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn readADCValue(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `read_adcvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fsr_integration` (lib test) due to 2 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0564c8ce27ab9ed438eef5d63ca16961222387785df5c04ce661cca16d80031f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0564c8ce27ab9ed438eef5d63ca16961222387785df5c04ce661cca16d80031f", kill_on_drop: false }` [INFO] [stdout] 0564c8ce27ab9ed438eef5d63ca16961222387785df5c04ce661cca16d80031f