[INFO] fetching crate cntrlr 0.1.0... [INFO] checking cntrlr-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate cntrlr 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate cntrlr 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cntrlr 0.1.0 [INFO] finished tweaking crates.io crate cntrlr 0.1.0 [INFO] tweaked toml for crates.io crate cntrlr 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate cntrlr 0.1.0 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `resolver` has been stabilized in the 1.51 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/resolver.html#resolver-versions for more information about using this feature. [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cntrlr-build v0.1.0 [INFO] [stderr] Downloaded cntrlr-macros v0.1.0 [INFO] [stderr] Downloaded syn v1.0.55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25965f565ce10890aadceedd31c37011f5c5dfac5d8ace313a9ec2afb0236f98 [INFO] running `Command { std: "docker" "start" "-a" "25965f565ce10890aadceedd31c37011f5c5dfac5d8ace313a9ec2afb0236f98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25965f565ce10890aadceedd31c37011f5c5dfac5d8ace313a9ec2afb0236f98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25965f565ce10890aadceedd31c37011f5c5dfac5d8ace313a9ec2afb0236f98", kill_on_drop: false }` [INFO] [stdout] 25965f565ce10890aadceedd31c37011f5c5dfac5d8ace313a9ec2afb0236f98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f48c5bd377589a7ac8ab41c37fa7e71e2adbeaf3e21d69656567f2a82bff257 [INFO] running `Command { std: "docker" "start" "-a" "1f48c5bd377589a7ac8ab41c37fa7e71e2adbeaf3e21d69656567f2a82bff257", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `resolver` has been stabilized in the 1.51 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/resolver.html#resolver-versions for more information about using this feature. [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling cntrlr-build v0.1.0 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling cntrlr v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: cntrlr@0.1.0: CNTRLR_BOARD not specified or target is incompatible with selected board [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling cntrlr-macros v0.1.0 [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/task.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | asm!("wfi") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 6 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/task.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | asm!("wfi") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 6 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> src/io.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | type ExactFuture<'a> = impl Future> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> src/io.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | type LineFuture<'a> = impl Future>> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> src/io.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | type AllFuture<'a> = impl Future> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> src/io.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | type FmtFuture<'a> = impl Future> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(any(doc, board = "red_v"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("red_v"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"red_v\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(any(doc, board = "teensy_30"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_30"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_30\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(any(doc, board = "teensy_32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(doc, board = "teensy_35"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_35"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_35\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(any(doc, board = "teensy_36"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_36"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_36\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(any(doc, board = "teensy_lc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_lc"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_lc\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> src/io.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | type ExactFuture<'a> = impl Future> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> src/io.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | type LineFuture<'a> = impl Future>> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | board = "teensy_30", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_30"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_30\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> src/io.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | type AllFuture<'a> = impl Future> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | board = "teensy_32", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> src/io.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | type FmtFuture<'a> = impl Future> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | board = "teensy_35", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_35"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_35\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | board = "teensy_36", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_36"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_36\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(any(doc, board = "red_v"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("red_v"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"red_v\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | board = "teensy_lc" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_lc"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_lc\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(any(doc, board = "teensy_30"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_30"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_30\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(any(doc, board = "teensy_32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(doc, board = "teensy_35"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_35"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_35\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(any(doc, board = "teensy_36"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_36"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_36\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/hw/mcu/sifive/peripheral/gpio.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(mcu = "fe310g002")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(any(doc, board = "teensy_lc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_lc"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_lc\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::DerefMut` [INFO] [stdout] --> src/io.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use core::{fmt::Debug, future::Future, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | board = "teensy_30", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_30"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_30\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/sync.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(not(mcu = "fe310g002"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | board = "teensy_32", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | board = "teensy_35", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_35"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_35\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/sync.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(not(mcu = "fe310g002"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/sync.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(mcu = "fe310g002")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | board = "teensy_36", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_36"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_36\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/hw/board/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | board = "teensy_lc" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("teensy_lc"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"teensy_lc\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/sync.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(mcu = "fe310g002")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/sync.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(not(mcu = "fe310g002"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/sync.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(mcu = "fe310g002")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/sync.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(not(mcu = "fe310g002"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/hw/mcu/sifive/peripheral/gpio.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(mcu = "fe310g002")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::future::Future` [INFO] [stdout] --> src/time.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/sync.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(not(mcu = "fe310g002"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/sync.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(not(mcu = "fe310g002"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/sync.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(mcu = "fe310g002")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/sync.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(mcu = "fe310g002")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/sync.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(not(mcu = "fe310g002"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/sync.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(mcu = "fe310g002")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mcu` [INFO] [stdout] --> src/sync.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(not(mcu = "fe310g002"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mcu, values("fe310g002"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mcu, values(\"fe310g002\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::future::Future` [INFO] [stdout] --> src/time.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/runtime.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / fn panic(_: &PanicInfo) -> ! { [INFO] [stdout] 9 | | loop { [INFO] [stdout] 10 | | core::sync::atomic::compiler_fence(core::sync::atomic::Ordering::SeqCst); [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e0ee872a6f64065a.rlib [INFO] [stdout] = note: second definition in the local crate (`cntrlr`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | generic_associated_types, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | asm, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `future_poll_fn` has been stable since 1.64.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | future_poll_fn, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch` [INFO] [stdout] --> src/sync.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | if !arch::interrupts_enabled() { [INFO] [stdout] | ^^^^ use of undeclared crate or module `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch` [INFO] [stdout] --> src/sync.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | arch::enable_interrupts(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch` [INFO] [stdout] --> src/sync.rs:301:16 [INFO] [stdout] | [INFO] [stdout] 301 | if arch::interrupts_enabled() { [INFO] [stdout] | ^^^^ use of undeclared crate or module `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch` [INFO] [stdout] --> src/sync.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | arch::disable_interrupts(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: cntrlr@0.1.0: CNTRLR_BOARD not specified or target is incompatible with selected board [INFO] [stderr] [INFO] [stderr] error: could not compile `cntrlr` (lib test) due to 12 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: missing required bound on `Future` [INFO] [stdout] --> src/io.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | type Future<'a>: Future> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: add the required where clause: `where Self: 'a` [INFO] [stdout] | [INFO] [stdout] = note: this bound is currently required to ensure that impls have maximum flexibility [INFO] [stdout] = note: we are soliciting feedback, see issue #87479 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing required bound on `FlushFuture` [INFO] [stdout] --> src/io.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | type FlushFuture<'a>: Future> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: add the required where clause: `where Self: 'a` [INFO] [stdout] | [INFO] [stdout] = note: this bound is currently required to ensure that impls have maximum flexibility [INFO] [stdout] = note: we are soliciting feedback, see issue #87479 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing required bound on `Future` [INFO] [stdout] --> src/io.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | type Future<'a>: Future> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: add the required where clause: `where Self: 'a` [INFO] [stdout] | [INFO] [stdout] = note: this bound is currently required to ensure that impls have maximum flexibility [INFO] [stdout] = note: we are soliciting feedback, see issue #87479 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing required bound on `ExactFuture` [INFO] [stdout] --> src/io.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | type ExactFuture<'a>: Future> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: add the required where clause: `where Self: 'a` [INFO] [stdout] | [INFO] [stdout] = note: this bound is currently required to ensure that impls have maximum flexibility [INFO] [stdout] = note: we are soliciting feedback, see issue #87479 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing required bound on `LineFuture` [INFO] [stdout] --> src/io.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | type LineFuture<'a>: Future>> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: add the required where clause: `where Self: 'a` [INFO] [stdout] | [INFO] [stdout] = note: this bound is currently required to ensure that impls have maximum flexibility [INFO] [stdout] = note: we are soliciting feedback, see issue #87479 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing required bound on `AllFuture` [INFO] [stdout] --> src/io.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | type AllFuture<'a>: Future> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: add the required where clause: `where Self: 'a` [INFO] [stdout] | [INFO] [stdout] = note: this bound is currently required to ensure that impls have maximum flexibility [INFO] [stdout] = note: we are soliciting feedback, see issue #87479 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing required bound on `FmtFuture` [INFO] [stdout] --> src/io.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | type FmtFuture<'a>: Future> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: add the required where clause: `where Self: 'a` [INFO] [stdout] | [INFO] [stdout] = note: this bound is currently required to ensure that impls have maximum flexibility [INFO] [stdout] = note: we are soliciting feedback, see issue #87479 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch` [INFO] [stdout] --> src/sync.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | if !arch::interrupts_enabled() { [INFO] [stdout] | ^^^^ use of undeclared crate or module `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch` [INFO] [stdout] --> src/sync.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | arch::enable_interrupts(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch` [INFO] [stdout] --> src/sync.rs:301:16 [INFO] [stdout] | [INFO] [stdout] 301 | if arch::interrupts_enabled() { [INFO] [stdout] | ^^^^ use of undeclared crate or module `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arch` [INFO] [stdout] --> src/sync.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | arch::disable_interrupts(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/runtime.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | &mut __cntrlr_data_start, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 37 | addr_of_mut!(__cntrlr_data_start), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/runtime.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | &mut __cntrlr_data_end, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 38 | addr_of_mut!(__cntrlr_data_end), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/runtime.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | init_bss(&mut __cntrlr_bss_start, &mut __cntrlr_bss_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 41 | init_bss(addr_of_mut!(__cntrlr_bss_start), &mut __cntrlr_bss_end); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/runtime.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | init_bss(&mut __cntrlr_bss_start, &mut __cntrlr_bss_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 41 | init_bss(&mut __cntrlr_bss_start, addr_of_mut!(__cntrlr_bss_end)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/runtime.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | init_heap(&mut __cntrlr_heap_start); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 42 | init_heap(addr_of_mut!(__cntrlr_heap_start)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::DerefMut` [INFO] [stdout] --> src/io.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use core::{fmt::Debug, future::Future, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: cntrlr@0.1.0: CNTRLR_BOARD not specified or target is incompatible with selected board [INFO] [stderr] [INFO] [stderr] error: could not compile `cntrlr` (lib) due to 17 previous errors; 29 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1f48c5bd377589a7ac8ab41c37fa7e71e2adbeaf3e21d69656567f2a82bff257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f48c5bd377589a7ac8ab41c37fa7e71e2adbeaf3e21d69656567f2a82bff257", kill_on_drop: false }` [INFO] [stdout] 1f48c5bd377589a7ac8ab41c37fa7e71e2adbeaf3e21d69656567f2a82bff257