[INFO] fetching crate atsam4-hal 0.3.1...
[INFO] testing atsam4-hal-0.3.1 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate atsam4-hal 0.3.1 into /workspace/builds/worker-6-tc2/source
[INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config
[INFO] started tweaking crates.io crate atsam4-hal 0.3.1
[INFO] finished tweaking crates.io crate atsam4-hal 0.3.1
[INFO] tweaked toml for crates.io crate atsam4-hal 0.3.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate atsam4-hal 0.3.1 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 59 packages to latest compatible versions
[INFO] [stderr]       Adding defmt v0.3.100 (available: v1.0.1)
[INFO] [stderr]       Adding embedded-hal v0.2.7 (available: v1.0.0)
[INFO] [stderr]       Adding usb-device v0.2.9 (available: v0.3.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a1bae385dc4b2bb34a6c9c1941acaec0f0dad8d93e7fc146aab070b7c5f8d5f0
[INFO] running `Command { std: "docker" "start" "-a" "a1bae385dc4b2bb34a6c9c1941acaec0f0dad8d93e7fc146aab070b7c5f8d5f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a1bae385dc4b2bb34a6c9c1941acaec0f0dad8d93e7fc146aab070b7c5f8d5f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1bae385dc4b2bb34a6c9c1941acaec0f0dad8d93e7fc146aab070b7c5f8d5f0", kill_on_drop: false }`
[INFO] [stdout] a1bae385dc4b2bb34a6c9c1941acaec0f0dad8d93e7fc146aab070b7c5f8d5f0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eee73b01fa2c0899c8e102d6dae4658bbf7cc81be4950f6bc42b06120b18f26a
[INFO] running `Command { std: "docker" "start" "-a" "eee73b01fa2c0899c8e102d6dae4658bbf7cc81be4950f6bc42b06120b18f26a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling defmt-macros v1.0.1
[INFO] [stderr]    Compiling defmt v1.0.1
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling cortex-m-rt v0.7.5
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling volatile-register v0.2.2
[INFO] [stderr]    Compiling gcd v2.3.0
[INFO] [stderr]    Compiling critical-section v1.2.0
[INFO] [stderr]    Compiling atsam4e16e-pac v0.3.1
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling atsam4-hal v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling embedded-storage v0.3.1
[INFO] [stderr]    Compiling embedded-dma v0.2.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.5
[INFO] [stderr]    Compiling defmt-parser v1.0.0
[INFO] [stderr]    Compiling defmt v0.3.100
[INFO] [stderr]    Compiling fugit v0.3.7
[INFO] [stderr]    Compiling fugit-timer v0.1.3
[INFO] [stdout] warning: unexpected `cfg` condition value: `atsam4_c`
[INFO] [stdout]  --> src/static_memory_controller.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![cfg(any(feature = "atsam4_c", feature = "atsam4e_e"))]
[INFO] [stdout]   |            ^^^^^^^^^^----------
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      help: there is a expected value with a similar name: `"atsam4n_c"`
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `atsam4e`, `atsam4e16c`, `atsam4e16c-pac`, `atsam4e16e`, `atsam4e16e-pac`, `atsam4e8c`, `atsam4e8c-pac`, `atsam4e8e`, `atsam4e8e-pac`, `atsam4e_c`, `atsam4e_e`, `atsam4n`, `atsam4n16b`, `atsam4n16b-pac`, `atsam4n16c`, `atsam4n16c-pac`, `atsam4n8a`, `atsam4n8a-pac`, `atsam4n8b`, `atsam4n8b-pac`, `atsam4n8c`, `atsam4n8c-pac`, `atsam4n_a`, `atsam4n_b`, `atsam4n_c`, `atsam4s`, `atsam4s2a`, `atsam4s2a-pac`, `atsam4s2b`, `atsam4s2b-pac`, `atsam4s2c`, `atsam4s2c-pac`, `atsam4s4a`, `atsam4s4a-pac`, and `atsam4s4b` and 29 more
[INFO] [stdout]   = help: consider adding `atsam4_c` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/timer.rs:330:51
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, &mut OLD_DWT) };
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&raw mut DWT_OVERFLOWS, &mut OLD_DWT) };
[INFO] [stdout]     |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/timer.rs:330:71
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, &mut OLD_DWT) };
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, &raw mut OLD_DWT) };
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s
[INFO] running `Command { std: "docker" "inspect" "eee73b01fa2c0899c8e102d6dae4658bbf7cc81be4950f6bc42b06120b18f26a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eee73b01fa2c0899c8e102d6dae4658bbf7cc81be4950f6bc42b06120b18f26a", kill_on_drop: false }`
[INFO] [stdout] eee73b01fa2c0899c8e102d6dae4658bbf7cc81be4950f6bc42b06120b18f26a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1e8bd7fe0a903f7240fb474879f657ee971161d52ba8bb6132a47d1b0fb8f9c2
[INFO] running `Command { std: "docker" "start" "-a" "1e8bd7fe0a903f7240fb474879f657ee971161d52ba8bb6132a47d1b0fb8f9c2", kill_on_drop: false }`
[INFO] [stdout] warning: unexpected `cfg` condition value: `atsam4_c`
[INFO] [stdout]  --> src/static_memory_controller.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![cfg(any(feature = "atsam4_c", feature = "atsam4e_e"))]
[INFO] [stdout]   |            ^^^^^^^^^^----------
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      help: there is a expected value with a similar name: `"atsam4n_c"`
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `atsam4e`, `atsam4e16c`, `atsam4e16c-pac`, `atsam4e16e`, `atsam4e16e-pac`, `atsam4e8c`, `atsam4e8c-pac`, `atsam4e8e`, `atsam4e8e-pac`, `atsam4e_c`, `atsam4e_e`, `atsam4n`, `atsam4n16b`, `atsam4n16b-pac`, `atsam4n16c`, `atsam4n16c-pac`, `atsam4n8a`, `atsam4n8a-pac`, `atsam4n8b`, `atsam4n8b-pac`, `atsam4n8c`, `atsam4n8c-pac`, `atsam4n_a`, `atsam4n_b`, `atsam4n_c`, `atsam4s`, `atsam4s2a`, `atsam4s2a-pac`, `atsam4s2b`, `atsam4s2b-pac`, `atsam4s2c`, `atsam4s2c-pac`, `atsam4s4a`, `atsam4s4a-pac`, and `atsam4s4b` and 29 more
[INFO] [stdout]   = help: consider adding `atsam4_c` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/timer.rs:330:51
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, &mut OLD_DWT) };
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&raw mut DWT_OVERFLOWS, &mut OLD_DWT) };
[INFO] [stdout]     |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/timer.rs:330:71
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, &mut OLD_DWT) };
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, &raw mut OLD_DWT) };
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling atsam4-hal v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `atsam4_c`
[INFO] [stdout]  --> src/static_memory_controller.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![cfg(any(feature = "atsam4_c", feature = "atsam4e_e"))]
[INFO] [stdout]   |            ^^^^^^^^^^----------
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      help: there is a expected value with a similar name: `"atsam4n_c"`
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `atsam4e`, `atsam4e16c`, `atsam4e16c-pac`, `atsam4e16e`, `atsam4e16e-pac`, `atsam4e8c`, `atsam4e8c-pac`, `atsam4e8e`, `atsam4e8e-pac`, `atsam4e_c`, `atsam4e_e`, `atsam4n`, `atsam4n16b`, `atsam4n16b-pac`, `atsam4n16c`, `atsam4n16c-pac`, `atsam4n8a`, `atsam4n8a-pac`, `atsam4n8b`, `atsam4n8b-pac`, `atsam4n8c`, `atsam4n8c-pac`, `atsam4n_a`, `atsam4n_b`, `atsam4n_c`, `atsam4s`, `atsam4s2a`, `atsam4s2a-pac`, `atsam4s2b`, `atsam4s2b-pac`, `atsam4s2c`, `atsam4s2c-pac`, `atsam4s4a`, `atsam4s4a-pac`, and `atsam4s4b` and 29 more
[INFO] [stdout]   = help: consider adding `atsam4_c` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/timer.rs:330:51
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, &mut OLD_DWT) };
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&raw mut DWT_OVERFLOWS, &mut OLD_DWT) };
[INFO] [stdout]     |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/timer.rs:330:71
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, &mut OLD_DWT) };
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, &raw mut OLD_DWT) };
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.93s
[INFO] running `Command { std: "docker" "inspect" "1e8bd7fe0a903f7240fb474879f657ee971161d52ba8bb6132a47d1b0fb8f9c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e8bd7fe0a903f7240fb474879f657ee971161d52ba8bb6132a47d1b0fb8f9c2", kill_on_drop: false }`
[INFO] [stdout] 1e8bd7fe0a903f7240fb474879f657ee971161d52ba8bb6132a47d1b0fb8f9c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2d89bee3f355ee57010331776c1fe796217690a935d99dca647053ae7eff9260
[INFO] running `Command { std: "docker" "start" "-a" "2d89bee3f355ee57010331776c1fe796217690a935d99dca647053ae7eff9260", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition value: `atsam4_c`
[INFO] [stderr]  --> src/static_memory_controller.rs:2:12
[INFO] [stderr]   |
[INFO] [stderr] 2 | #![cfg(any(feature = "atsam4_c", feature = "atsam4e_e"))]
[INFO] [stderr]   |            ^^^^^^^^^^----------
[INFO] [stderr]   |                      |
[INFO] [stderr]   |                      help: there is a expected value with a similar name: `"atsam4n_c"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: expected values for `feature` are: `atsam4e`, `atsam4e16c`, `atsam4e16c-pac`, `atsam4e16e`, `atsam4e16e-pac`, `atsam4e8c`, `atsam4e8c-pac`, `atsam4e8e`, `atsam4e8e-pac`, `atsam4e_c`, `atsam4e_e`, `atsam4n`, `atsam4n16b`, `atsam4n16b-pac`, `atsam4n16c`, `atsam4n16c-pac`, `atsam4n8a`, `atsam4n8a-pac`, `atsam4n8b`, `atsam4n8b-pac`, `atsam4n8c`, `atsam4n8c-pac`, `atsam4n_a`, `atsam4n_b`, `atsam4n_c`, `atsam4s`, `atsam4s2a`, `atsam4s2a-pac`, `atsam4s2b`, `atsam4s2b-pac`, `atsam4s2c`, `atsam4s2c-pac`, `atsam4s4a`, `atsam4s4a-pac`, and `atsam4s4b` and 29 more
[INFO] [stderr]   = help: consider adding `atsam4_c` as a feature in `Cargo.toml`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/timer.rs:330:51
[INFO] [stderr]     |
[INFO] [stderr] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, &mut OLD_DWT) };
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 330 |             let (overflows, last_cnt) = unsafe { (&raw mut DWT_OVERFLOWS, &mut OLD_DWT) };
[INFO] [stderr]     |                                                    +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/timer.rs:330:71
[INFO] [stderr]     |
[INFO] [stderr] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, &mut OLD_DWT) };
[INFO] [stderr]     |                                                                       ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, &raw mut OLD_DWT) };
[INFO] [stderr]     |                                                                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: `atsam4-hal` (lib) generated 3 warnings
[INFO] [stderr] warning: `atsam4-hal` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/atsam4_hal-cb6a30509ef32b99)
[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] [stderr]    Doc-tests atsam4_hal
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test src/spi.rs - spi::SpiMaster<u32>::with_pdc_rxtx (line 1017) ... FAILED
[INFO] [stdout] test src/spi.rs - spi::SpiMaster<u16>::with_pdc_rxtx (line 1016) ... FAILED
[INFO] [stdout] test src/spi.rs - spi::SpiMaster<u8>::with_pdc_rxtx (line 1015) ... FAILED
[INFO] [stdout] test src/efc.rs - efc::Efc (line 150) ... FAILED
[INFO] [stdout] test src/timer.rs - timer::TimerCounter<TC0>::new (line 307) ... FAILED
[INFO] [stdout] test src/rtt.rs - rtt::RealTimeTimer<PRESCALER,RTC1HZ>::new (line 140) ... FAILED
[INFO] [stdout] test src/efc.rs - efc::Efc (line 164) ... FAILED
[INFO] [stdout] test src/spi.rs - spi::SpiMaster (line 198) ... FAILED
[INFO] [stdout] test src/timer.rs - timer::TimerCounter<TC2>::new (line 317) ... FAILED
[INFO] [stdout] test src/timer.rs - timer::TimerCounter<TC1>::new (line 312) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/spi.rs - spi::SpiMaster<u32>::with_pdc_rxtx (line 1017) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]  --> src/spi.rs:1021:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | let peripherals = Peripherals::take().unwrap();
[INFO] [stdout]   | ^^^
[INFO] [stdout]   | |
[INFO] [stdout]   | `let` cannot be used for global variables
[INFO] [stdout]   | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]   |
[INFO] [stdout]   = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/spi.rs - spi::SpiMaster<u16>::with_pdc_rxtx (line 1016) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]  --> src/spi.rs:1020:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | let peripherals = Peripherals::take().unwrap();
[INFO] [stdout]   | ^^^
[INFO] [stdout]   | |
[INFO] [stdout]   | `let` cannot be used for global variables
[INFO] [stdout]   | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]   |
[INFO] [stdout]   = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/spi.rs - spi::SpiMaster<u8>::with_pdc_rxtx (line 1015) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]  --> src/spi.rs:1019:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | let peripherals = Peripherals::take().unwrap();
[INFO] [stdout]   | ^^^
[INFO] [stdout]   | |
[INFO] [stdout]   | `let` cannot be used for global variables
[INFO] [stdout]   | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]   |
[INFO] [stdout]   = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/efc.rs - efc::Efc (line 150) stdout ----
[INFO] [stdout] error: missing `enum` for enum definition
[INFO] [stdout]  --> src/efc.rs:151:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | MEMORY
[INFO] [stdout]   | ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: add `enum` here to parse `MEMORY` as an enum
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum MEMORY
[INFO] [stdout]   | ++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/timer.rs - timer::TimerCounter<TC0>::new (line 307) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClockController`
[INFO] [stdout]  --> src/timer.rs:308:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let clocks = ClockController::new(
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^ use of undeclared type `ClockController`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use atsam4_hal::clock::ClockController;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cx` in this scope
[INFO] [stdout]  --> src/timer.rs:309:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     cx.device.PMC,
[INFO] [stdout]   |     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cx` in this scope
[INFO] [stdout]  --> src/timer.rs:310:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     &cx.device.SUPC,
[INFO] [stdout]   |      ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cx` in this scope
[INFO] [stdout]  --> src/timer.rs:311:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     &cx.device.EFC0,
[INFO] [stdout]   |      ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MainClock`
[INFO] [stdout]  --> src/timer.rs:312:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     MainClock::Crystal12Mhz,
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `MainClock`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use atsam4_hal::clock::MainClock;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SlowClock`
[INFO] [stdout]  --> src/timer.rs:313:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     SlowClock::RcOscillator32Khz,
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `SlowClock`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use atsam4_hal::clock::SlowClock;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimerCounter`
[INFO] [stdout]   --> src/timer.rs:316:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut tc0 = TimerCounter::new(TC0);
[INFO] [stdout]    |               ^^^^^^^^^^^^ use of undeclared type `TimerCounter`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::timer::TimerCounter;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TC0` in this scope
[INFO] [stdout]   --> src/timer.rs:316:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut tc0 = TimerCounter::new(TC0);
[INFO] [stdout]    |                                 ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4e16e_pac::Interrupt::TC0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClockSource`
[INFO] [stdout]   --> src/timer.rs:324:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | tcc0.clock_input(ClockSource::Slck32768Hz);
[INFO] [stdout]    |                  ^^^^^^^^^^^ use of undeclared type `ClockSource`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::timer::ClockSource;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClockSource`
[INFO] [stdout]   --> src/timer.rs:329:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | tcc1.clock_input(ClockSource::MckDiv2);
[INFO] [stdout]    |                  ^^^^^^^^^^^ use of undeclared type `ClockSource`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::timer::ClockSource;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `millis` found for type `u32` in the current scope
[INFO] [stdout]    --> src/timer.rs:325:20
[INFO] [stdout]     |
[INFO] [stdout] 20  | tcc0.start(500_u32.millis());
[INFO] [stdout]     |                    ^^^^^^ method not found in `u32`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fugit-0.3.7/src/duration.rs:759:8
[INFO] [stdout]     |
[INFO] [stdout] 759 |     fn millis<const NOM: u32, const DENOM: u32>(self) -> Duration<u32, NOM, DENOM>;
[INFO] [stdout]     |        ------ the method is available for `u32` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ExtU32` which provides `millis` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 2   + use fugit::ExtU32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `nanos` found for type `u32` in the current scope
[INFO] [stdout]    --> src/timer.rs:330:19
[INFO] [stdout]     |
[INFO] [stdout] 25  | tcc1.start(17_u32.nanos()); // Assuming MCK is 120 MHz or faster
[INFO] [stdout]     |                   ^^^^^ method not found in `u32`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fugit-0.3.7/src/duration.rs:753:8
[INFO] [stdout]     |
[INFO] [stdout] 753 |     fn nanos<const NOM: u32, const DENOM: u32>(self) -> Duration<u32, NOM, DENOM>;
[INFO] [stdout]     |        ----- the method is available for `u32` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ExtU32` which provides `nanos` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 2   + use fugit::ExtU32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rtt.rs - rtt::RealTimeTimer<PRESCALER,RTC1HZ>::new (line 140) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RealTimeTimer`
[INFO] [stdout]  --> src/rtt.rs:142:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut rtt = RealTimeTimer::<PRESCALER, false>::new(peripherals.RTT);
[INFO] [stdout]   |               ^^^^^^^^^^^^^ use of undeclared type `RealTimeTimer`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use atsam4_hal::rtt::RealTimeTimer;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/rtt.rs:142:54
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut rtt = RealTimeTimer::<PRESCALER, false>::new(peripherals.RTT);
[INFO] [stdout]   |                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `micros` found for type `u32` in the current scope
[INFO] [stdout]    --> src/rtt.rs:144:24
[INFO] [stdout]     |
[INFO] [stdout] 6   | rtt.start(1_000_000u32.micros());
[INFO] [stdout]     |                        ^^^^^^ method not found in `u32`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fugit-0.3.7/src/duration.rs:756:8
[INFO] [stdout]     |
[INFO] [stdout] 756 |     fn micros<const NOM: u32, const DENOM: u32>(self) -> Duration<u32, NOM, DENOM>;
[INFO] [stdout]     |        ------ the method is available for `u32` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ExtU32` which provides `micros` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 2   + use fugit::ExtU32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/efc.rs - efc::Efc (line 164) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal`
[INFO] [stdout]   --> src/efc.rs:173:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use hal::efc::Efc;
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `hal`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClockController`
[INFO] [stdout]   --> src/efc.rs:178:15
[INFO] [stdout]    |
[INFO] [stdout] 17 | let _clocks = ClockController::new(
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^ use of undeclared type `ClockController`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::clock::ClockController;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MainClock`
[INFO] [stdout]   --> src/efc.rs:182:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     MainClock::Crystal12Mhz,
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared type `MainClock`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::clock::MainClock;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SlowClock`
[INFO] [stdout]   --> src/efc.rs:183:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     SlowClock::RcOscillator32Khz,
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared type `SlowClock`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::clock::SlowClock;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cx` in this scope
[INFO] [stdout]   --> src/efc.rs:188:24
[INFO] [stdout]    |
[INFO] [stdout] 27 | let mut efc = Efc::new(cx.device.EFC0, unsafe { &mut FLASH_CONFIG });
[INFO] [stdout]    |                        ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `EFC0` on type `Peripherals`
[INFO] [stdout]   --> src/efc.rs:181:18
[INFO] [stdout]    |
[INFO] [stdout] 20 |     &peripherals.EFC0,
[INFO] [stdout]    |                  ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 20 -     &peripherals.EFC0,
[INFO] [stdout] 20 +     &peripherals.EFC,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0609.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/spi.rs - spi::SpiMaster (line 198) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/spi.rs:221:58
[INFO] [stdout]    |
[INFO] [stdout] 26 | let mut pins = Pins::new(gpio_ports, &peripherals.MATRIX)
[INFO] [stdout]    |                                                          ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 29 | let wdrbt = false; // Wait data read before transfer enabled
[INFO] [stdout]    | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ports`
[INFO] [stdout]   --> src/spi.rs:211:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | let gpio_ports = Ports::new(
[INFO] [stdout]    |                  ^^^^^ use of undeclared type `Ports`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::gpio::Ports;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pins`
[INFO] [stdout]   --> src/spi.rs:221:16
[INFO] [stdout]    |
[INFO] [stdout] 26 | let mut pins = Pins::new(gpio_ports, &peripherals.MATRIX)
[INFO] [stdout]    |                ^^^^ use of undeclared type `Pins`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::gpio::Pins;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpiMaster`
[INFO] [stdout]   --> src/spi.rs:230:15
[INFO] [stdout]    |
[INFO] [stdout] 35 | let mut spi = SpiMaster::<SpiU8>::new(
[INFO] [stdout]    |               ^^^^^^^^^ use of undeclared type `SpiMaster`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::spi::SpiMaster;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SpiU8` in this scope
[INFO] [stdout]   --> src/spi.rs:230:27
[INFO] [stdout]    |
[INFO] [stdout] 35 | let mut spi = SpiMaster::<SpiU8>::new(
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::spi::SpiU8;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cx` in this scope
[INFO] [stdout]   --> src/spi.rs:231:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     cx.device.SPI,
[INFO] [stdout]    |     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spi`
[INFO] [stdout]   --> src/spi.rs:236:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     spi::PeripheralSelectMode::Variable,
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `spi`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/spi.rs, use `mod spi` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 2  + mod spi;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::spi::PeripheralSelectMode;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `PeripheralSelectMode`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 41 -     spi::PeripheralSelectMode::Variable,
[INFO] [stdout] 41 +     PeripheralSelectMode::Variable,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spi`
[INFO] [stdout]   --> src/spi.rs:243:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | let mode = spi::spi::MODE_3;
[INFO] [stdout]    |            ^^^ use of unresolved module or unlinked crate `spi`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/spi.rs, use `mod spi` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 2  + mod spi;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::spi::spi;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use embedded_hal::spi;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `spi`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 48 - let mode = spi::spi::MODE_3;
[INFO] [stdout] 48 + let mode = spi::MODE_3;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spi`
[INFO] [stdout]   --> src/spi.rs:244:11
[INFO] [stdout]    |
[INFO] [stdout] 49 | let csa = spi::ChipSelectActive::ActiveAfterTransfer;
[INFO] [stdout]    |           ^^^ use of unresolved module or unlinked crate `spi`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/spi.rs, use `mod spi` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 2  + mod spi;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::spi::ChipSelectActive;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ChipSelectActive`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 49 - let csa = spi::ChipSelectActive::ActiveAfterTransfer;
[INFO] [stdout] 49 + let csa = ChipSelectActive::ActiveAfterTransfer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spi`
[INFO] [stdout]   --> src/spi.rs:245:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | let bits = spi::BitWidth::Width8Bit;
[INFO] [stdout]    |            ^^^ use of unresolved module or unlinked crate `spi`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/spi.rs, use `mod spi` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 2  + mod spi;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::spi::BitWidth;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `BitWidth`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 50 - let bits = spi::BitWidth::Width8Bit;
[INFO] [stdout] 50 + let bits = BitWidth::Width8Bit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spi`
[INFO] [stdout]   --> src/spi.rs:246:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | let baud = spi::Hertz(12_000_000_u32); // 12 MHz
[INFO] [stdout]    |            ^^^ use of unresolved module or unlinked crate `spi`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/spi.rs, use `mod spi` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 2  + mod spi;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::spi;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spi`
[INFO] [stdout]   --> src/spi.rs:249:19
[INFO] [stdout]    |
[INFO] [stdout] 54 | let cs_settings = spi::ChipSelectSettings::new(mode, csa, bits, baud, dlybs, dlybct);
[INFO] [stdout]    |                   ^^^ use of unresolved module or unlinked crate `spi`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/spi.rs, use `mod spi` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 2  + mod spi;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::spi::ChipSelectSettings;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ChipSelectSettings`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 54 - let cs_settings = spi::ChipSelectSettings::new(mode, csa, bits, baud, dlybs, dlybct);
[INFO] [stdout] 54 + let cs_settings = ChipSelectSettings::new(mode, csa, bits, baud, dlybs, dlybct);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `EFC0` on type `Peripherals`
[INFO] [stdout]   --> src/spi.rs:207:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |     &peripherals.EFC0,
[INFO] [stdout]    |                  ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 12 -     &peripherals.EFC0,
[INFO] [stdout] 12 +     &peripherals.EFC,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0609.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/timer.rs - timer::TimerCounter<TC2>::new (line 317) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClockController`
[INFO] [stdout]  --> src/timer.rs:318:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let clocks = ClockController::new(
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^ use of undeclared type `ClockController`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use atsam4_hal::clock::ClockController;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cx` in this scope
[INFO] [stdout]  --> src/timer.rs:319:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     cx.device.PMC,
[INFO] [stdout]   |     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cx` in this scope
[INFO] [stdout]  --> src/timer.rs:320:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     &cx.device.SUPC,
[INFO] [stdout]   |      ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cx` in this scope
[INFO] [stdout]  --> src/timer.rs:321:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     &cx.device.EFC0,
[INFO] [stdout]   |      ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MainClock`
[INFO] [stdout]  --> src/timer.rs:322:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     MainClock::Crystal12Mhz,
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `MainClock`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use atsam4_hal::clock::MainClock;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SlowClock`
[INFO] [stdout]  --> src/timer.rs:323:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     SlowClock::RcOscillator32Khz,
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `SlowClock`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use atsam4_hal::clock::SlowClock;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimerCounter`
[INFO] [stdout]   --> src/timer.rs:326:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut tc0 = TimerCounter::new(TC0);
[INFO] [stdout]    |               ^^^^^^^^^^^^ use of undeclared type `TimerCounter`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::timer::TimerCounter;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TC0` in this scope
[INFO] [stdout]   --> src/timer.rs:326:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut tc0 = TimerCounter::new(TC0);
[INFO] [stdout]    |                                 ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4e16e_pac::Interrupt::TC0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClockSource`
[INFO] [stdout]   --> src/timer.rs:334:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | tcc0.clock_input(ClockSource::Slck32768Hz);
[INFO] [stdout]    |                  ^^^^^^^^^^^ use of undeclared type `ClockSource`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::timer::ClockSource;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClockSource`
[INFO] [stdout]   --> src/timer.rs:339:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | tcc1.clock_input(ClockSource::MckDiv2);
[INFO] [stdout]    |                  ^^^^^^^^^^^ use of undeclared type `ClockSource`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::timer::ClockSource;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `millis` found for type `u32` in the current scope
[INFO] [stdout]    --> src/timer.rs:335:20
[INFO] [stdout]     |
[INFO] [stdout] 20  | tcc0.start(500_u32.millis());
[INFO] [stdout]     |                    ^^^^^^ method not found in `u32`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fugit-0.3.7/src/duration.rs:759:8
[INFO] [stdout]     |
[INFO] [stdout] 759 |     fn millis<const NOM: u32, const DENOM: u32>(self) -> Duration<u32, NOM, DENOM>;
[INFO] [stdout]     |        ------ the method is available for `u32` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ExtU32` which provides `millis` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 2   + use fugit::ExtU32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `nanos` found for type `u32` in the current scope
[INFO] [stdout]    --> src/timer.rs:340:19
[INFO] [stdout]     |
[INFO] [stdout] 25  | tcc1.start(17_u32.nanos()); // Assuming MCK is 120 MHz or faster
[INFO] [stdout]     |                   ^^^^^ method not found in `u32`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fugit-0.3.7/src/duration.rs:753:8
[INFO] [stdout]     |
[INFO] [stdout] 753 |     fn nanos<const NOM: u32, const DENOM: u32>(self) -> Duration<u32, NOM, DENOM>;
[INFO] [stdout]     |        ----- the method is available for `u32` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ExtU32` which provides `nanos` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 2   + use fugit::ExtU32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/timer.rs - timer::TimerCounter<TC1>::new (line 312) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClockController`
[INFO] [stdout]  --> src/timer.rs:313:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let clocks = ClockController::new(
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^ use of undeclared type `ClockController`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use atsam4_hal::clock::ClockController;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cx` in this scope
[INFO] [stdout]  --> src/timer.rs:314:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     cx.device.PMC,
[INFO] [stdout]   |     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cx` in this scope
[INFO] [stdout]  --> src/timer.rs:315:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     &cx.device.SUPC,
[INFO] [stdout]   |      ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cx` in this scope
[INFO] [stdout]  --> src/timer.rs:316:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     &cx.device.EFC0,
[INFO] [stdout]   |      ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MainClock`
[INFO] [stdout]  --> src/timer.rs:317:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     MainClock::Crystal12Mhz,
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `MainClock`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use atsam4_hal::clock::MainClock;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SlowClock`
[INFO] [stdout]  --> src/timer.rs:318:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     SlowClock::RcOscillator32Khz,
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared type `SlowClock`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use atsam4_hal::clock::SlowClock;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimerCounter`
[INFO] [stdout]   --> src/timer.rs:321:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut tc0 = TimerCounter::new(TC0);
[INFO] [stdout]    |               ^^^^^^^^^^^^ use of undeclared type `TimerCounter`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::timer::TimerCounter;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TC0` in this scope
[INFO] [stdout]   --> src/timer.rs:321:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut tc0 = TimerCounter::new(TC0);
[INFO] [stdout]    |                                 ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4e16e_pac::Interrupt::TC0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClockSource`
[INFO] [stdout]   --> src/timer.rs:329:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | tcc0.clock_input(ClockSource::Slck32768Hz);
[INFO] [stdout]    |                  ^^^^^^^^^^^ use of undeclared type `ClockSource`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::timer::ClockSource;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClockSource`
[INFO] [stdout]   --> src/timer.rs:334:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | tcc1.clock_input(ClockSource::MckDiv2);
[INFO] [stdout]    |                  ^^^^^^^^^^^ use of undeclared type `ClockSource`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use atsam4_hal::timer::ClockSource;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `millis` found for type `u32` in the current scope
[INFO] [stdout]    --> src/timer.rs:330:20
[INFO] [stdout]     |
[INFO] [stdout] 20  | tcc0.start(500_u32.millis());
[INFO] [stdout]     |                    ^^^^^^ method not found in `u32`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fugit-0.3.7/src/duration.rs:759:8
[INFO] [stdout]     |
[INFO] [stdout] 759 |     fn millis<const NOM: u32, const DENOM: u32>(self) -> Duration<u32, NOM, DENOM>;
[INFO] [stdout]     |        ------ the method is available for `u32` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ExtU32` which provides `millis` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 2   + use fugit::ExtU32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `nanos` found for type `u32` in the current scope
[INFO] [stdout]    --> src/timer.rs:335:19
[INFO] [stdout]     |
[INFO] [stdout] 25  | tcc1.start(17_u32.nanos()); // Assuming MCK is 120 MHz or faster
[INFO] [stdout]     |                   ^^^^^ method not found in `u32`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fugit-0.3.7/src/duration.rs:753:8
[INFO] [stdout]     |
[INFO] [stdout] 753 |     fn nanos<const NOM: u32, const DENOM: u32>(self) -> Duration<u32, NOM, DENOM>;
[INFO] [stdout]     |        ----- the method is available for `u32` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ExtU32` which provides `nanos` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 2   + use fugit::ExtU32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[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/efc.rs - efc::Efc (line 150)
[INFO] [stdout]     src/efc.rs - efc::Efc (line 164)
[INFO] [stdout]     src/rtt.rs - rtt::RealTimeTimer<PRESCALER,RTC1HZ>::new (line 140)
[INFO] [stdout]     src/spi.rs - spi::SpiMaster (line 198)
[INFO] [stdout]     src/spi.rs - spi::SpiMaster<u16>::with_pdc_rxtx (line 1016)
[INFO] [stdout]     src/spi.rs - spi::SpiMaster<u32>::with_pdc_rxtx (line 1017)
[INFO] [stdout]     src/spi.rs - spi::SpiMaster<u8>::with_pdc_rxtx (line 1015)
[INFO] [stdout]     src/timer.rs - timer::TimerCounter<TC0>::new (line 307)
[INFO] [stdout]     src/timer.rs - timer::TimerCounter<TC1>::new (line 312)
[INFO] [stdout]     src/timer.rs - timer::TimerCounter<TC2>::new (line 317)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.88s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "2d89bee3f355ee57010331776c1fe796217690a935d99dca647053ae7eff9260", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d89bee3f355ee57010331776c1fe796217690a935d99dca647053ae7eff9260", kill_on_drop: false }`
[INFO] [stdout] 2d89bee3f355ee57010331776c1fe796217690a935d99dca647053ae7eff9260
