[INFO] fetching crate atsamd-hal 0.22.2... [INFO] testing atsamd-hal-0.22.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate atsamd-hal 0.22.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate atsamd-hal 0.22.2 [INFO] finished tweaking crates.io crate atsamd-hal 0.22.2 [INFO] tweaked toml for crates.io crate atsamd-hal 0.22.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate atsamd-hal 0.22.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate atsamd-hal 0.22.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6f2e31fac9eaf5a797ca2db34e725662b56d9d7dd0b35b46106e1d23e0509c6 [INFO] running `Command { std: "docker" "start" "-a" "e6f2e31fac9eaf5a797ca2db34e725662b56d9d7dd0b35b46106e1d23e0509c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6f2e31fac9eaf5a797ca2db34e725662b56d9d7dd0b35b46106e1d23e0509c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6f2e31fac9eaf5a797ca2db34e725662b56d9d7dd0b35b46106e1d23e0509c6", kill_on_drop: false }` [INFO] [stdout] e6f2e31fac9eaf5a797ca2db34e725662b56d9d7dd0b35b46106e1d23e0509c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5737b862a56f9514932893fdff6caf70eb4d595e1a2dd5fa28669f3899529f0 [INFO] running `Command { std: "docker" "start" "-a" "f5737b862a56f9514932893fdff6caf70eb4d595e1a2dd5fa28669f3899529f0", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling sorted-hlist v0.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling atsamd-hal-macros v0.3.0 [INFO] [stderr] Compiling atsamd-hal v0.22.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.67s [INFO] running `Command { std: "docker" "inspect" "f5737b862a56f9514932893fdff6caf70eb4d595e1a2dd5fa28669f3899529f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5737b862a56f9514932893fdff6caf70eb4d595e1a2dd5fa28669f3899529f0", kill_on_drop: false }` [INFO] [stdout] f5737b862a56f9514932893fdff6caf70eb4d595e1a2dd5fa28669f3899529f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0336a5f512b3a7df00742b26af32110ec3a6f02f43ad19d64c90eac4567b26e [INFO] running `Command { std: "docker" "start" "-a" "f0336a5f512b3a7df00742b26af32110ec3a6f02f43ad19d64c90eac4567b26e", kill_on_drop: false }` [INFO] [stderr] Compiling atsamd-hal v0.22.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "f0336a5f512b3a7df00742b26af32110ec3a6f02f43ad19d64c90eac4567b26e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0336a5f512b3a7df00742b26af32110ec3a6f02f43ad19d64c90eac4567b26e", kill_on_drop: false }` [INFO] [stdout] f0336a5f512b3a7df00742b26af32110ec3a6f02f43ad19d64c90eac4567b26e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b5b793e88b02e7a76f212381c462ac3d8831c8806a9c886a62d0d7bf4d989bb1 [INFO] running `Command { std: "docker" "start" "-a" "b5b793e88b02e7a76f212381c462ac3d8831c8806a9c886a62d0d7bf4d989bb1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/atsamd_hal-57043d5e53ffbbda) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test timer_params::tests::timer_params_hz_and_us_same_1hz ... ok [INFO] [stdout] test timer_params::tests::timer_params_hz_and_us_same_3hz ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests atsamd_hal [INFO] [stdout] [INFO] [stdout] running 41 tests [INFO] [stdout] test src/typelevel.rs - typelevel (line 154) ... FAILED [INFO] [stdout] test src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 53) ... FAILED [INFO] [stdout] test src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 21) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 167) ... FAILED [INFO] [stdout] test src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 43) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 259) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 136) ... FAILED [INFO] [stdout] test src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 61) ... FAILED [INFO] [stdout] test src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 31) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 145) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 205) ... ok [INFO] [stdout] test src/typelevel.rs - typelevel (line 296) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 269) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 224) ... ok [INFO] [stdout] test src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 75) ... ok [INFO] [stdout] test src/typelevel.rs - typelevel (line 315) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 250) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 306) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 325) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 380) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 396) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 371) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 546) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 184) ... ok [INFO] [stdout] test src/typelevel.rs - typelevel (line 355) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 560) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 458) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 587) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 430) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 505) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 526) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel::Is (line 691) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 492) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 406) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 55) ... ok [INFO] [stdout] test src/typelevel.rs - typelevel (line 440) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 472) ... ok [INFO] [stdout] test src/typelevel.rs - typelevel (line 600) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 83) ... ok [INFO] [stdout] test src/typelevel.rs - typelevel::Is (line 698) ... FAILED [INFO] [stdout] test src/typelevel.rs - typelevel (line 92) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 154) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `EnumOne` in this scope [INFO] [stdout] --> src/typelevel.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 5 | A: EnumOne, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EnumTwo` in this scope [INFO] [stdout] --> src/typelevel.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 6 | B: EnumTwo, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/typelevel.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 8 | a: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/typelevel.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 9 | b: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 53) stdout ---- [INFO] [stdout] error: cannot find macro `periph_alias` in this scope [INFO] [stdout] --> src/bsp_peripherals_macro.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 4 | let uart = periph_alias!(peripherals.uart); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pac` [INFO] [stdout] --> src/bsp_peripherals_macro.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 3 | let mut peripherals = pac::Peripherals::take().unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pac`, use `cargo add pac` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] help: if you import `Peripherals`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let mut peripherals = pac::Peripherals::take().unwrap(); [INFO] [stdout] 3 + let mut peripherals = Peripherals::take().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 21) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in `atsamd_hal` [INFO] [stdout] --> src/bsp_peripherals_macro.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 5 | / atsamd_hal::bsp_peripherals!( [INFO] [stdout] 6 | | SERCOM2 { Uart } [INFO] [stdout] 7 | | SERCOM4 { DisplaySpi } [INFO] [stdout] 8 | | ); [INFO] [stdout] | |_^ could not find `pac` in `atsamd_hal` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd11c` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd11d` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd21e` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd21g` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd21j` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd21el` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd21gl` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd51g` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd51j` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd51n` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd51p` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `same51g` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `same51j` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `same51n` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `same53j` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `same53n` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `same54n` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `same54p` feature [INFO] [stdout] = note: this error originates in the macro `$crate::__create_peripheral_aliases` which comes from the expansion of the macro `define_pac` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in `atsamd_hal` [INFO] [stdout] --> src/bsp_peripherals_macro.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 5 | / atsamd_hal::bsp_peripherals!( [INFO] [stdout] 6 | | SERCOM2 { Uart } [INFO] [stdout] 7 | | SERCOM4 { DisplaySpi } [INFO] [stdout] 8 | | ); [INFO] [stdout] | |_^ could not find `pac` in `atsamd_hal` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd11c` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd11d` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd21e` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd21g` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd21j` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd21el` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd21gl` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd51g` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd51j` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd51n` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `samd51p` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `same51g` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `same51j` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `same51n` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `same53j` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `same53n` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `same54n` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / define_pac!( [INFO] [stdout] 33 | | (atsamd11c, "samd11c"), [INFO] [stdout] 34 | | (atsamd11d, "samd11d"), [INFO] [stdout] 35 | | (atsamd21e, "samd21e"), [INFO] [stdout] ... | [INFO] [stdout] 50 | | (atsame54p, "same54p") [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_^ the item is gated behind the `same54p` feature [INFO] [stdout] = note: this error originates in the macro `$crate::__create_peripheral_aliases` which comes from the expansion of the macro `define_pac` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 167) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Container` in this scope [INFO] [stdout] --> src/typelevel.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 3 | type X = Container; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VariantX` in this scope [INFO] [stdout] --> src/typelevel.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 3 | type X = Container; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | type X = Container; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VariantY` in this scope [INFO] [stdout] --> src/typelevel.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 3 | type X = Container; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | type X = Container; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 43) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pac` [INFO] [stdout] --> src/bsp_peripherals_macro.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 3 | let mut peripherals = pac::Peripherals::take().unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pac`, use `cargo add pac` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] help: if you import `Peripherals`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let mut peripherals = pac::Peripherals::take().unwrap(); [INFO] [stdout] 3 + let mut peripherals = Peripherals::take().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 259) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Bool` in this scope [INFO] [stdout] --> src/typelevel.rs:260:20 [INFO] [stdout] | [INFO] [stdout] 3 | trait NotFunction: Bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Bool` in this scope [INFO] [stdout] --> src/typelevel.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 4 | type Result: Bool; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 136) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `EnumOne` in this scope [INFO] [stdout] --> src/typelevel.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 4 | a: EnumOne, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EnumTwo` in this scope [INFO] [stdout] --> src/typelevel.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 5 | b: EnumTwo, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 61) stdout ---- [INFO] [stdout] error: cannot find macro `periph_alias` in this scope [INFO] [stdout] --> src/bsp_peripherals_macro.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 4 | let display_spi = periph_alias!(peripherals.display_spi); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pac` [INFO] [stdout] --> src/bsp_peripherals_macro.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 3 | let mut peripherals = pac::Peripherals::take().unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pac`, use `cargo add pac` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] help: if you import `Peripherals`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let mut peripherals = pac::Peripherals::take().unwrap(); [INFO] [stdout] 3 + let mut peripherals = Peripherals::take().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 31) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pac` [INFO] [stdout] --> src/bsp_peripherals_macro.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Uart = pac::SERCOM2; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pac`, use `cargo add pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pac` [INFO] [stdout] --> src/bsp_peripherals_macro.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub type DisplaySpi = pac::SERCOM4; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pac`, use `cargo add pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 145) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Container` in this scope [INFO] [stdout] --> src/typelevel.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 3 | let x = Container { a: EnumOne::VariantX, b: EnumTwo::VariantY }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EnumOne` [INFO] [stdout] --> src/typelevel.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 3 | let x = Container { a: EnumOne::VariantX, b: EnumTwo::VariantY }; [INFO] [stdout] | ^^^^^^^ use of undeclared type `EnumOne` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EnumTwo` [INFO] [stdout] --> src/typelevel.rs:146:46 [INFO] [stdout] | [INFO] [stdout] 3 | let x = Container { a: EnumOne::VariantX, b: EnumTwo::VariantY }; [INFO] [stdout] | ^^^^^^^ use of undeclared type `EnumTwo` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 296) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `NoneT` in this scope [INFO] [stdout] --> src/typelevel.rs:299:24 [INFO] [stdout] | [INFO] [stdout] 5 | impl OptionalClass for NoneT {} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use atsamd_hal::typelevel::NoneT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Class` in this scope [INFO] [stdout] --> src/typelevel.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 6 | impl OptionalClass for C {} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 269) stdout ---- [INFO] [stdout] error: struct fields are separated by `,` [INFO] [stdout] --> src/typelevel.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 3 | struct Container { [INFO] [stdout] | --------- while parsing this struct [INFO] [stdout] 4 | not: PhantomData>; [INFO] [stdout] | ^ help: replace `;` with `,` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NotFunction` in this scope [INFO] [stdout] --> src/typelevel.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 3 | struct Container { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/typelevel.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 4 | not: PhantomData>; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Not` in this scope [INFO] [stdout] --> src/typelevel.rs:271:22 [INFO] [stdout] | [INFO] [stdout] 4 | not: PhantomData>; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Not; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 315) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/typelevel.rs:317:23 [INFO] [stdout] | [INFO] [stdout] 4 | fn method(self) { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 4 - fn method(self) { ... } [INFO] [stdout] 4 + fn method(self) { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 4 - fn method(self) { ... } [INFO] [stdout] 4 + fn method(self) { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/typelevel.rs:317:23 [INFO] [stdout] | [INFO] [stdout] 4 | fn method(self) { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 4 - fn method(self) { ... } [INFO] [stdout] 4 + fn method(self) { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Container` in this scope [INFO] [stdout] --> src/typelevel.rs:316:16 [INFO] [stdout] | [INFO] [stdout] 3 | impl Container { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Class` in this scope [INFO] [stdout] --> src/typelevel.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 3 | impl Container { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 250) stdout ---- [INFO] [stdout] error: struct fields are separated by `,` [INFO] [stdout] --> src/typelevel.rs:252:32 [INFO] [stdout] | [INFO] [stdout] 3 | struct Container { [INFO] [stdout] | --------- while parsing this struct [INFO] [stdout] 4 | not: PhantomData; [INFO] [stdout] | ^ help: replace `;` with `,` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Not` in this scope [INFO] [stdout] --> src/typelevel.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 3 | struct Container { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Not; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/typelevel.rs:252:10 [INFO] [stdout] | [INFO] [stdout] 4 | not: PhantomData; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 306) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `OptionalClass` in this scope [INFO] [stdout] --> src/typelevel.rs:307:21 [INFO] [stdout] | [INFO] [stdout] 3 | struct Container { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/typelevel.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 4 | class: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 325) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `OptionalClass` in this scope [INFO] [stdout] --> src/typelevel.rs:326:18 [INFO] [stdout] | [INFO] [stdout] 3 | trait SomeClass: OptionalClass + Class {} [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Class` in this scope [INFO] [stdout] --> src/typelevel.rs:326:34 [INFO] [stdout] | [INFO] [stdout] 3 | trait SomeClass: OptionalClass + Class {} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Class` in this scope [INFO] [stdout] --> src/typelevel.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 5 | impl SomeClass for C {} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 380) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/typelevel.rs:381:33 [INFO] [stdout] | [INFO] [stdout] 3 | fn example(pin: P) { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - fn example(pin: P) { ... } [INFO] [stdout] 3 + fn example(pin: P) { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - fn example(pin: P) { ... } [INFO] [stdout] 3 + fn example(pin: P) { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/typelevel.rs:381:33 [INFO] [stdout] | [INFO] [stdout] 3 | fn example(pin: P) { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - fn example(pin: P) { ... } [INFO] [stdout] 3 + fn example(pin: P) { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AnyPin` in this scope [INFO] [stdout] --> src/typelevel.rs:381:15 [INFO] [stdout] | [INFO] [stdout] 3 | fn example(pin: P) { ... } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 396) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `AnyPin` in this scope [INFO] [stdout] --> src/typelevel.rs:397:28 [INFO] [stdout] | [INFO] [stdout] 3 | impl AnyPin for Pin {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/typelevel.rs:397:39 [INFO] [stdout] | [INFO] [stdout] 3 | impl AnyPin for Pin {} [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinId` in this scope [INFO] [stdout] --> src/typelevel.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 3 | impl AnyPin for Pin {} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinMode` in this scope [INFO] [stdout] --> src/typelevel.rs:397:19 [INFO] [stdout] | [INFO] [stdout] 3 | impl AnyPin for Pin {} [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 371) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/typelevel.rs:374:39 [INFO] [stdout] | [INFO] [stdout] 5 | impl AnyPin for Pin {} [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinId` in this scope [INFO] [stdout] --> src/typelevel.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 5 | impl AnyPin for Pin {} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinMode` in this scope [INFO] [stdout] --> src/typelevel.rs:374:19 [INFO] [stdout] | [INFO] [stdout] 5 | impl AnyPin for Pin {} [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 546) stdout ---- [INFO] [stdout] error: missing trait in a trait impl [INFO] [stdout] --> src/typelevel.rs:547:13 [INFO] [stdout] | [INFO] [stdout] 1 | impl for TwoPins [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: add a trait here [INFO] [stdout] | [INFO] [stdout] 1 | impl Trait for TwoPins [INFO] [stdout] | +++++ [INFO] [stdout] help: for an inherent impl, drop this `for` [INFO] [stdout] | [INFO] [stdout] 1 - impl for TwoPins [INFO] [stdout] 1 + impl TwoPins [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/typelevel.rs - typelevel (line 355) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `PinId` in this scope [INFO] [stdout] --> src/typelevel.rs:356:15 [INFO] [stdout] | [INFO] [stdout] 3 | struct Pin { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinMode` in this scope [INFO] [stdout] --> src/typelevel.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 3 | struct Pin { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 560) stdout ---- [INFO] [stdout] error: missing trait in a trait impl [INFO] [stdout] --> src/typelevel.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 1 | impl for TwoPins [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: add a trait here [INFO] [stdout] | [INFO] [stdout] 1 | impl Trait for TwoPins [INFO] [stdout] | +++++ [INFO] [stdout] help: for an inherent impl, drop this `for` [INFO] [stdout] | [INFO] [stdout] 1 - impl for TwoPins [INFO] [stdout] 1 + impl TwoPins [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/typelevel.rs - typelevel (line 458) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `AnyPin` in this scope [INFO] [stdout] --> src/typelevel.rs:459:15 [INFO] [stdout] | [INFO] [stdout] 3 | fn example(mut any_pin: P) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpecificPin` in this scope [INFO] [stdout] --> src/typelevel.rs:463:23 [INFO] [stdout] | [INFO] [stdout] 7 | let pin_mut: &mut SpecificPin

= any_pin.as_mut(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpecificPin` in this scope [INFO] [stdout] --> src/typelevel.rs:464:19 [INFO] [stdout] | [INFO] [stdout] 8 | let pin_ref: &SpecificPin

= any_pin.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpecificPin` in this scope [INFO] [stdout] --> src/typelevel.rs:465:14 [INFO] [stdout] | [INFO] [stdout] 9 | let pin: SpecificPin

= any_pin.into(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 587) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `AnyPin` in this scope [INFO] [stdout] --> src/typelevel.rs:588:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Example { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 430) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/typelevel.rs:431:23 [INFO] [stdout] | [INFO] [stdout] 3 | type SpecificPin

= Pin<

::Id,

::Mode>; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AnyPin` in this scope [INFO] [stdout] --> src/typelevel.rs:431:33 [INFO] [stdout] | [INFO] [stdout] 3 | type SpecificPin

= Pin<

::Id,

::Mode>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AnyPin` in this scope [INFO] [stdout] --> src/typelevel.rs:431:52 [INFO] [stdout] | [INFO] [stdout] 3 | type SpecificPin

= Pin<

::Id,

::Mode>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 505) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `PinId` in this scope [INFO] [stdout] --> src/typelevel.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 5 | I1: PinId, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinId` in this scope [INFO] [stdout] --> src/typelevel.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 6 | I2: PinId, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinMode` in this scope [INFO] [stdout] --> src/typelevel.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 7 | M1: PinMode, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinMode` in this scope [INFO] [stdout] --> src/typelevel.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 8 | M2: PinMode, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/typelevel.rs:513:11 [INFO] [stdout] | [INFO] [stdout] 10 | pin1: Pin, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/typelevel.rs:514:11 [INFO] [stdout] | [INFO] [stdout] 11 | pin2: Pin, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 526) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `AnyPin` in this scope [INFO] [stdout] --> src/typelevel.rs:529:9 [INFO] [stdout] | [INFO] [stdout] 5 | P1: AnyPin, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AnyPin` in this scope [INFO] [stdout] --> src/typelevel.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 6 | P2: AnyPin, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel::Is (line 691) stdout ---- [INFO] [stdout] error: expected item, found keyword `where` [INFO] [stdout] --> src/typelevel.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 1 | where T: Is [INFO] [stdout] | ^^^^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 492) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Is` in this scope [INFO] [stdout] --> src/typelevel.rs:493:15 [INFO] [stdout] | [INFO] [stdout] 3 | trait AnyPin: Is> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use atsamd_hal::typelevel::Is; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpecificPin` in this scope [INFO] [stdout] --> src/typelevel.rs:493:25 [INFO] [stdout] | [INFO] [stdout] 3 | trait AnyPin: Is> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinId` in this scope [INFO] [stdout] --> src/typelevel.rs:494:14 [INFO] [stdout] | [INFO] [stdout] 4 | type Id: PinId; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinMode` in this scope [INFO] [stdout] --> src/typelevel.rs:495:16 [INFO] [stdout] | [INFO] [stdout] 5 | type Mode: PinMode; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 406) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `PinId` in this scope [INFO] [stdout] --> src/typelevel.rs:408:14 [INFO] [stdout] | [INFO] [stdout] 4 | type Id: PinId; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinMode` in this scope [INFO] [stdout] --> src/typelevel.rs:409:16 [INFO] [stdout] | [INFO] [stdout] 5 | type Mode: PinMode; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/typelevel.rs:412:39 [INFO] [stdout] | [INFO] [stdout] 8 | impl AnyPin for Pin { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinId` in this scope [INFO] [stdout] --> src/typelevel.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 8 | impl AnyPin for Pin { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinMode` in this scope [INFO] [stdout] --> src/typelevel.rs:412:19 [INFO] [stdout] | [INFO] [stdout] 8 | impl AnyPin for Pin { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 440) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SpecificPin` in this scope [INFO] [stdout] --> src/typelevel.rs:443:16 [INFO] [stdout] | [INFO] [stdout] 5 | Self: From>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpecificPin` in this scope [INFO] [stdout] --> src/typelevel.rs:444:16 [INFO] [stdout] | [INFO] [stdout] 6 | Self: Into>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpecificPin` in this scope [INFO] [stdout] --> src/typelevel.rs:445:17 [INFO] [stdout] | [INFO] [stdout] 7 | Self: AsRef>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpecificPin` in this scope [INFO] [stdout] --> src/typelevel.rs:446:17 [INFO] [stdout] | [INFO] [stdout] 8 | Self: AsMut>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinId` in this scope [INFO] [stdout] --> src/typelevel.rs:448:14 [INFO] [stdout] | [INFO] [stdout] 10 | type Id: PinId; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinMode` in this scope [INFO] [stdout] --> src/typelevel.rs:449:16 [INFO] [stdout] | [INFO] [stdout] 11 | type Mode: PinMode; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel (line 600) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Example` in this scope [INFO] [stdout] --> src/typelevel.rs:601:17 [INFO] [stdout] | [INFO] [stdout] 3 | impl Example

{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AnyPin` in this scope [INFO] [stdout] --> src/typelevel.rs:601:9 [INFO] [stdout] | [INFO] [stdout] 3 | impl Example

{ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpecificPin` in this scope [INFO] [stdout] --> src/typelevel.rs:613:18 [INFO] [stdout] | [INFO] [stdout] 15 | let pin: SpecificPin

= self.pin.into(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/typelevel.rs:614:22 [INFO] [stdout] | [INFO] [stdout] 16 | let mut pin: Pin = pin.into_push_pull_output(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PushPullOutput` in this scope [INFO] [stdout] --> src/typelevel.rs:614:33 [INFO] [stdout] | [INFO] [stdout] 16 | let mut pin: Pin = pin.into_push_pull_output(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | impl Example

{ [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/typelevel.rs:616:18 [INFO] [stdout] | [INFO] [stdout] 18 | let pin: Pin = pin.into_floating_input(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FloatingInput` in this scope [INFO] [stdout] --> src/typelevel.rs:616:29 [INFO] [stdout] | [INFO] [stdout] 18 | let pin: Pin = pin.into_floating_input(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | impl Example

{ [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpecificPin` in this scope [INFO] [stdout] --> src/typelevel.rs:618:18 [INFO] [stdout] | [INFO] [stdout] 20 | let pin: SpecificPin

= pin.into_mode::(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typelevel.rs - typelevel::Is (line 698) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Is` in this scope [INFO] [stdout] --> src/typelevel.rs:701:8 [INFO] [stdout] | [INFO] [stdout] 5 | T: Is, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use atsamd_hal::typelevel::Is; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Specific` in this scope [INFO] [stdout] --> src/typelevel.rs:701:18 [INFO] [stdout] | [INFO] [stdout] 5 | T: Is, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Specific` in this scope [INFO] [stdout] --> src/typelevel.rs:703:28 [INFO] [stdout] | [INFO] [stdout] 7 | let specific_mut: &mut Specific = any.as_mut(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Specific` in this scope [INFO] [stdout] --> src/typelevel.rs:704:24 [INFO] [stdout] | [INFO] [stdout] 8 | let specific_ref: &Specific = any.as_ref(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Specific` in this scope [INFO] [stdout] --> src/typelevel.rs:705:19 [INFO] [stdout] | [INFO] [stdout] 9 | let specific: Specific = any.into(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 21) [INFO] [stdout] src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 31) [INFO] [stdout] src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 43) [INFO] [stdout] src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 53) [INFO] [stdout] src/bsp_peripherals_macro.rs - bsp_peripherals_macro::bsp_peripherals (line 61) [INFO] [stdout] src/typelevel.rs - typelevel (line 136) [INFO] [stdout] src/typelevel.rs - typelevel (line 145) [INFO] [stdout] src/typelevel.rs - typelevel (line 154) [INFO] [stdout] src/typelevel.rs - typelevel (line 167) [INFO] [stdout] src/typelevel.rs - typelevel (line 250) [INFO] [stdout] src/typelevel.rs - typelevel (line 259) [INFO] [stdout] src/typelevel.rs - typelevel (line 269) [INFO] [stdout] src/typelevel.rs - typelevel (line 296) [INFO] [stdout] src/typelevel.rs - typelevel (line 306) [INFO] [stdout] src/typelevel.rs - typelevel (line 315) [INFO] [stdout] src/typelevel.rs - typelevel (line 325) [INFO] [stdout] src/typelevel.rs - typelevel (line 355) [INFO] [stdout] src/typelevel.rs - typelevel (line 371) [INFO] [stdout] src/typelevel.rs - typelevel (line 380) [INFO] [stdout] src/typelevel.rs - typelevel (line 396) [INFO] [stdout] src/typelevel.rs - typelevel (line 406) [INFO] [stdout] src/typelevel.rs - typelevel (line 430) [INFO] [stdout] src/typelevel.rs - typelevel (line 440) [INFO] [stdout] src/typelevel.rs - typelevel (line 458) [INFO] [stdout] src/typelevel.rs - typelevel (line 492) [INFO] [stdout] src/typelevel.rs - typelevel (line 505) [INFO] [stdout] src/typelevel.rs - typelevel (line 526) [INFO] [stdout] src/typelevel.rs - typelevel (line 546) [INFO] [stdout] src/typelevel.rs - typelevel (line 560) [INFO] [stdout] src/typelevel.rs - typelevel (line 587) [INFO] [stdout] src/typelevel.rs - typelevel (line 600) [INFO] [stdout] src/typelevel.rs - typelevel::Is (line 691) [INFO] [stdout] src/typelevel.rs - typelevel::Is (line 698) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 33 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.07s; merged doctests compilation took 0.45s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b5b793e88b02e7a76f212381c462ac3d8831c8806a9c886a62d0d7bf4d989bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5b793e88b02e7a76f212381c462ac3d8831c8806a9c886a62d0d7bf4d989bb1", kill_on_drop: false }` [INFO] [stdout] b5b793e88b02e7a76f212381c462ac3d8831c8806a9c886a62d0d7bf4d989bb1