[INFO] fetching crate hoymiles-rs 1.2.1... [INFO] testing hoymiles-rs-1.2.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate hoymiles-rs 1.2.1 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hoymiles-rs 1.2.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.202 [INFO] [stderr] Downloaded redox_users v0.4.5 [INFO] [stderr] Downloaded prost-derive v0.9.0 [INFO] [stderr] Downloaded prost-types v0.9.0 [INFO] [stderr] Downloaded serde_derive v1.0.202 [INFO] [stderr] Downloaded syn v2.0.64 [INFO] [stderr] Downloaded prost-build v0.9.0 [INFO] [stderr] Downloaded prost v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96c8c7119f61eae9d668b6f45f624c9f5b6296c7c476aca97f84285c451e435b [INFO] running `Command { std: "docker" "start" "-a" "96c8c7119f61eae9d668b6f45f624c9f5b6296c7c476aca97f84285c451e435b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96c8c7119f61eae9d668b6f45f624c9f5b6296c7c476aca97f84285c451e435b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96c8c7119f61eae9d668b6f45f624c9f5b6296c7c476aca97f84285c451e435b", kill_on_drop: false }` [INFO] [stdout] 96c8c7119f61eae9d668b6f45f624c9f5b6296c7c476aca97f84285c451e435b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 523f2ddef69b3eebd9803d5631170849807a1e67b25b27581fa162b9cc32737c [INFO] running `Command { std: "docker" "start" "-a" "523f2ddef69b3eebd9803d5631170849807a1e67b25b27581fa162b9cc32737c", 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 smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling pkg-config v0.3.30 [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 parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.3 [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 num-traits v0.2.19 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling url v2.5.0 [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 tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling toml v0.5.11 [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 07s [INFO] running `Command { std: "docker" "inspect" "523f2ddef69b3eebd9803d5631170849807a1e67b25b27581fa162b9cc32737c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "523f2ddef69b3eebd9803d5631170849807a1e67b25b27581fa162b9cc32737c", kill_on_drop: false }` [INFO] [stdout] 523f2ddef69b3eebd9803d5631170849807a1e67b25b27581fa162b9cc32737c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e51e1cf5b62b7f1e01c1e36dfc65490d3ab8218c36456fa1ec89d939a2e447f1 [INFO] running `Command { std: "docker" "start" "-a" "e51e1cf5b62b7f1e01c1e36dfc65490d3ab8218c36456fa1ec89d939a2e447f1", 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.75s [INFO] running `Command { std: "docker" "inspect" "e51e1cf5b62b7f1e01c1e36dfc65490d3ab8218c36456fa1ec89d939a2e447f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e51e1cf5b62b7f1e01c1e36dfc65490d3ab8218c36456fa1ec89d939a2e447f1", kill_on_drop: false }` [INFO] [stdout] e51e1cf5b62b7f1e01c1e36dfc65490d3ab8218c36456fa1ec89d939a2e447f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 69a7c75439a44ca64f07586a1149981c15290a9ba276d12c48cbd652ac23f303 [INFO] running `Command { std: "docker" "start" "-a" "69a7c75439a44ca64f07586a1149981c15290a9ba276d12c48cbd652ac23f303", kill_on_drop: false }` [INFO] [stderr] warning: for loop over a `&Result`. This is more readably written as an `if let` statement [INFO] [stdout] [INFO] [stderr] --> src/components/power/mod.rs:39:39 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 39 | for record in &power_data { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stdout] [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.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hoymiles_rs-722a43ec640bf9fc) [INFO] running `Command { std: "docker" "inspect" "69a7c75439a44ca64f07586a1149981c15290a9ba276d12c48cbd652ac23f303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69a7c75439a44ca64f07586a1149981c15290a9ba276d12c48cbd652ac23f303", kill_on_drop: false }` [INFO] [stdout] 69a7c75439a44ca64f07586a1149981c15290a9ba276d12c48cbd652ac23f303