[INFO] fetching crate hoymiles-rs 1.2.1... [INFO] testing hoymiles-rs-1.2.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate hoymiles-rs 1.2.1 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hoymiles-rs 1.2.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59d9a851805df1eec0be4c82babe4e10ae11b0fb5398f927f8b822e5a788032c [INFO] running `Command { std: "docker" "start" "-a" "59d9a851805df1eec0be4c82babe4e10ae11b0fb5398f927f8b822e5a788032c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59d9a851805df1eec0be4c82babe4e10ae11b0fb5398f927f8b822e5a788032c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59d9a851805df1eec0be4c82babe4e10ae11b0fb5398f927f8b822e5a788032c", kill_on_drop: false }` [INFO] [stdout] 59d9a851805df1eec0be4c82babe4e10ae11b0fb5398f927f8b822e5a788032c [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffa1dd5de92a73114c2ce3707b9dcb200369bbb6c188c9f32d967d0a4d69f5a4 [INFO] running `Command { std: "docker" "start" "-a" "ffa1dd5de92a73114c2ce3707b9dcb200369bbb6c188c9f32d967d0a4d69f5a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling futures-util v0.3.30 [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 aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tower-service v0.3.2 [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 base64 v0.21.7 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling prost v0.9.0 [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 clap_derive v4.5.4 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling hoymiles-rs v1.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [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 h2 v0.3.26 [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 20.35s [INFO] running `Command { std: "docker" "inspect" "ffa1dd5de92a73114c2ce3707b9dcb200369bbb6c188c9f32d967d0a4d69f5a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffa1dd5de92a73114c2ce3707b9dcb200369bbb6c188c9f32d967d0a4d69f5a4", kill_on_drop: false }` [INFO] [stdout] ffa1dd5de92a73114c2ce3707b9dcb200369bbb6c188c9f32d967d0a4d69f5a4 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6f5ad2ab97c8b0c717c164330c5c0396b60fcf3eff8f9fb4c3680956fc5a310 [INFO] running `Command { std: "docker" "start" "-a" "b6f5ad2ab97c8b0c717c164330c5c0396b60fcf3eff8f9fb4c3680956fc5a310", 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.08s [INFO] running `Command { std: "docker" "inspect" "b6f5ad2ab97c8b0c717c164330c5c0396b60fcf3eff8f9fb4c3680956fc5a310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6f5ad2ab97c8b0c717c164330c5c0396b60fcf3eff8f9fb4c3680956fc5a310", kill_on_drop: false }` [INFO] [stdout] b6f5ad2ab97c8b0c717c164330c5c0396b60fcf3eff8f9fb4c3680956fc5a310 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 69019c0ebcf115f74dc3c7daa6417f611fa8b65c815e745ab3aed0aa3c13475e [INFO] running `Command { std: "docker" "start" "-a" "69019c0ebcf115f74dc3c7daa6417f611fa8b65c815e745ab3aed0aa3c13475e", 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.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hoymiles_rs-00b928570cc51459) [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" "69019c0ebcf115f74dc3c7daa6417f611fa8b65c815e745ab3aed0aa3c13475e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69019c0ebcf115f74dc3c7daa6417f611fa8b65c815e745ab3aed0aa3c13475e", kill_on_drop: false }` [INFO] [stdout] 69019c0ebcf115f74dc3c7daa6417f611fa8b65c815e745ab3aed0aa3c13475e