[INFO] fetching crate hoymiles-rs 1.2.1... [INFO] testing hoymiles-rs-1.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate hoymiles-rs 1.2.1 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hoymiles-rs 1.2.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9018035b7247ce9d744be1d082b5b4014de923e85367eb778210a7036d747777 [INFO] running `Command { std: "docker" "start" "-a" "9018035b7247ce9d744be1d082b5b4014de923e85367eb778210a7036d747777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9018035b7247ce9d744be1d082b5b4014de923e85367eb778210a7036d747777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9018035b7247ce9d744be1d082b5b4014de923e85367eb778210a7036d747777", kill_on_drop: false }` [INFO] [stdout] 9018035b7247ce9d744be1d082b5b4014de923e85367eb778210a7036d747777 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73aaca1f9776c4de867c36fefc18fccca9bdfc0c1b84e1825bccf4a74a324912 [INFO] running `Command { std: "docker" "start" "-a" "73aaca1f9776c4de867c36fefc18fccca9bdfc0c1b84e1825bccf4a74a324912", 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 pin-project-lite v0.2.14 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [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 home v0.5.9 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-task 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 prost-derive v0.9.0 [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 petgraph v0.6.5 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [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 chrono v0.4.38 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling csv-core v0.1.11 [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 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 clap_derive v4.5.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling hoymiles-rs v1.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling dirs v4.0.0 [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_json v1.0.117 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 1m 42s [INFO] running `Command { std: "docker" "inspect" "73aaca1f9776c4de867c36fefc18fccca9bdfc0c1b84e1825bccf4a74a324912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73aaca1f9776c4de867c36fefc18fccca9bdfc0c1b84e1825bccf4a74a324912", kill_on_drop: false }` [INFO] [stdout] 73aaca1f9776c4de867c36fefc18fccca9bdfc0c1b84e1825bccf4a74a324912 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 521e557417af514d60acdfc1aead87b9cbebaf4da0ae9ee71cb76af282655322 [INFO] running `Command { std: "docker" "start" "-a" "521e557417af514d60acdfc1aead87b9cbebaf4da0ae9ee71cb76af282655322", 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.00s [INFO] running `Command { std: "docker" "inspect" "521e557417af514d60acdfc1aead87b9cbebaf4da0ae9ee71cb76af282655322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "521e557417af514d60acdfc1aead87b9cbebaf4da0ae9ee71cb76af282655322", kill_on_drop: false }` [INFO] [stdout] 521e557417af514d60acdfc1aead87b9cbebaf4da0ae9ee71cb76af282655322 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fce9473066325fe452eb23eafc5efc18722df41124c6ac02fd970d40c15b3a57 [INFO] running `Command { std: "docker" "start" "-a" "fce9473066325fe452eb23eafc5efc18722df41124c6ac02fd970d40c15b3a57", 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.25s [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" "fce9473066325fe452eb23eafc5efc18722df41124c6ac02fd970d40c15b3a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fce9473066325fe452eb23eafc5efc18722df41124c6ac02fd970d40c15b3a57", kill_on_drop: false }` [INFO] [stdout] fce9473066325fe452eb23eafc5efc18722df41124c6ac02fd970d40c15b3a57