[INFO] fetching crate hoymiles-rs 1.2.1... [INFO] testing hoymiles-rs-1.2.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate hoymiles-rs 1.2.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate hoymiles-rs 1.2.1 [INFO] finished tweaking crates.io crate hoymiles-rs 1.2.1 [INFO] tweaked toml for crates.io crate hoymiles-rs 1.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hoymiles-rs 1.2.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hoymiles-rs 1.2.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fed8914ad71d4cc570dd47023ce532dea221def81611c2bd3d73aae91a9d99ee [INFO] running `Command { std: "docker" "start" "-a" "fed8914ad71d4cc570dd47023ce532dea221def81611c2bd3d73aae91a9d99ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fed8914ad71d4cc570dd47023ce532dea221def81611c2bd3d73aae91a9d99ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fed8914ad71d4cc570dd47023ce532dea221def81611c2bd3d73aae91a9d99ee", kill_on_drop: false }` [INFO] [stdout] fed8914ad71d4cc570dd47023ce532dea221def81611c2bd3d73aae91a9d99ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dca30ee9377719d9717789f59b54f0bfe4f1711631b67fbb2a139db5ad78b731 [INFO] running `Command { std: "docker" "start" "-a" "dca30ee9377719d9717789f59b54f0bfe4f1711631b67fbb2a139db5ad78b731", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling hoymiles-rs v1.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stdout] warning: for loop over a `&Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/components/power/mod.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | for record in &power_data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 39 - for record in &power_data { [INFO] [stdout] 39 + while let Ok(record) = &power_data { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 39 - for record in &power_data { [INFO] [stdout] 39 + if let Ok(record) = &power_data { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 05s [INFO] running `Command { std: "docker" "inspect" "dca30ee9377719d9717789f59b54f0bfe4f1711631b67fbb2a139db5ad78b731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dca30ee9377719d9717789f59b54f0bfe4f1711631b67fbb2a139db5ad78b731", kill_on_drop: false }` [INFO] [stdout] dca30ee9377719d9717789f59b54f0bfe4f1711631b67fbb2a139db5ad78b731 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cfd9ea511c7f6ba62ee0083ff0aa67f0ca094dd89fb79ebbcec06709eca50a1 [INFO] running `Command { std: "docker" "start" "-a" "8cfd9ea511c7f6ba62ee0083ff0aa67f0ca094dd89fb79ebbcec06709eca50a1", kill_on_drop: false }` [INFO] [stderr] Compiling hoymiles-rs v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: for loop over a `&Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/components/power/mod.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | for record in &power_data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 39 - for record in &power_data { [INFO] [stdout] 39 + while let Ok(record) = &power_data { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 39 - for record in &power_data { [INFO] [stdout] 39 + if let Ok(record) = &power_data { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `Command { std: "docker" "inspect" "8cfd9ea511c7f6ba62ee0083ff0aa67f0ca094dd89fb79ebbcec06709eca50a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cfd9ea511c7f6ba62ee0083ff0aa67f0ca094dd89fb79ebbcec06709eca50a1", kill_on_drop: false }` [INFO] [stdout] 8cfd9ea511c7f6ba62ee0083ff0aa67f0ca094dd89fb79ebbcec06709eca50a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 13d04d588bdbcaaad3b7a67c249705e61f3823a6578cb38220479d688c9eeec9 [INFO] running `Command { std: "docker" "start" "-a" "13d04d588bdbcaaad3b7a67c249705e61f3823a6578cb38220479d688c9eeec9", kill_on_drop: false }` [INFO] [stderr] warning: for loop over a `&Result`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/components/power/mod.rs:39:39 [INFO] [stderr] | [INFO] [stderr] 39 | for record in &power_data { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 39 - for record in &power_data { [INFO] [stderr] 39 + while let Ok(record) = &power_data { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 39 - for record in &power_data { [INFO] [stderr] 39 + if let Ok(record) = &power_data { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `hoymiles-rs` (bin "hoymiles-rs" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hoymiles_rs-722a43ec640bf9fc) [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" "13d04d588bdbcaaad3b7a67c249705e61f3823a6578cb38220479d688c9eeec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13d04d588bdbcaaad3b7a67c249705e61f3823a6578cb38220479d688c9eeec9", kill_on_drop: false }` [INFO] [stdout] 13d04d588bdbcaaad3b7a67c249705e61f3823a6578cb38220479d688c9eeec9