[INFO] fetching crate atsam4-hal 0.3.1...
[INFO] testing atsam4-hal-0.3.1 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate atsam4-hal 0.3.1 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate atsam4-hal 0.3.1 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 61 packages to latest compatible versions
[INFO] [stderr]       Adding bare-metal v0.2.5 (latest: v1.0.0)
[INFO] [stderr]       Adding bitfield v0.13.2 (latest: v0.15.0)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding embedded-hal v0.2.7 (latest: v1.0.0)
[INFO] [stderr]       Adding nb v0.1.3 (latest: v1.1.0)
[INFO] [stderr]       Adding rustc_version v0.2.3 (latest: v0.4.0)
[INFO] [stderr]       Adding semver v0.9.0 (latest: v1.0.23)
[INFO] [stderr]       Adding semver-parser v0.7.0 (latest: v0.10.2)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding usb-device v0.2.9 (latest: v0.3.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cortex-m-rt v0.7.3
[INFO] [stderr]   Downloaded fugit-timer v0.1.3
[INFO] [stderr]   Downloaded usb-device v0.2.9
[INFO] [stderr]   Downloaded fugit v0.3.7
[INFO] [stderr]   Downloaded embedded-dma v0.2.0
[INFO] [stderr]   Downloaded embedded-storage v0.3.1
[INFO] [stderr]   Downloaded gcd v2.3.0
[INFO] [stderr]   Downloaded atsam4sd32c-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4s4a-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4s4b-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4n16b-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4e16c-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4e16e-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4s2a-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4e8e-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4e8c-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4sa16c-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4sd16c-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4n16c-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4n8a-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4n8b-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4n8c-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4s2b-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4s2c-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4s4c-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4s8b-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4s8c-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4sd16b-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4sd32b-pac v0.3.1
[INFO] [stderr]   Downloaded atsam4sa16b-pac v0.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 311365aa86191702a56a5147dbfc73d18bc7128690886d876a25aec094f41524
[INFO] running `Command { std: "docker" "start" "-a" "311365aa86191702a56a5147dbfc73d18bc7128690886d876a25aec094f41524", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "311365aa86191702a56a5147dbfc73d18bc7128690886d876a25aec094f41524", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "311365aa86191702a56a5147dbfc73d18bc7128690886d876a25aec094f41524", kill_on_drop: false }`
[INFO] [stdout] 311365aa86191702a56a5147dbfc73d18bc7128690886d876a25aec094f41524
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b09387bd3af2da6d18d0245b16d71faa85515f57a924726413d88ddb41d96406
[INFO] running `Command { std: "docker" "start" "-a" "b09387bd3af2da6d18d0245b16d71faa85515f57a924726413d88ddb41d96406", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling defmt-macros v0.3.9
[INFO] [stderr]    Compiling defmt v0.3.8
[INFO] [stderr]    Compiling cortex-m-rt v0.7.3
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling critical-section v1.1.2
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling atsam4e16e-pac v0.3.1
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling gcd v2.3.0
[INFO] [stderr]    Compiling atsam4-hal v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling volatile-register v0.2.2
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling embedded-storage v0.3.1
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling embedded-dma v0.2.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.0
[INFO] [stderr]    Compiling defmt-parser v0.3.4
[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: `"atsam4e_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`, `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/cargo/reference/build-scripts.html#rustc-check-cfg> 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 is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: this will be a hard error in the 2024 edition
[INFO] [stdout]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (addr_of_mut!(DWT_OVERFLOWS), &mut OLD_DWT) };
[INFO] [stdout]     |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: this will be a hard error in the 2024 edition
[INFO] [stdout]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, addr_of_mut!(OLD_DWT)) };
[INFO] [stdout]     |                                                                       ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.77s
[INFO] running `Command { std: "docker" "inspect" "b09387bd3af2da6d18d0245b16d71faa85515f57a924726413d88ddb41d96406", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b09387bd3af2da6d18d0245b16d71faa85515f57a924726413d88ddb41d96406", kill_on_drop: false }`
[INFO] [stdout] b09387bd3af2da6d18d0245b16d71faa85515f57a924726413d88ddb41d96406
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6585eab722c16f5361866231ee6294c8a0f9f9252492d333a062e61be52399c2
[INFO] running `Command { std: "docker" "start" "-a" "6585eab722c16f5361866231ee6294c8a0f9f9252492d333a062e61be52399c2", 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: `"atsam4e_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`, `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/cargo/reference/build-scripts.html#rustc-check-cfg> 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 is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: this will be a hard error in the 2024 edition
[INFO] [stdout]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (addr_of_mut!(DWT_OVERFLOWS), &mut OLD_DWT) };
[INFO] [stdout]     |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: this will be a hard error in the 2024 edition
[INFO] [stdout]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, addr_of_mut!(OLD_DWT)) };
[INFO] [stdout]     |                                                                       ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[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: `"atsam4e_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`, `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/cargo/reference/build-scripts.html#rustc-check-cfg> 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 is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: this will be a hard error in the 2024 edition
[INFO] [stdout]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (addr_of_mut!(DWT_OVERFLOWS), &mut OLD_DWT) };
[INFO] [stdout]     |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: this will be a hard error in the 2024 edition
[INFO] [stdout]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, addr_of_mut!(OLD_DWT)) };
[INFO] [stdout]     |                                                                       ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.06s
[INFO] running `Command { std: "docker" "inspect" "6585eab722c16f5361866231ee6294c8a0f9f9252492d333a062e61be52399c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6585eab722c16f5361866231ee6294c8a0f9f9252492d333a062e61be52399c2", kill_on_drop: false }`
[INFO] [stdout] 6585eab722c16f5361866231ee6294c8a0f9f9252492d333a062e61be52399c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 551fa7d83685c49973a6752adff65306026a7929f63af81e1b27ccbac7474463
[INFO] running `Command { std: "docker" "start" "-a" "551fa7d83685c49973a6752adff65306026a7929f63af81e1b27ccbac7474463", 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: `"atsam4e_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`, `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/cargo/reference/build-scripts.html#rustc-check-cfg> 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 is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]     = note: this will be a hard error in the 2024 edition
[INFO] [stderr]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 330 |             let (overflows, last_cnt) = unsafe { (addr_of_mut!(DWT_OVERFLOWS), &mut OLD_DWT) };
[INFO] [stderr]     |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]     = note: this will be a hard error in the 2024 edition
[INFO] [stderr]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, addr_of_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.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/atsam4_hal-dfb26e06a2e240c9)
[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/efc.rs - efc::Efc (line 150) ... FAILED
[INFO] [stdout] test src/spi.rs - spi::SpiMaster<u8>::with_pdc_rxtx (line 1015) ... FAILED
[INFO] [stdout] test src/rtt.rs - rtt::RealTimeTimer<PRESCALER,RTC1HZ>::new (line 140) ... FAILED
[INFO] [stdout] test src/timer.rs - timer::TimerCounter<TC0>::new (line 307) ... FAILED
[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/efc.rs - efc::Efc (line 164) ... FAILED
[INFO] [stdout] test src/timer.rs - timer::TimerCounter<TC1>::new (line 312) ... FAILED
[INFO] [stdout] test src/timer.rs - timer::TimerCounter<TC2>::new (line 317) ... FAILED
[INFO] [stdout] test src/spi.rs - spi::SpiMaster (line 198) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/efc.rs - efc::Efc (line 150) stdout ----
[INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `(`
[INFO] [stdout]  --> src/efc.rs:153:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | MEMORY
[INFO] [stdout]   | ------ while parsing this struct
[INFO] [stdout] 4 | {
[INFO] [stdout] 5 |   FLASH (rx) : ORIGIN = 0x00400000, LENGTH = 512K
[INFO] [stdout]   |   ----- ^ expected one of `,`, `:`, or `}`
[INFO] [stdout]   |   |
[INFO] [stdout]   |   while parsing this struct field
[INFO] [stdout]   |
[INFO] [stdout] help: try naming a field
[INFO] [stdout]   |
[INFO] [stdout] 5 |   FLASH: FLASH (rx) : ORIGIN = 0x00400000, LENGTH = 512K
[INFO] [stdout]   |   ++++++
[INFO] [stdout] 
[INFO] [stdout] error: expected `:`, found `=`
[INFO] [stdout]  --> src/efc.rs:153:44
[INFO] [stdout]   |
[INFO] [stdout] 5 |   FLASH (rx) : ORIGIN = 0x00400000, LENGTH = 512K
[INFO] [stdout]   |                                           -^
[INFO] [stdout]   |                                           |
[INFO] [stdout]   |                                           help: replace equals symbol with a colon: `:`
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `RAM`
[INFO] [stdout]  --> src/efc.rs:154:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | MEMORY
[INFO] [stdout]   | ------ while parsing this struct
[INFO] [stdout] 4 | {
[INFO] [stdout] 5 |   FLASH (rx) : ORIGIN = 0x00400000, LENGTH = 512K
[INFO] [stdout]   |                                                  - expected one of `,`, `.`, `?`, `}`, or an operator
[INFO] [stdout] 6 |   RAM (xrw)  : ORIGIN = 0x20000000, LENGTH = 128K
[INFO] [stdout]   |   ^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `:`, found `=`
[INFO] [stdout]  --> src/efc.rs:154:44
[INFO] [stdout]   |
[INFO] [stdout] 6 |   RAM (xrw)  : ORIGIN = 0x20000000, LENGTH = 128K
[INFO] [stdout]   |                                           -^
[INFO] [stdout]   |                                           |
[INFO] [stdout]   |                                           help: replace equals symbol with a colon: `:`
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `CS0`
[INFO] [stdout]  --> src/efc.rs:155:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | MEMORY
[INFO] [stdout]   | ------ while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 6 |   RAM (xrw)  : ORIGIN = 0x20000000, LENGTH = 128K
[INFO] [stdout]   |                                                  - expected one of `,`, `.`, `?`, `}`, or an operator
[INFO] [stdout] 7 |   CS0 (xrw)  : ORIGIN = 0x60000000, LENGTH = 16M
[INFO] [stdout]   |   ^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `:`, found `=`
[INFO] [stdout]  --> src/efc.rs:155:44
[INFO] [stdout]   |
[INFO] [stdout] 7 |   CS0 (xrw)  : ORIGIN = 0x60000000, LENGTH = 16M
[INFO] [stdout]   |                                           -^
[INFO] [stdout]   |                                           |
[INFO] [stdout]   |                                           help: replace equals symbol with a colon: `:`
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `CS1`
[INFO] [stdout]  --> src/efc.rs:156:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | MEMORY
[INFO] [stdout]   | ------ while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |   CS0 (xrw)  : ORIGIN = 0x60000000, LENGTH = 16M
[INFO] [stdout]   |                                                 - expected one of `,`, `.`, `?`, `}`, or an operator
[INFO] [stdout] 8 |   CS1 (xrw)  : ORIGIN = 0x61000000, LENGTH = 16M
[INFO] [stdout]   |   ^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `:`, found `=`
[INFO] [stdout]  --> src/efc.rs:156:44
[INFO] [stdout]   |
[INFO] [stdout] 8 |   CS1 (xrw)  : ORIGIN = 0x61000000, LENGTH = 16M
[INFO] [stdout]   |                                           -^
[INFO] [stdout]   |                                           |
[INFO] [stdout]   |                                           help: replace equals symbol with a colon: `:`
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `CS2`
[INFO] [stdout]  --> src/efc.rs:157:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | MEMORY
[INFO] [stdout]   | ------ while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |   CS1 (xrw)  : ORIGIN = 0x61000000, LENGTH = 16M
[INFO] [stdout]   |                                                 - expected one of `,`, `.`, `?`, `}`, or an operator
[INFO] [stdout] 9 |   CS2 (xrw)  : ORIGIN = 0x62000000, LENGTH = 16M
[INFO] [stdout]   |   ^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `:`, found `=`
[INFO] [stdout]  --> src/efc.rs:157:44
[INFO] [stdout]   |
[INFO] [stdout] 9 |   CS2 (xrw)  : ORIGIN = 0x62000000, LENGTH = 16M
[INFO] [stdout]   |                                           -^
[INFO] [stdout]   |                                           |
[INFO] [stdout]   |                                           help: replace equals symbol with a colon: `:`
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `CS3`
[INFO] [stdout]   --> src/efc.rs:158:3
[INFO] [stdout]    |
[INFO] [stdout] 3  | MEMORY
[INFO] [stdout]    | ------ while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 9  |   CS2 (xrw)  : ORIGIN = 0x62000000, LENGTH = 16M
[INFO] [stdout]    |                                                 - expected one of `,`, `.`, `?`, `}`, or an operator
[INFO] [stdout] 10 |   CS3 (xrw)  : ORIGIN = 0x63000000, LENGTH = 16M
[INFO] [stdout]    |   ^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `:`, found `=`
[INFO] [stdout]   --> src/efc.rs:158:44
[INFO] [stdout]    |
[INFO] [stdout] 10 |   CS3 (xrw)  : ORIGIN = 0x63000000, LENGTH = 16M
[INFO] [stdout]    |                                           -^
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           help: replace equals symbol with a colon: `:`
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `_flash`
[INFO] [stdout]   --> src/efc.rs:159:2
[INFO] [stdout]    |
[INFO] [stdout] 11 | }
[INFO] [stdout]    |  ^ help: add `;` here
[INFO] [stdout] 12 |
[INFO] [stdout] 13 | _flash = ORIGIN(FLASH);
[INFO] [stdout]    | ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `_flash` in this scope
[INFO] [stdout]   --> src/efc.rs:161:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | _flash = ORIGIN(FLASH);
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 13 | let _flash = ORIGIN(FLASH);
[INFO] [stdout]    | +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FLASH` in this scope
[INFO] [stdout]   --> src/efc.rs:161:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | _flash = ORIGIN(FLASH);
[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::chipid::cidr::NVPTYP_A::FLASH;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ORIGIN` in this scope
[INFO] [stdout]   --> src/efc.rs:161:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | _flash = ORIGIN(FLASH);
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 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/spi.rs - spi::SpiMaster<u8>::with_pdc_rxtx (line 1015) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/spi.rs:1038: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: expected one of `.`, `;`, `?`, `else`, or an operator, found `,`
[INFO] [stdout]   --> src/spi.rs:1060:36
[INFO] [stdout]    |
[INFO] [stdout] 48 | let spi_tx_buf: [u32; 10] = [5; 10],
[INFO] [stdout]    |                                    ^ expected one of `.`, `;`, `?`, `else`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ports`
[INFO] [stdout]   --> src/spi.rs:1028: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:1038: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:1047: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:1047: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:1048: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 undeclared crate or module `spi`
[INFO] [stdout]   --> src/spi.rs:1053:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     spi::PeripheralSelectMode::Variable,
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `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[E0609]: no field `EFC0` on type `Peripherals`
[INFO] [stdout]   --> src/spi.rs:1024: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.EFC,
[INFO] [stdout]    |                  ~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 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/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-6f17d22bba15001f/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_timer::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/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-6f17d22bba15001f/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-6f17d22bba15001f/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/spi.rs - spi::SpiMaster<u32>::with_pdc_rxtx (line 1017) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/spi.rs:1040: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: expected one of `.`, `;`, `?`, `else`, or an operator, found `,`
[INFO] [stdout]   --> src/spi.rs:1062:36
[INFO] [stdout]    |
[INFO] [stdout] 48 | let spi_tx_buf: [u32; 10] = [5; 10],
[INFO] [stdout]    |                                    ^ expected one of `.`, `;`, `?`, `else`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ports`
[INFO] [stdout]   --> src/spi.rs:1030: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:1040: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:1049: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:1049: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:1050: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 undeclared crate or module `spi`
[INFO] [stdout]   --> src/spi.rs:1055:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     spi::PeripheralSelectMode::Variable,
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `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[E0609]: no field `EFC0` on type `Peripherals`
[INFO] [stdout]   --> src/spi.rs:1026: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.EFC,
[INFO] [stdout]    |                  ~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 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/spi.rs - spi::SpiMaster<u16>::with_pdc_rxtx (line 1016) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/spi.rs:1039: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: expected one of `.`, `;`, `?`, `else`, or an operator, found `,`
[INFO] [stdout]   --> src/spi.rs:1061:36
[INFO] [stdout]    |
[INFO] [stdout] 48 | let spi_tx_buf: [u32; 10] = [5; 10],
[INFO] [stdout]    |                                    ^ expected one of `.`, `;`, `?`, `else`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ports`
[INFO] [stdout]   --> src/spi.rs:1029: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:1039: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:1048: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:1048: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:1049: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 undeclared crate or module `spi`
[INFO] [stdout]   --> src/spi.rs:1054:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     spi::PeripheralSelectMode::Variable,
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `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[E0609]: no field `EFC0` on type `Peripherals`
[INFO] [stdout]   --> src/spi.rs:1025: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.EFC,
[INFO] [stdout]    |                  ~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 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/efc.rs - efc::Efc (line 164) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal`
[INFO] [stdout]   --> src/efc.rs:173:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use hal::efc::Efc;
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `hal`
[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] 3  + 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] 3  + 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] 3  + 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.EFC,
[INFO] [stdout]    |                  ~~~
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/efc.rs:188:49
[INFO] [stdout]    |
[INFO] [stdout] 27 | let mut efc = Efc::new(cx.device.EFC0, unsafe { &mut FLASH_CONFIG });
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 27 | let mut efc = Efc::new(cx.device.EFC0, unsafe { addr_of_mut!(FLASH_CONFIG) });
[INFO] [stdout]    |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[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/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-6f17d22bba15001f/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-6f17d22bba15001f/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<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-6f17d22bba15001f/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-6f17d22bba15001f/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/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 undeclared crate or module `spi`
[INFO] [stdout]   --> src/spi.rs:236:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     spi::PeripheralSelectMode::Variable,
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `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 undeclared crate or module `spi`
[INFO] [stdout]   --> src/spi.rs:243:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | let mode = spi::spi::MODE_3;
[INFO] [stdout]    |            ^^^ use of undeclared crate or module `spi`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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 undeclared crate or module `spi`
[INFO] [stdout]   --> src/spi.rs:244:11
[INFO] [stdout]    |
[INFO] [stdout] 49 | let csa = spi::ChipSelectActive::ActiveAfterTransfer;
[INFO] [stdout]    |           ^^^ use of undeclared crate or module `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 undeclared crate or module `spi`
[INFO] [stdout]   --> src/spi.rs:245:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | let bits = spi::BitWidth::Width8Bit;
[INFO] [stdout]    |            ^^^ use of undeclared crate or module `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 undeclared crate or module `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 undeclared crate or module `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 undeclared crate or module `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 undeclared crate or module `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.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] 
[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.18s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "551fa7d83685c49973a6752adff65306026a7929f63af81e1b27ccbac7474463", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "551fa7d83685c49973a6752adff65306026a7929f63af81e1b27ccbac7474463", kill_on_drop: false }`
[INFO] [stdout] 551fa7d83685c49973a6752adff65306026a7929f63af81e1b27ccbac7474463
[INFO] testing atsam4-hal-0.3.1 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate atsam4-hal 0.3.1 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate atsam4-hal 0.3.1 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 61 packages to latest compatible versions
[INFO] [stderr]       Adding bare-metal v0.2.5 (latest: v1.0.0)
[INFO] [stderr]       Adding bitfield v0.13.2 (latest: v0.15.0)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding embedded-hal v0.2.7 (latest: v1.0.0)
[INFO] [stderr]       Adding nb v0.1.3 (latest: v1.1.0)
[INFO] [stderr]       Adding rustc_version v0.2.3 (latest: v0.4.0)
[INFO] [stderr]       Adding semver v0.9.0 (latest: v1.0.23)
[INFO] [stderr]       Adding semver-parser v0.7.0 (latest: v0.10.2)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding usb-device v0.2.9 (latest: v0.3.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 62ba8ba7ed3baca1b9410b08898179771f10a90654c0b02230581828566fa2a8
[INFO] running `Command { std: "docker" "start" "-a" "62ba8ba7ed3baca1b9410b08898179771f10a90654c0b02230581828566fa2a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62ba8ba7ed3baca1b9410b08898179771f10a90654c0b02230581828566fa2a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62ba8ba7ed3baca1b9410b08898179771f10a90654c0b02230581828566fa2a8", kill_on_drop: false }`
[INFO] [stdout] 62ba8ba7ed3baca1b9410b08898179771f10a90654c0b02230581828566fa2a8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 294ca2ac47e4a5092913512c2ecdb2a0e01b6f8690bcf3c441bed7747bf4d051
[INFO] running `Command { std: "docker" "start" "-a" "294ca2ac47e4a5092913512c2ecdb2a0e01b6f8690bcf3c441bed7747bf4d051", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling defmt v0.3.8
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling defmt-macros v0.3.9
[INFO] [stderr]    Compiling cortex-m-rt v0.7.3
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling critical-section v1.1.2
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling gcd v2.3.0
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling atsam4e16e-pac v0.3.1
[INFO] [stderr]    Compiling atsam4-hal v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling volatile-register v0.2.2
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling embedded-storage v0.3.1
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling embedded-dma v0.2.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.0
[INFO] [stderr]    Compiling defmt-parser v0.3.4
[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: `"atsam4s_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`, `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/cargo/reference/build-scripts.html#rustc-check-cfg> 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 is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: this will be a hard error in the 2024 edition
[INFO] [stdout]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (addr_of_mut!(DWT_OVERFLOWS), &mut OLD_DWT) };
[INFO] [stdout]     |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: this will be a hard error in the 2024 edition
[INFO] [stdout]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, addr_of_mut!(OLD_DWT)) };
[INFO] [stdout]     |                                                                       ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.17s
[INFO] running `Command { std: "docker" "inspect" "294ca2ac47e4a5092913512c2ecdb2a0e01b6f8690bcf3c441bed7747bf4d051", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "294ca2ac47e4a5092913512c2ecdb2a0e01b6f8690bcf3c441bed7747bf4d051", kill_on_drop: false }`
[INFO] [stdout] 294ca2ac47e4a5092913512c2ecdb2a0e01b6f8690bcf3c441bed7747bf4d051
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 07c9ca4104e4f963ab0be8df983db64de5d7e12cb4d3b998971b147cab188f28
[INFO] running `Command { std: "docker" "start" "-a" "07c9ca4104e4f963ab0be8df983db64de5d7e12cb4d3b998971b147cab188f28", 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: `"atsam4s_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`, `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/cargo/reference/build-scripts.html#rustc-check-cfg> 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 is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: this will be a hard error in the 2024 edition
[INFO] [stdout]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (addr_of_mut!(DWT_OVERFLOWS), &mut OLD_DWT) };
[INFO] [stdout]     |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling atsam4-hal v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: this will be a hard error in the 2024 edition
[INFO] [stdout]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, addr_of_mut!(OLD_DWT)) };
[INFO] [stdout]     |                                                                       ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[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: `"atsam4s_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`, `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/cargo/reference/build-scripts.html#rustc-check-cfg> 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 is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: this will be a hard error in the 2024 edition
[INFO] [stdout]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (addr_of_mut!(DWT_OVERFLOWS), &mut OLD_DWT) };
[INFO] [stdout]     |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: this will be a hard error in the 2024 edition
[INFO] [stdout]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, addr_of_mut!(OLD_DWT)) };
[INFO] [stdout]     |                                                                       ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.74s
[INFO] running `Command { std: "docker" "inspect" "07c9ca4104e4f963ab0be8df983db64de5d7e12cb4d3b998971b147cab188f28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07c9ca4104e4f963ab0be8df983db64de5d7e12cb4d3b998971b147cab188f28", kill_on_drop: false }`
[INFO] [stdout] 07c9ca4104e4f963ab0be8df983db64de5d7e12cb4d3b998971b147cab188f28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3553d1c50d799cd1361a672e30af432d0a5883d8d942e3c074f1ef7a212f1e88
[INFO] running `Command { std: "docker" "start" "-a" "3553d1c50d799cd1361a672e30af432d0a5883d8d942e3c074f1ef7a212f1e88", 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: `"atsam4s_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`, `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/cargo/reference/build-scripts.html#rustc-check-cfg> 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 is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]     = note: this will be a hard error in the 2024 edition
[INFO] [stderr]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 330 |             let (overflows, last_cnt) = unsafe { (addr_of_mut!(DWT_OVERFLOWS), &mut OLD_DWT) };
[INFO] [stderr]     |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[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 issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]     = note: this will be a hard error in the 2024 edition
[INFO] [stderr]     = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 330 |             let (overflows, last_cnt) = unsafe { (&mut DWT_OVERFLOWS, addr_of_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.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/atsam4_hal-dfb26e06a2e240c9)
[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/efc.rs - efc::Efc (line 164) ... FAILED
[INFO] [stdout] test src/spi.rs - spi::SpiMaster<u16>::with_pdc_rxtx (line 1016) ... FAILED
[INFO] [stdout] test src/spi.rs - spi::SpiMaster<u32>::with_pdc_rxtx (line 1017) ... 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/spi.rs - spi::SpiMaster<u8>::with_pdc_rxtx (line 1015) ... FAILED
[INFO] [stdout] test src/timer.rs - timer::TimerCounter<TC1>::new (line 312) ... FAILED
[INFO] [stdout] test src/timer.rs - timer::TimerCounter<TC2>::new (line 317) ... FAILED
[INFO] [stdout] test src/spi.rs - spi::SpiMaster (line 198) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/efc.rs - efc::Efc (line 164) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal`
[INFO] [stdout]   --> src/efc.rs:173:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use hal::efc::Efc;
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `hal`
[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] 3  + 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] 3  + 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] 3  + 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.EFC,
[INFO] [stdout]    |                  ~~~
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/efc.rs:188:49
[INFO] [stdout]    |
[INFO] [stdout] 27 | let mut efc = Efc::new(cx.device.EFC0, unsafe { &mut FLASH_CONFIG });
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 27 | let mut efc = Efc::new(cx.device.EFC0, unsafe { addr_of_mut!(FLASH_CONFIG) });
[INFO] [stdout]    |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[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<u16>::with_pdc_rxtx (line 1016) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/spi.rs:1039: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: expected one of `.`, `;`, `?`, `else`, or an operator, found `,`
[INFO] [stdout]   --> src/spi.rs:1061:36
[INFO] [stdout]    |
[INFO] [stdout] 48 | let spi_tx_buf: [u32; 10] = [5; 10],
[INFO] [stdout]    |                                    ^ expected one of `.`, `;`, `?`, `else`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ports`
[INFO] [stdout]   --> src/spi.rs:1029: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:1039: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:1048: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:1048: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:1049: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 undeclared crate or module `spi`
[INFO] [stdout]   --> src/spi.rs:1054:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     spi::PeripheralSelectMode::Variable,
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `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[E0609]: no field `EFC0` on type `Peripherals`
[INFO] [stdout]   --> src/spi.rs:1025: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.EFC,
[INFO] [stdout]    |                  ~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 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/spi.rs - spi::SpiMaster<u32>::with_pdc_rxtx (line 1017) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/spi.rs:1040: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: expected one of `.`, `;`, `?`, `else`, or an operator, found `,`
[INFO] [stdout]   --> src/spi.rs:1062:36
[INFO] [stdout]    |
[INFO] [stdout] 48 | let spi_tx_buf: [u32; 10] = [5; 10],
[INFO] [stdout]    |                                    ^ expected one of `.`, `;`, `?`, `else`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ports`
[INFO] [stdout]   --> src/spi.rs:1030: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:1040: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:1049: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:1049: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:1050: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 undeclared crate or module `spi`
[INFO] [stdout]   --> src/spi.rs:1055:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     spi::PeripheralSelectMode::Variable,
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `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[E0609]: no field `EFC0` on type `Peripherals`
[INFO] [stdout]   --> src/spi.rs:1026: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.EFC,
[INFO] [stdout]    |                  ~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 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/efc.rs - efc::Efc (line 150) stdout ----
[INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `(`
[INFO] [stdout]  --> src/efc.rs:153:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | MEMORY
[INFO] [stdout]   | ------ while parsing this struct
[INFO] [stdout] 4 | {
[INFO] [stdout] 5 |   FLASH (rx) : ORIGIN = 0x00400000, LENGTH = 512K
[INFO] [stdout]   |   ----- ^ expected one of `,`, `:`, or `}`
[INFO] [stdout]   |   |
[INFO] [stdout]   |   while parsing this struct field
[INFO] [stdout]   |
[INFO] [stdout] help: try naming a field
[INFO] [stdout]   |
[INFO] [stdout] 5 |   FLASH: FLASH (rx) : ORIGIN = 0x00400000, LENGTH = 512K
[INFO] [stdout]   |   ++++++
[INFO] [stdout] 
[INFO] [stdout] error: expected `:`, found `=`
[INFO] [stdout]  --> src/efc.rs:153:44
[INFO] [stdout]   |
[INFO] [stdout] 5 |   FLASH (rx) : ORIGIN = 0x00400000, LENGTH = 512K
[INFO] [stdout]   |                                           -^
[INFO] [stdout]   |                                           |
[INFO] [stdout]   |                                           help: replace equals symbol with a colon: `:`
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `RAM`
[INFO] [stdout]  --> src/efc.rs:154:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | MEMORY
[INFO] [stdout]   | ------ while parsing this struct
[INFO] [stdout] 4 | {
[INFO] [stdout] 5 |   FLASH (rx) : ORIGIN = 0x00400000, LENGTH = 512K
[INFO] [stdout]   |                                                  - expected one of `,`, `.`, `?`, `}`, or an operator
[INFO] [stdout] 6 |   RAM (xrw)  : ORIGIN = 0x20000000, LENGTH = 128K
[INFO] [stdout]   |   ^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `:`, found `=`
[INFO] [stdout]  --> src/efc.rs:154:44
[INFO] [stdout]   |
[INFO] [stdout] 6 |   RAM (xrw)  : ORIGIN = 0x20000000, LENGTH = 128K
[INFO] [stdout]   |                                           -^
[INFO] [stdout]   |                                           |
[INFO] [stdout]   |                                           help: replace equals symbol with a colon: `:`
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `CS0`
[INFO] [stdout]  --> src/efc.rs:155:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | MEMORY
[INFO] [stdout]   | ------ while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 6 |   RAM (xrw)  : ORIGIN = 0x20000000, LENGTH = 128K
[INFO] [stdout]   |                                                  - expected one of `,`, `.`, `?`, `}`, or an operator
[INFO] [stdout] 7 |   CS0 (xrw)  : ORIGIN = 0x60000000, LENGTH = 16M
[INFO] [stdout]   |   ^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `:`, found `=`
[INFO] [stdout]  --> src/efc.rs:155:44
[INFO] [stdout]   |
[INFO] [stdout] 7 |   CS0 (xrw)  : ORIGIN = 0x60000000, LENGTH = 16M
[INFO] [stdout]   |                                           -^
[INFO] [stdout]   |                                           |
[INFO] [stdout]   |                                           help: replace equals symbol with a colon: `:`
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `CS1`
[INFO] [stdout]  --> src/efc.rs:156:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | MEMORY
[INFO] [stdout]   | ------ while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |   CS0 (xrw)  : ORIGIN = 0x60000000, LENGTH = 16M
[INFO] [stdout]   |                                                 - expected one of `,`, `.`, `?`, `}`, or an operator
[INFO] [stdout] 8 |   CS1 (xrw)  : ORIGIN = 0x61000000, LENGTH = 16M
[INFO] [stdout]   |   ^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `:`, found `=`
[INFO] [stdout]  --> src/efc.rs:156:44
[INFO] [stdout]   |
[INFO] [stdout] 8 |   CS1 (xrw)  : ORIGIN = 0x61000000, LENGTH = 16M
[INFO] [stdout]   |                                           -^
[INFO] [stdout]   |                                           |
[INFO] [stdout]   |                                           help: replace equals symbol with a colon: `:`
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `CS2`
[INFO] [stdout]  --> src/efc.rs:157:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | MEMORY
[INFO] [stdout]   | ------ while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |   CS1 (xrw)  : ORIGIN = 0x61000000, LENGTH = 16M
[INFO] [stdout]   |                                                 - expected one of `,`, `.`, `?`, `}`, or an operator
[INFO] [stdout] 9 |   CS2 (xrw)  : ORIGIN = 0x62000000, LENGTH = 16M
[INFO] [stdout]   |   ^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `:`, found `=`
[INFO] [stdout]  --> src/efc.rs:157:44
[INFO] [stdout]   |
[INFO] [stdout] 9 |   CS2 (xrw)  : ORIGIN = 0x62000000, LENGTH = 16M
[INFO] [stdout]   |                                           -^
[INFO] [stdout]   |                                           |
[INFO] [stdout]   |                                           help: replace equals symbol with a colon: `:`
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `CS3`
[INFO] [stdout]   --> src/efc.rs:158:3
[INFO] [stdout]    |
[INFO] [stdout] 3  | MEMORY
[INFO] [stdout]    | ------ while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 9  |   CS2 (xrw)  : ORIGIN = 0x62000000, LENGTH = 16M
[INFO] [stdout]    |                                                 - expected one of `,`, `.`, `?`, `}`, or an operator
[INFO] [stdout] 10 |   CS3 (xrw)  : ORIGIN = 0x63000000, LENGTH = 16M
[INFO] [stdout]    |   ^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `:`, found `=`
[INFO] [stdout]   --> src/efc.rs:158:44
[INFO] [stdout]    |
[INFO] [stdout] 10 |   CS3 (xrw)  : ORIGIN = 0x63000000, LENGTH = 16M
[INFO] [stdout]    |                                           -^
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           help: replace equals symbol with a colon: `:`
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `_flash`
[INFO] [stdout]   --> src/efc.rs:159:2
[INFO] [stdout]    |
[INFO] [stdout] 11 | }
[INFO] [stdout]    |  ^ help: add `;` here
[INFO] [stdout] 12 |
[INFO] [stdout] 13 | _flash = ORIGIN(FLASH);
[INFO] [stdout]    | ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `_flash` in this scope
[INFO] [stdout]   --> src/efc.rs:161:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | _flash = ORIGIN(FLASH);
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 13 | let _flash = ORIGIN(FLASH);
[INFO] [stdout]    | +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FLASH` in this scope
[INFO] [stdout]   --> src/efc.rs:161:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | _flash = ORIGIN(FLASH);
[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::chipid::cidr::NVPTYP_A::FLASH;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ORIGIN` in this scope
[INFO] [stdout]   --> src/efc.rs:161:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | _flash = ORIGIN(FLASH);
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 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/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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/spi.rs - spi::SpiMaster<u8>::with_pdc_rxtx (line 1015) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/spi.rs:1038: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: expected one of `.`, `;`, `?`, `else`, or an operator, found `,`
[INFO] [stdout]   --> src/spi.rs:1060:36
[INFO] [stdout]    |
[INFO] [stdout] 48 | let spi_tx_buf: [u32; 10] = [5; 10],
[INFO] [stdout]    |                                    ^ expected one of `.`, `;`, `?`, `else`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ports`
[INFO] [stdout]   --> src/spi.rs:1028: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:1038: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:1047: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:1047: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:1048: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 undeclared crate or module `spi`
[INFO] [stdout]   --> src/spi.rs:1053:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     spi::PeripheralSelectMode::Variable,
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `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[E0609]: no field `EFC0` on type `Peripherals`
[INFO] [stdout]   --> src/spi.rs:1024: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.EFC,
[INFO] [stdout]    |                  ~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 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<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-6f17d22bba15001f/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-6f17d22bba15001f/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<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-6f17d22bba15001f/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-6f17d22bba15001f/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/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 undeclared crate or module `spi`
[INFO] [stdout]   --> src/spi.rs:236:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     spi::PeripheralSelectMode::Variable,
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `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 undeclared crate or module `spi`
[INFO] [stdout]   --> src/spi.rs:243:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | let mode = spi::spi::MODE_3;
[INFO] [stdout]    |            ^^^ use of undeclared crate or module `spi`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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 undeclared crate or module `spi`
[INFO] [stdout]   --> src/spi.rs:244:11
[INFO] [stdout]    |
[INFO] [stdout] 49 | let csa = spi::ChipSelectActive::ActiveAfterTransfer;
[INFO] [stdout]    |           ^^^ use of undeclared crate or module `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 undeclared crate or module `spi`
[INFO] [stdout]   --> src/spi.rs:245:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | let bits = spi::BitWidth::Width8Bit;
[INFO] [stdout]    |            ^^^ use of undeclared crate or module `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 undeclared crate or module `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 undeclared crate or module `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 undeclared crate or module `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 undeclared crate or module `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.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] 
[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.30s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3553d1c50d799cd1361a672e30af432d0a5883d8d942e3c074f1ef7a212f1e88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3553d1c50d799cd1361a672e30af432d0a5883d8d942e3c074f1ef7a212f1e88", kill_on_drop: false }`
[INFO] [stdout] 3553d1c50d799cd1361a672e30af432d0a5883d8d942e3c074f1ef7a212f1e88
