[INFO] fetching crate pzem004t 0.1.7...
[INFO] testing pzem004t-0.1.7 against beta-2022-07-10 for beta-1.63-1
[INFO] extracting crate pzem004t 0.1.7 into /workspace/builds/worker-11/source
[INFO] validating manifest of crates.io crate pzem004t 0.1.7 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pzem004t 0.1.7
[INFO] finished tweaking crates.io crate pzem004t 0.1.7
[INFO] tweaked toml for crates.io crate pzem004t 0.1.7 written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d4c0ac97a95d1bd63ccc0a640e7210424482402986c2e7cd56f3a8a3a13077a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9d4c0ac97a95d1bd63ccc0a640e7210424482402986c2e7cd56f3a8a3a13077a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d4c0ac97a95d1bd63ccc0a640e7210424482402986c2e7cd56f3a8a3a13077a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d4c0ac97a95d1bd63ccc0a640e7210424482402986c2e7cd56f3a8a3a13077a", kill_on_drop: false }`
[INFO] [stdout] 9d4c0ac97a95d1bd63ccc0a640e7210424482402986c2e7cd56f3a8a3a13077a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 50165e89235e7b97128b3621dc71d98af7b874d5338dc182854a8b42fb9932a3
[INFO] running `Command { std: "docker" "start" "-a" "50165e89235e7b97128b3621dc71d98af7b874d5338dc182854a8b42fb9932a3", kill_on_drop: false }`
[INFO] [stderr]    Compiling crc16 v0.4.0
[INFO] [stderr]    Compiling pzem004t v0.1.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.23s
[INFO] running `Command { std: "docker" "inspect" "50165e89235e7b97128b3621dc71d98af7b874d5338dc182854a8b42fb9932a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50165e89235e7b97128b3621dc71d98af7b874d5338dc182854a8b42fb9932a3", kill_on_drop: false }`
[INFO] [stdout] 50165e89235e7b97128b3621dc71d98af7b874d5338dc182854a8b42fb9932a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 70234d2258e36e64719864d3222633f21e5e5ce27873aed45ba45062cca2d88e
[INFO] running `Command { std: "docker" "start" "-a" "70234d2258e36e64719864d3222633f21e5e5ce27873aed45ba45062cca2d88e", kill_on_drop: false }`
[INFO] [stderr]    Compiling pzem004t v0.1.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.19s
[INFO] running `Command { std: "docker" "inspect" "70234d2258e36e64719864d3222633f21e5e5ce27873aed45ba45062cca2d88e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70234d2258e36e64719864d3222633f21e5e5ce27873aed45ba45062cca2d88e", kill_on_drop: false }`
[INFO] [stdout] 70234d2258e36e64719864d3222633f21e5e5ce27873aed45ba45062cca2d88e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b263f801c680e75000c9b46e41121a98e4847ad4c8d2c2a4d8a65c66d0a48c10
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b263f801c680e75000c9b46e41121a98e4847ad4c8d2c2a4d8a65c66d0a48c10", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pzem004t-c580d98fa6a17e48)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests pzem004t
[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] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - (line 14) ... FAILED
[INFO] [stdout] test src/lib.rs - Pzem<Serial>::read (line 213) ... FAILED
[INFO] [stdout] test src/no_timeout.rs - no_timeout::NoTimeout (line 7) ... FAILED
[INFO] [stdout] test src/lib.rs - Pzem<Serial>::set_addr (line 332) ... FAILED
[INFO] [stdout] test src/lib.rs - Pzem<Serial>::set_threshold (line 299) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 14) stdout ----
[INFO] [stdout] error: cannot find macro `hprintln` in this scope
[INFO] [stdout]  --> src/lib.rs:19:19
[INFO] [stdout]   |
[INFO] [stdout] 8 |           Err(e) => hprintln!("Could not read PZEM004T: {}", e).unwrap(),
[INFO] [stdout]   |                     ^^^^^^^^ help: a macro with a similar name exists: `eprintln`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `hprintln` in this scope
[INFO] [stdout]   --> src/lib.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |               hprintln!("Voltage: {:.1} V", m.voltage).unwrap();
[INFO] [stdout]    |               ^^^^^^^^ help: a macro with a similar name exists: `eprintln`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `hprintln` in this scope
[INFO] [stdout]   --> src/lib.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |               hprintln!("Current: {:.3} A", m.current).unwrap();
[INFO] [stdout]    |               ^^^^^^^^ help: a macro with a similar name exists: `eprintln`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `hprintln` in this scope
[INFO] [stdout]   --> src/lib.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |               hprintln!("Power: {:.1} W", m.power).unwrap();
[INFO] [stdout]    |               ^^^^^^^^ help: a macro with a similar name exists: `eprintln`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `hprintln` in this scope
[INFO] [stdout]   --> src/lib.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |               hprintln!("Energy: {:.3} kWh", m.energy).unwrap();
[INFO] [stdout]    |               ^^^^^^^^ help: a macro with a similar name exists: `eprintln`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `hprintln` in this scope
[INFO] [stdout]   --> src/lib.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |               hprintln!("Frequency: {:.1} Hz", m.frequency).unwrap();
[INFO] [stdout]    |               ^^^^^^^^ help: a macro with a similar name exists: `eprintln`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `hprintln` in this scope
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |               hprintln!("Power factor: {:.2}", m.pf).unwrap();
[INFO] [stdout]    |               ^^^^^^^^ help: a macro with a similar name exists: `eprintln`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `hprintln` in this scope
[INFO] [stdout]   --> src/lib.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |               hprintln!("Alarm: {}\n", m.alarm).unwrap();
[INFO] [stdout]    |               ^^^^^^^^ help: a macro with a similar name exists: `eprintln`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `block` in this scope
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     block!(tim.wait()).unwrap();
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing this macro:
[INFO] [stdout]            nb::block
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `serial` in this scope
[INFO] [stdout]  --> src/lib.rs:15:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut pzem = pzem004t::Pzem::new(serial, None).unwrap();
[INFO] [stdout]   |                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tim` in this scope
[INFO] [stdout]  --> src/lib.rs:18:40
[INFO] [stdout]   |
[INFO] [stdout] 7 |     match pzem.read(&mut m, Some((&mut tim, TIMEOUT))) {
[INFO] [stdout]   |                                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TIMEOUT` in this scope
[INFO] [stdout]  --> src/lib.rs:18:45
[INFO] [stdout]   |
[INFO] [stdout] 7 |     match pzem.read(&mut m, Some((&mut tim, TIMEOUT))) {
[INFO] [stdout]   |                                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tim` in this scope
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     tim.start(1.hz());
[INFO] [stdout]    |     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `hz` found for type `{integer}` in the current scope
[INFO] [stdout]   --> src/lib.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |     tim.start(1.hz());
[INFO] [stdout]    |                 ^^ method not found in `{integer}`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Pzem<Serial>::read (line 213) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `pzem` in this scope
[INFO] [stdout]  --> src/lib.rs:214:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | pzem.communicate::<NoTimeout>(&mut m, None).unwrap();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `m` in this scope
[INFO] [stdout]  --> src/lib.rs:214:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | pzem.communicate::<NoTimeout>(&mut m, None).unwrap();
[INFO] [stdout]   |                                    ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NoTimeout` in this scope
[INFO] [stdout]  --> src/lib.rs:214:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | pzem.communicate::<NoTimeout>(&mut m, None).unwrap();
[INFO] [stdout]   |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use pzem004t::NoTimeout;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/no_timeout.rs - no_timeout::NoTimeout (line 7) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `pzem` in this scope
[INFO] [stdout]  --> src/no_timeout.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | pzem.communicate::<NoTimeout>(&mut m, None);
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `m` in this scope
[INFO] [stdout]  --> src/no_timeout.rs:8:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | pzem.communicate::<NoTimeout>(&mut m, None);
[INFO] [stdout]   |                                    ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NoTimeout` in this scope
[INFO] [stdout]  --> src/no_timeout.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | pzem.communicate::<NoTimeout>(&mut m, None);
[INFO] [stdout]   |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use pzem004t::NoTimeout;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Pzem<Serial>::set_addr (line 332) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `pzem` in this scope
[INFO] [stdout]  --> src/lib.rs:334:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | pzem.set_addr(0x10, Some(&mut tim, 2.hz())).unwrap();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tim` in this scope
[INFO] [stdout]  --> src/lib.rs:334:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | pzem.set_addr(0x10, Some(&mut tim, 2.hz())).unwrap();
[INFO] [stdout]   |                               ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `hz` found for type `{integer}` in the current scope
[INFO] [stdout]  --> src/lib.rs:334:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | pzem.set_addr(0x10, Some(&mut tim, 2.hz())).unwrap();
[INFO] [stdout]   |                                      ^^ method not found in `{integer}`
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 2 arguments were supplied
[INFO] [stdout]  --> src/lib.rs:334:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | pzem.set_addr(0x10, Some(&mut tim, 2.hz())).unwrap();
[INFO] [stdout]   |                     ^^^^           ------ argument unexpected
[INFO] [stdout]   |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]   |
[INFO] [stdout] 4 | pzem.set_addr(0x10, Some(&mut tim)).unwrap();
[INFO] [stdout]   |                     ~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Pzem<Serial>::set_threshold (line 299) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `pzem` in this scope
[INFO] [stdout]  --> src/lib.rs:301:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | pzem.set_threshold(230, Some(&mut ti, 2.hz())).unwrap();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ti` in this scope
[INFO] [stdout]  --> src/lib.rs:301:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | pzem.set_threshold(230, Some(&mut ti, 2.hz())).unwrap();
[INFO] [stdout]   |                                   ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `hz` found for type `{integer}` in the current scope
[INFO] [stdout]  --> src/lib.rs:301:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | pzem.set_threshold(230, Some(&mut ti, 2.hz())).unwrap();
[INFO] [stdout]   |                                         ^^ method not found in `{integer}`
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 2 arguments were supplied
[INFO] [stdout]  --> src/lib.rs:301:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | pzem.set_threshold(230, Some(&mut ti, 2.hz())).unwrap();
[INFO] [stdout]   |                         ^^^^          ------ argument unexpected
[INFO] [stdout]   |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]   |
[INFO] [stdout] 4 | pzem.set_threshold(230, Some(&mut ti)).unwrap();
[INFO] [stdout]   |                         ~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 14)
[INFO] [stdout]     src/lib.rs - Pzem<Serial>::read (line 213)
[INFO] [stdout]     src/lib.rs - Pzem<Serial>::set_addr (line 332)
[INFO] [stdout]     src/lib.rs - Pzem<Serial>::set_threshold (line 299)
[INFO] [stdout]     src/no_timeout.rs - no_timeout::NoTimeout (line 7)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.64s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "b263f801c680e75000c9b46e41121a98e4847ad4c8d2c2a4d8a65c66d0a48c10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b263f801c680e75000c9b46e41121a98e4847ad4c8d2c2a4d8a65c66d0a48c10", kill_on_drop: false }`
[INFO] [stdout] b263f801c680e75000c9b46e41121a98e4847ad4c8d2c2a4d8a65c66d0a48c10
