[INFO] fetching crate ufire_sht20 0.9.1...
[INFO] testing ufire_sht20-0.9.1 against try#311784882baa42a9638298cb325fa01a062c9d0f+cargoflags=-Zbuild-dir-new-layout for pr-149852
[INFO] extracting crate ufire_sht20 0.9.1 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate ufire_sht20 0.9.1
[INFO] finished tweaking crates.io crate ufire_sht20 0.9.1
[INFO] tweaked toml for crates.io crate ufire_sht20 0.9.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ufire_sht20 0.9.1 on toolchain 311784882baa42a9638298cb325fa01a062c9d0f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate ufire_sht20 0.9.1 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" "+311784882baa42a9638298cb325fa01a062c9d0f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 73a51544203abfedf5bc2e52dd7cbb2eaf3efaa72408b59d185c2f1ce694f13e
[INFO] running `Command { std: "docker" "start" "-a" "73a51544203abfedf5bc2e52dd7cbb2eaf3efaa72408b59d185c2f1ce694f13e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "73a51544203abfedf5bc2e52dd7cbb2eaf3efaa72408b59d185c2f1ce694f13e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73a51544203abfedf5bc2e52dd7cbb2eaf3efaa72408b59d185c2f1ce694f13e", kill_on_drop: false }`
[INFO] [stdout] 73a51544203abfedf5bc2e52dd7cbb2eaf3efaa72408b59d185c2f1ce694f13e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 204d98a634c66be014ad68adae8067abbd78b7c30434a981aab4fb95cac4f221
[INFO] running `Command { std: "docker" "start" "-a" "204d98a634c66be014ad68adae8067abbd78b7c30434a981aab4fb95cac4f221", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.37
[INFO] [stderr]    Compiling serde v1.0.88
[INFO] [stderr]    Compiling cc v1.0.5
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling cfg-if v0.1.2
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling rustc-demangle v0.1.7
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling pulldown-cmark v0.1.2
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling num-traits v0.2.1
[INFO] [stderr]    Compiling byteorder v1.2.1
[INFO] [stderr]    Compiling dtoa v0.4.2
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]    Compiling itoa v0.3.4
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling remove_dir_all v0.3.0
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling same-file v0.1.3
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling walkdir v1.0.7
[INFO] [stderr]    Compiling backtrace-sys v0.1.16
[INFO] [stderr]    Compiling bytecount v0.2.0
[INFO] [stderr]    Compiling csv-core v0.1.5
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling tempdir v0.3.6
[INFO] [stderr]    Compiling nix v0.10.0
[INFO] [stderr]    Compiling bytes v0.4.6
[INFO] [stderr]    Compiling term v0.5.1
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling lazy_static v1.2.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling bitflags v1.0.1
[INFO] [stderr]    Compiling serde_derive_internals v0.19.0
[INFO] [stderr]    Compiling encode_unicode v0.3.5
[INFO] [stderr]    Compiling serde_derive v1.0.27
[INFO] [stderr]    Compiling semver v0.8.0
[INFO] [stderr]    Compiling serde_json v1.0.10
[INFO] [stderr]    Compiling csv v1.0.5
[INFO] [stderr]    Compiling prettytable-rs v0.8.0
[INFO] [stderr]    Compiling shrust v0.0.6
[INFO] [stderr]    Compiling backtrace v0.3.5
[INFO] [stderr]    Compiling error-chain v0.11.0
[INFO] [stderr]    Compiling cargo_metadata v0.3.3
[INFO] [stderr]    Compiling skeptic v0.13.2
[INFO] [stderr]    Compiling i2cdev v0.3.2
[INFO] [stderr]    Compiling ufire_sht20 v0.9.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/lib.rs:61:45
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn temperature(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout]    |                                             ^   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 61 -     pub fn temperature(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout] 61 +     pub fn temperature(&mut self) -> Result<f32, Box<LinuxI2CError>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/lib.rs:80:42
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn humidity(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout]    |                                          ^   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 80 -     pub fn humidity(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout] 80 +     pub fn humidity(&mut self) -> Result<f32, Box<LinuxI2CError>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/lib.rs:125:62
[INFO] [stdout]     |
[INFO] [stdout] 125 |     pub fn _read_register(&mut self, register: u8) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout]     |                                                              ^   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 125 -     pub fn _read_register(&mut self, register: u8) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout] 125 +     pub fn _read_register(&mut self, register: u8) -> Result<f32, Box<LinuxI2CError>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/lib.rs:111:32
[INFO] [stdout]     |
[INFO] [stdout] 111 |             let buf: [u8; 4] = mem::transmute(f_val);
[INFO] [stdout]     |                                --------------^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                help: replace this with: `f32::to_ne_bytes`
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 |         try!(writeln!(io, "{}", sht20.temperature().unwrap()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:20:3
[INFO] [stdout]    |
[INFO] [stdout] 20 |         try!(writeln!(io, "{}", sht20.humidity().unwrap()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.77s
[INFO] running `Command { std: "docker" "inspect" "204d98a634c66be014ad68adae8067abbd78b7c30434a981aab4fb95cac4f221", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "204d98a634c66be014ad68adae8067abbd78b7c30434a981aab4fb95cac4f221", kill_on_drop: false }`
[INFO] [stdout] 204d98a634c66be014ad68adae8067abbd78b7c30434a981aab4fb95cac4f221
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] dcb5eedc196fbf14d39ac7aa65219b6aeee5e489f5f6103235a826b8bdbc00a9
[INFO] running `Command { std: "docker" "start" "-a" "dcb5eedc196fbf14d39ac7aa65219b6aeee5e489f5f6103235a826b8bdbc00a9", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling ufire_sht20 v0.9.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/lib.rs:61:45
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn temperature(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout]    |                                             ^   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 61 -     pub fn temperature(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout] 61 +     pub fn temperature(&mut self) -> Result<f32, Box<LinuxI2CError>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/lib.rs:80:42
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn humidity(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout]    |                                          ^   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 80 -     pub fn humidity(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout] 80 +     pub fn humidity(&mut self) -> Result<f32, Box<LinuxI2CError>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/lib.rs:125:62
[INFO] [stdout]     |
[INFO] [stdout] 125 |     pub fn _read_register(&mut self, register: u8) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout]     |                                                              ^   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 125 -     pub fn _read_register(&mut self, register: u8) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout] 125 +     pub fn _read_register(&mut self, register: u8) -> Result<f32, Box<LinuxI2CError>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/lib.rs:111:32
[INFO] [stdout]     |
[INFO] [stdout] 111 |             let buf: [u8; 4] = mem::transmute(f_val);
[INFO] [stdout]     |                                --------------^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                help: replace this with: `f32::to_ne_bytes`
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/lib.rs:61:45
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn temperature(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout]    |                                             ^   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 61 -     pub fn temperature(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout] 61 +     pub fn temperature(&mut self) -> Result<f32, Box<LinuxI2CError>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/lib.rs:80:42
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn humidity(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout]    |                                          ^   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 80 -     pub fn humidity(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout] 80 +     pub fn humidity(&mut self) -> Result<f32, Box<LinuxI2CError>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/lib.rs:125:62
[INFO] [stdout]     |
[INFO] [stdout] 125 |     pub fn _read_register(&mut self, register: u8) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout]     |                                                              ^   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 125 -     pub fn _read_register(&mut self, register: u8) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stdout] 125 +     pub fn _read_register(&mut self, register: u8) -> Result<f32, Box<LinuxI2CError>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/lib.rs:111:32
[INFO] [stdout]     |
[INFO] [stdout] 111 |             let buf: [u8; 4] = mem::transmute(f_val);
[INFO] [stdout]     |                                --------------^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                help: replace this with: `f32::to_ne_bytes`
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 |         try!(writeln!(io, "{}", sht20.temperature().unwrap()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:20:3
[INFO] [stdout]    |
[INFO] [stdout] 20 |         try!(writeln!(io, "{}", sht20.humidity().unwrap()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] running `Command { std: "docker" "inspect" "dcb5eedc196fbf14d39ac7aa65219b6aeee5e489f5f6103235a826b8bdbc00a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcb5eedc196fbf14d39ac7aa65219b6aeee5e489f5f6103235a826b8bdbc00a9", kill_on_drop: false }`
[INFO] [stdout] dcb5eedc196fbf14d39ac7aa65219b6aeee5e489f5f6103235a826b8bdbc00a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 773086d1b54d6c95414c0f8aa7cc4c47bf448e1a8795fa045560f6e20dad52a0
[INFO] running `Command { std: "docker" "start" "-a" "773086d1b54d6c95414c0f8aa7cc4c47bf448e1a8795fa045560f6e20dad52a0", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/lib.rs:61:45
[INFO] [stderr]    |
[INFO] [stderr] 61 |     pub fn temperature(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stderr]    |                                             ^   ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 61 -     pub fn temperature(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stderr] 61 +     pub fn temperature(&mut self) -> Result<f32, Box<LinuxI2CError>> {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/lib.rs:80:42
[INFO] [stderr]    |
[INFO] [stderr] 80 |     pub fn humidity(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stderr]    |                                          ^   ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 80 -     pub fn humidity(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stderr] 80 +     pub fn humidity(&mut self) -> Result<f32, Box<LinuxI2CError>> {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> src/lib.rs:125:62
[INFO] [stderr]     |
[INFO] [stderr] 125 |     pub fn _read_register(&mut self, register: u8) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stderr]     |                                                              ^   ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 125 -     pub fn _read_register(&mut self, register: u8) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stderr] 125 +     pub fn _read_register(&mut self, register: u8) -> Result<f32, Box<LinuxI2CError>> {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary transmute
[INFO] [stderr]    --> src/lib.rs:111:32
[INFO] [stderr]     |
[INFO] [stderr] 111 |             let buf: [u8; 4] = mem::transmute(f_val);
[INFO] [stderr]     |                                --------------^^^^^^^
[INFO] [stderr]     |                                |
[INFO] [stderr]     |                                help: replace this with: `f32::to_ne_bytes`
[INFO] [stderr]     |
[INFO] [stderr]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stderr]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `ufire_sht20` (lib) generated 4 warnings (run `cargo fix --lib -p ufire_sht20` to apply 4 suggestions)
[INFO] [stderr] warning: `ufire_sht20` (lib test) generated 4 warnings (4 duplicates)
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:14:3
[INFO] [stderr]    |
[INFO] [stderr] 14 |         try!(writeln!(io, "{}", sht20.temperature().unwrap()));
[INFO] [stderr]    |         ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:20:3
[INFO] [stderr]    |
[INFO] [stderr] 20 |         try!(writeln!(io, "{}", sht20.humidity().unwrap()));
[INFO] [stderr]    |         ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `ufire_sht20` (bin "ufire_sht20_bin" test) generated 2 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/ufire_sht20/983aa160053e5089/deps/ufire_sht20-983aa160053e5089)
[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] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/ufire_sht20/8bcf9725e4eb0d34/deps/ufire_sht20_bin-8bcf9725e4eb0d34)
[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] [stderr]    Doc-tests ufire_sht20
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/lib.rs:61:45
[INFO] [stderr]    |
[INFO] [stderr] 61 |     pub fn temperature(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stderr]    |                                             ^   ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 61 -     pub fn temperature(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stderr] 61 +     pub fn temperature(&mut self) -> Result<f32, Box<LinuxI2CError>> {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/lib.rs:80:42
[INFO] [stderr]    |
[INFO] [stderr] 80 |     pub fn humidity(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stderr]    |                                          ^   ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 80 -     pub fn humidity(&mut self) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stderr] 80 +     pub fn humidity(&mut self) -> Result<f32, Box<LinuxI2CError>> {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> src/lib.rs:125:62
[INFO] [stderr]     |
[INFO] [stderr] 125 |     pub fn _read_register(&mut self, register: u8) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stderr]     |                                                              ^   ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 125 -     pub fn _read_register(&mut self, register: u8) -> Result<(f32), Box<LinuxI2CError>> {
[INFO] [stderr] 125 +     pub fn _read_register(&mut self, register: u8) -> Result<f32, Box<LinuxI2CError>> {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: 3 warnings emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - SHT20::temperature (line 57) ... FAILED
[INFO] [stdout] test src/lib.rs - SHT20::humidity (line 76) ... FAILED
[INFO] [stdout] test src/lib.rs - SHT20::new (line 45) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - SHT20::temperature (line 57) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SHT20`
[INFO] [stdout]   --> src/lib.rs:58:17
[INFO] [stdout]    |
[INFO] [stdout] 58 | let mut sht20 = SHT20::new("/dev/i2c-3").unwrap();
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `SHT20`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - SHT20::humidity (line 76) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SHT20`
[INFO] [stdout]   --> src/lib.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 | let mut sht20 = SHT20::new("/dev/i2c-3").unwrap();
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `SHT20`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - SHT20::new (line 45) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SHT20`
[INFO] [stdout]   --> src/lib.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 | let mut sht20 = SHT20::new("/dev/i2c-3").unwrap();
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `SHT20`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - SHT20::humidity (line 76)
[INFO] [stdout]     src/lib.rs - SHT20::new (line 45)
[INFO] [stdout]     src/lib.rs - SHT20::temperature (line 57)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "773086d1b54d6c95414c0f8aa7cc4c47bf448e1a8795fa045560f6e20dad52a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "773086d1b54d6c95414c0f8aa7cc4c47bf448e1a8795fa045560f6e20dad52a0", kill_on_drop: false }`
[INFO] [stdout] 773086d1b54d6c95414c0f8aa7cc4c47bf448e1a8795fa045560f6e20dad52a0
