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