[INFO] cloning repository https://github.com/hogehogei/milkv-duo-rust-bme280 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hogehogei/milkv-duo-rust-bme280" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhogehogei%2Fmilkv-duo-rust-bme280", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhogehogei%2Fmilkv-duo-rust-bme280'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b495d25a4f4f1f704e11d86abe4da013b885388 [INFO] testing hogehogei/milkv-duo-rust-bme280 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhogehogei%2Fmilkv-duo-rust-bme280" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hogehogei/milkv-duo-rust-bme280 [INFO] finished tweaking git repo https://github.com/hogehogei/milkv-duo-rust-bme280 [INFO] tweaked toml for git repo https://github.com/hogehogei/milkv-duo-rust-bme280 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hogehogei/milkv-duo-rust-bme280 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hogehogei/milkv-duo-rust-bme280 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.62 [INFO] [stderr] Downloaded i2cdev v0.6.1 [INFO] [stderr] Downloaded security-framework-sys v2.11.1 [INFO] [stderr] Downloaded cc v1.0.101 [INFO] [stderr] Downloaded rustls-native-certs v0.7.1 [INFO] [stderr] Downloaded rumqttc v0.24.0 [INFO] [stderr] Downloaded thiserror v1.0.62 [INFO] [stderr] Downloaded rustls-webpki v0.102.5 [INFO] [stderr] Downloaded syn v2.0.68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa41f501a4610ee453662de23786847fc654935c4598379dc0b39f72c6742712 [INFO] running `Command { std: "docker" "start" "-a" "fa41f501a4610ee453662de23786847fc654935c4598379dc0b39f72c6742712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa41f501a4610ee453662de23786847fc654935c4598379dc0b39f72c6742712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa41f501a4610ee453662de23786847fc654935c4598379dc0b39f72c6742712", kill_on_drop: false }` [INFO] [stdout] fa41f501a4610ee453662de23786847fc654935c4598379dc0b39f72c6742712 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d60a982ba398facd7e052257d93e629d61e159c6bc6af2591765ce0ab69e06e9 [INFO] running `Command { std: "docker" "start" "-a" "d60a982ba398facd7e052257d93e629d61e159c6bc6af2591765ce0ab69e06e9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cc v1.0.101 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustls-native-certs v0.7.1 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling object v0.36.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling i2cdev v0.6.1 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling rustls-webpki v0.102.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling rumqttc v0.24.0 [INFO] [stderr] Compiling milkv-duo-rust-bme280 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/bme280.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bme280.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bme280.rs:178:48 [INFO] [stdout] | [INFO] [stdout] 178 | ... .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bme280.rs:219:23 [INFO] [stdout] | [INFO] [stdout] 219 | .map_err(|e| BME280ErrorType::InitializeError { backtrace: Backtrace::force_capture() })?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bme280.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | .map_err(|e| BME280ErrorType::InitializeError { backtrace: Backtrace::force_capture() })?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bme280.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | .map_err(|e| BME280ErrorType::InitializeError { backtrace: Backtrace::force_capture() })?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | for (i, notification) in connection.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | Ok(ref t) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | Err(ref e) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slave_address` is never read [INFO] [stdout] --> src/bme280.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct BME280 [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | slave_address: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.28s [INFO] running `Command { std: "docker" "inspect" "d60a982ba398facd7e052257d93e629d61e159c6bc6af2591765ce0ab69e06e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d60a982ba398facd7e052257d93e629d61e159c6bc6af2591765ce0ab69e06e9", kill_on_drop: false }` [INFO] [stdout] d60a982ba398facd7e052257d93e629d61e159c6bc6af2591765ce0ab69e06e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44870aff462fa8b3c223e84efaf1a3a234cb0ae928b8939a8911093f2c69377c [INFO] running `Command { std: "docker" "start" "-a" "44870aff462fa8b3c223e84efaf1a3a234cb0ae928b8939a8911093f2c69377c", kill_on_drop: false }` [INFO] [stderr] Compiling milkv-duo-rust-bme280 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/bme280.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bme280.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bme280.rs:178:48 [INFO] [stdout] | [INFO] [stdout] 178 | ... .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bme280.rs:219:23 [INFO] [stdout] | [INFO] [stdout] 219 | .map_err(|e| BME280ErrorType::InitializeError { backtrace: Backtrace::force_capture() })?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bme280.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | .map_err(|e| BME280ErrorType::InitializeError { backtrace: Backtrace::force_capture() })?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bme280.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | .map_err(|e| BME280ErrorType::InitializeError { backtrace: Backtrace::force_capture() })?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | for (i, notification) in connection.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | Ok(ref t) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | Err(ref e) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slave_address` is never read [INFO] [stdout] --> src/bme280.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct BME280 [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | slave_address: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "44870aff462fa8b3c223e84efaf1a3a234cb0ae928b8939a8911093f2c69377c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44870aff462fa8b3c223e84efaf1a3a234cb0ae928b8939a8911093f2c69377c", kill_on_drop: false }` [INFO] [stdout] 44870aff462fa8b3c223e84efaf1a3a234cb0ae928b8939a8911093f2c69377c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2383ccecd4162e08103a5285a5b9875e287124edea371fe4fc7f4833496531e7 [INFO] running `Command { std: "docker" "start" "-a" "2383ccecd4162e08103a5285a5b9875e287124edea371fe4fc7f4833496531e7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/bme280.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/bme280.rs:169:30 [INFO] [stderr] | [INFO] [stderr] 169 | .map_err(|e| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/bme280.rs:178:48 [INFO] [stderr] | [INFO] [stderr] 178 | ... .map_err(|e| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/bme280.rs:219:23 [INFO] [stderr] | [INFO] [stderr] 219 | .map_err(|e| BME280ErrorType::InitializeError { backtrace: Backtrace::force_capture() })?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/bme280.rs:211:23 [INFO] [stderr] | [INFO] [stderr] 211 | .map_err(|e| BME280ErrorType::InitializeError { backtrace: Backtrace::force_capture() })?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/bme280.rs:201:23 [INFO] [stderr] | [INFO] [stderr] 201 | .map_err(|e| BME280ErrorType::InitializeError { backtrace: Backtrace::force_capture() })?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:94:10 [INFO] [stderr] | [INFO] [stderr] 94 | for (i, notification) in connection.iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/main.rs:96:16 [INFO] [stderr] | [INFO] [stderr] 96 | Ok(ref t) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:99:17 [INFO] [stderr] | [INFO] [stderr] 99 | Err(ref e) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: field `slave_address` is never read [INFO] [stderr] --> src/bme280.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 51 | pub struct BME280 [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 54 | slave_address: u16, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `milkv-duo-rust-bme280` (bin "milkv-duo-rust-bme280" test) generated 10 warnings (run `cargo fix --bin "milkv-duo-rust-bme280" -p milkv-duo-rust-bme280 --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/milkv_duo_rust_bme280-e5701458394202f8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2383ccecd4162e08103a5285a5b9875e287124edea371fe4fc7f4833496531e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2383ccecd4162e08103a5285a5b9875e287124edea371fe4fc7f4833496531e7", kill_on_drop: false }` [INFO] [stdout] 2383ccecd4162e08103a5285a5b9875e287124edea371fe4fc7f4833496531e7