[INFO] fetching crate pcf8563 0.1.2... [INFO] testing pcf8563-0.1.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate pcf8563 0.1.2 into /workspace/builds/worker-95/source [INFO] validating manifest of crates.io crate pcf8563 0.1.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pcf8563 0.1.2 [INFO] finished tweaking crates.io crate pcf8563 0.1.2 [INFO] tweaked toml for crates.io crate pcf8563 0.1.2 written to /workspace/builds/worker-95/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-hal-mock v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21be185ff5192620d83d2b8193e6b02fcf03665432f03aea354c4b7a13e5c3dd [INFO] running `Command { std: "docker" "start" "-a" "21be185ff5192620d83d2b8193e6b02fcf03665432f03aea354c4b7a13e5c3dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21be185ff5192620d83d2b8193e6b02fcf03665432f03aea354c4b7a13e5c3dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21be185ff5192620d83d2b8193e6b02fcf03665432f03aea354c4b7a13e5c3dd", kill_on_drop: false }` [INFO] [stdout] 21be185ff5192620d83d2b8193e6b02fcf03665432f03aea354c4b7a13e5c3dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 504ad1e50e1a55b80067c2c2d979502caf9da0b65f00c4909cb6924142c59a06 [INFO] running `Command { std: "docker" "start" "-a" "504ad1e50e1a55b80067c2c2d979502caf9da0b65f00c4909cb6924142c59a06", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling pcf8563 v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.10s [INFO] running `Command { std: "docker" "inspect" "504ad1e50e1a55b80067c2c2d979502caf9da0b65f00c4909cb6924142c59a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "504ad1e50e1a55b80067c2c2d979502caf9da0b65f00c4909cb6924142c59a06", kill_on_drop: false }` [INFO] [stdout] 504ad1e50e1a55b80067c2c2d979502caf9da0b65f00c4909cb6924142c59a06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ab09c94865ee26a4b25aa96098d41992d24ce8e466cb99ddb49f7cf4246efee [INFO] running `Command { std: "docker" "start" "-a" "8ab09c94865ee26a4b25aa96098d41992d24ce8e466cb99ddb49f7cf4246efee", kill_on_drop: false }` [INFO] [stderr] Compiling embedded-hal-mock v0.2.0 [INFO] [stderr] Compiling pcf8563 v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `embedded_hal_mock as hal` [INFO] [stdout] --> src/lib.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | use embedded_hal_mock as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:334:1 [INFO] [stdout] | [INFO] [stdout] 334 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "8ab09c94865ee26a4b25aa96098d41992d24ce8e466cb99ddb49f7cf4246efee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ab09c94865ee26a4b25aa96098d41992d24ce8e466cb99ddb49f7cf4246efee", kill_on_drop: false }` [INFO] [stdout] 8ab09c94865ee26a4b25aa96098d41992d24ce8e466cb99ddb49f7cf4246efee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3ea8b24786b90cd1590f313030af849e62760ff5472e5d056bac079b7cb3f8fe [INFO] running `Command { std: "docker" "start" "-a" "3ea8b24786b90cd1590f313030af849e62760ff5472e5d056bac079b7cb3f8fe", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `embedded_hal_mock as hal` [INFO] [stderr] --> src/lib.rs:335:9 [INFO] [stderr] | [INFO] [stderr] 335 | use embedded_hal_mock as hal; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/lib.rs:334:1 [INFO] [stderr] | [INFO] [stderr] 334 | mod tests { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `pcf8563` (lib test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pcf8563-6f267f59c0875134) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::can_convert_decode_bcd ... ok [INFO] [stdout] test tests::can_convert_encode_bcd ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests pcf8563 [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 103) ... FAILED [INFO] [stdout] test src/lib.rs - (line 47) ... FAILED [INFO] [stdout] test src/lib.rs - (line 64) ... FAILED [INFO] [stdout] test src/lib.rs - (line 160) ... FAILED [INFO] [stdout] test src/lib.rs - (line 38) ... FAILED [INFO] [stdout] test src/lib.rs - (line 91) ... FAILED [INFO] [stdout] test src/lib.rs - (line 112) ... FAILED [INFO] [stdout] test src/lib.rs - (line 132) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 103) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 3 | if rtc.get_alarm_flag().unwrap() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 4 | rtc.clear_alarm_flag().unwrap() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 47) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 3 | rtc.rtc_init().unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 64) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PCF8563` [INFO] [stdout] --> src/lib.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut rtc = PCF8563::new(i2c); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use pcf8563::PCF8563; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/lib.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 4 | let mut rtc = PCF8563::new(i2c); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DateTime` in this scope [INFO] [stdout] --> src/lib.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 6 | let now = DateTime { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use pcf8563::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 160) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClkoutFreq` [INFO] [stdout] --> src/lib.rs:161:26 [INFO] [stdout] | [INFO] [stdout] 3 | rtc.set_clkout_frequency(ClkoutFreq::Clkout_1024Hz).unwrap(); // set the frequency [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ClkoutFreq` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Control` [INFO] [stdout] --> src/lib.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 4 | rtc.control_clkout(Control::On).unwrap(); // enable the clock output [INFO] [stdout] | ^^^^^^^ use of undeclared type `Control` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 3 | rtc.set_clkout_frequency(ClkoutFreq::Clkout_1024Hz).unwrap(); // set the frequency [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 4 | rtc.control_clkout(Control::On).unwrap(); // enable the clock output [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 38) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PCF` [INFO] [stdout] --> src/lib.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut rtc = PCF::new(i2c); [INFO] [stdout] | ^^^ use of undeclared type `PCF` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/lib.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 6 | let mut rtc = PCF::new(i2c); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 91) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Control` [INFO] [stdout] --> src/lib.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 7 | rtc.control_alarm_minutes(Control::On).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Control` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Control` [INFO] [stdout] --> src/lib.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 8 | rtc.control_alarm_hours(Control::On).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Control` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Control` [INFO] [stdout] --> src/lib.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 9 | rtc.control_alarm_interrupt(Control::On).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Control` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 5 | rtc.set_alarm_minutes(25).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 6 | rtc.set_alarm_hours(9).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 7 | rtc.control_alarm_minutes(Control::On).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 8 | rtc.control_alarm_hours(Control::On).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 9 | rtc.control_alarm_interrupt(Control::On).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 112) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 3 | rtc.disable_all_alarms().unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 132) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimerFreq` [INFO] [stdout] --> src/lib.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 3 | rtc.set_timer_frequency(TimerFreq::Timer_1Hz).unwrap(); // set frequency to 1 Hz [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TimerFreq` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Control` [INFO] [stdout] --> src/lib.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 5 | rtc.control_timer_interrupt(Control::On).unwrap(); // enable timer interrupt [INFO] [stdout] | ^^^^^^^ use of undeclared type `Control` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Control` [INFO] [stdout] --> src/lib.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 6 | rtc.control_timer(Control::On).unwrap(); // start the timer [INFO] [stdout] | ^^^^^^^ use of undeclared type `Control` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Control` [INFO] [stdout] --> src/lib.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 10 | rtc.control_timer(Control::Off).unwrap(); // disable the timer [INFO] [stdout] | ^^^^^^^ use of undeclared type `Control` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 3 | rtc.set_timer_frequency(TimerFreq::Timer_1Hz).unwrap(); // set frequency to 1 Hz [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 4 | rtc.set_timer(30).unwrap(); // set timer to 30 ticks [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 5 | rtc.control_timer_interrupt(Control::On).unwrap(); // enable timer interrupt [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 6 | rtc.control_timer(Control::On).unwrap(); // start the timer [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 10 | rtc.control_timer(Control::Off).unwrap(); // disable the timer [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 11 | rtc.clear_timer_flag().unwrap(); // clear the timer flag [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 103) [INFO] [stdout] src/lib.rs - (line 112) [INFO] [stdout] src/lib.rs - (line 132) [INFO] [stdout] src/lib.rs - (line 160) [INFO] [stdout] src/lib.rs - (line 38) [INFO] [stdout] src/lib.rs - (line 47) [INFO] [stdout] src/lib.rs - (line 64) [INFO] [stdout] src/lib.rs - (line 91) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "3ea8b24786b90cd1590f313030af849e62760ff5472e5d056bac079b7cb3f8fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ea8b24786b90cd1590f313030af849e62760ff5472e5d056bac079b7cb3f8fe", kill_on_drop: false }` [INFO] [stdout] 3ea8b24786b90cd1590f313030af849e62760ff5472e5d056bac079b7cb3f8fe