[INFO] fetching crate aemics-stm32g4xx-hal 0.1.0... [INFO] testing aemics-stm32g4xx-hal-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate aemics-stm32g4xx-hal 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate aemics-stm32g4xx-hal 0.1.0 [INFO] finished tweaking crates.io crate aemics-stm32g4xx-hal 0.1.0 [INFO] tweaked toml for crates.io crate aemics-stm32g4xx-hal 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate aemics-stm32g4xx-hal 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate aemics-stm32g4xx-hal 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20482ac46bf74ad909822a1f8b77301a61639ad5b71683a5ee4d93eae3c931c4 [INFO] running `Command { std: "docker" "start" "-a" "20482ac46bf74ad909822a1f8b77301a61639ad5b71683a5ee4d93eae3c931c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20482ac46bf74ad909822a1f8b77301a61639ad5b71683a5ee4d93eae3c931c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20482ac46bf74ad909822a1f8b77301a61639ad5b71683a5ee4d93eae3c931c4", kill_on_drop: false }` [INFO] [stdout] 20482ac46bf74ad909822a1f8b77301a61639ad5b71683a5ee4d93eae3c931c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f39f9e98bc97e9653dd83df5c2462d40a411b08b1b38aa84638cc2d0803b9a01 [INFO] running `Command { std: "docker" "start" "-a" "f39f9e98bc97e9653dd83df5c2462d40a411b08b1b38aa84638cc2d0803b9a01", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling critical-section v1.1.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling stm32g4 v0.15.1 [INFO] [stderr] Compiling usb-device v0.2.9 [INFO] [stderr] Compiling stm32-usbd v0.6.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling fdcan v0.2.0 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling embedded-dma v0.2.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling usbd-serial v0.1.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling panic-semihosting v0.6.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling aemics-stm32g4xx-hal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g4A1` [INFO] [stdout] --> src/can.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | feature = "stm32g4A1", [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g4a1"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g4A1` as a feature in `Cargo.toml` [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 value: `stm32g49a` [INFO] [stdout] --> src/dma/stream.rs:526:5 [INFO] [stdout] | [INFO] [stdout] 526 | feature = "stm32g49a", [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g491"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g49a` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g49a` [INFO] [stdout] --> src/dma/transfer.rs:710:5 [INFO] [stdout] | [INFO] [stdout] 710 | feature = "stm32g49a", [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g491"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g49a` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g4A1` [INFO] [stdout] --> src/pwm.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | feature = "stm32g4A1" [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g4a1"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g4A1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g4A1` [INFO] [stdout] --> src/pwm.rs:876:5 [INFO] [stdout] | [INFO] [stdout] 876 | feature = "stm32g4A1" [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g4a1"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g4A1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g4A1` [INFO] [stdout] --> src/pwm.rs:1818:5 [INFO] [stdout] | [INFO] [stdout] 1818 | feature = "stm32g4A1" [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g4a1"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g4A1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g4A1` [INFO] [stdout] --> src/rcc/enable.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | feature = "stm32g4A1" [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g4a1"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g4A1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/flash.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 449 | flash_sz: FlashSize, [INFO] [stdout] 450 | ) -> FlashWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 450 | ) -> FlashWriter<'_, PAGE_SIZE_KB> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.60s [INFO] running `Command { std: "docker" "inspect" "f39f9e98bc97e9653dd83df5c2462d40a411b08b1b38aa84638cc2d0803b9a01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f39f9e98bc97e9653dd83df5c2462d40a411b08b1b38aa84638cc2d0803b9a01", kill_on_drop: false }` [INFO] [stdout] f39f9e98bc97e9653dd83df5c2462d40a411b08b1b38aa84638cc2d0803b9a01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ffdf10828b2e25d454c68cb0b6af444a80c6850c384b8bdceaf4fa55c1ca60a [INFO] running `Command { std: "docker" "start" "-a" "8ffdf10828b2e25d454c68cb0b6af444a80c6850c384b8bdceaf4fa55c1ca60a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling defmt v0.3.6 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling defmt-macros v0.3.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cortex-m-rtic v1.1.4 [INFO] [stderr] Compiling cortex-m-log v0.8.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling defmt-rtt v0.4.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling panic-probe v0.3.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling rtic-core v1.0.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling rtic-monotonic v1.0.0 [INFO] [stderr] Compiling panic-itm v0.4.2 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g4A1` [INFO] [stdout] --> src/can.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | feature = "stm32g4A1", [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g4a1"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g4A1` as a feature in `Cargo.toml` [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 value: `stm32g49a` [INFO] [stdout] --> src/dma/stream.rs:526:5 [INFO] [stdout] | [INFO] [stdout] 526 | feature = "stm32g49a", [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g491"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g49a` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g49a` [INFO] [stdout] --> src/dma/transfer.rs:710:5 [INFO] [stdout] | [INFO] [stdout] 710 | feature = "stm32g49a", [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g491"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g49a` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g4A1` [INFO] [stdout] --> src/pwm.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | feature = "stm32g4A1" [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g4a1"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g4A1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g4A1` [INFO] [stdout] --> src/pwm.rs:876:5 [INFO] [stdout] | [INFO] [stdout] 876 | feature = "stm32g4A1" [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g4a1"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g4A1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g4A1` [INFO] [stdout] --> src/pwm.rs:1818:5 [INFO] [stdout] | [INFO] [stdout] 1818 | feature = "stm32g4A1" [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g4a1"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g4A1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g4A1` [INFO] [stdout] --> src/rcc/enable.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | feature = "stm32g4A1" [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g4a1"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g4A1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/flash.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 449 | flash_sz: FlashSize, [INFO] [stdout] 450 | ) -> FlashWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 450 | ) -> FlashWriter<'_, PAGE_SIZE_KB> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling rtic-syntax v1.0.3 [INFO] [stderr] Compiling embedded-sdmmc v0.7.0 [INFO] [stderr] Compiling cortex-m-rtic-macros v1.1.6 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling defmt-parser v0.3.4 [INFO] [stderr] Compiling aemics-stm32g4xx-hal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `aemics_stm32g4xx_hal as hal` [INFO] [stdout] --> examples/usb_print.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use aemics_stm32g4xx_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: duplicate lang item in crate `panic_halt` (which `i2c_transaction` depends on): `panic_impl` [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `panic_semihosting` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/c2e32f1c9652b13ed99608599c1e855462f421f3/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d73d50f7d7b085f5.so, /opt/rustwide/rustup-home/toolchains/c2e32f1c9652b13ed99608599c1e855462f421f3/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d73d50f7d7b085f5.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-157c00d87fe2f11b.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rcc` [INFO] [stdout] --> examples/usb_echo.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let rcc = dp.RCC.freeze(Config::hsi48(), pwr); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rcc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aemics-stm32g4xx-hal` (example "i2c_transaction") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0152]: duplicate lang item in crate `panic_halt` (which `i2c` depends on): `panic_impl` [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `panic_semihosting` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/c2e32f1c9652b13ed99608599c1e855462f421f3/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d73d50f7d7b085f5.so, /opt/rustwide/rustup-home/toolchains/c2e32f1c9652b13ed99608599c1e855462f421f3/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d73d50f7d7b085f5.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-157c00d87fe2f11b.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/usb_print.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | let usb_dev = unsafe { USB_DEVICE.as_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> examples/usb_print.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(ref mut serial) = unsafe { MUTEX_USB_SERIAL.borrow(cs).borrow_mut().deref_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> examples/usb_print.rs:80:40 [INFO] [stdout] | [INFO] [stdout] 80 | cortex_m::interrupt::free(|cs| MUTEX_USB_SERIAL.borrow(cs).borrow_mut().replace(SerialPort::new(USB_BUS.as_ref().unwrap()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> examples/usb_print.rs:80:105 [INFO] [stdout] | [INFO] [stdout] 80 | cortex_m::interrupt::free(|cs| MUTEX_USB_SERIAL.borrow(cs).borrow_mut().replace(SerialPort::new(USB_BUS.as_ref().unwrap()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> examples/usb_print.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | let usb_dev = UsbDeviceBuilder::new(USB_BUS.as_ref().unwrap(), UsbVidPid(0x16c0, 0x27dd)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> examples/usb_print.rs:110:52 [INFO] [stdout] | [INFO] [stdout] 110 | if let Some(ref mut serial) = unsafe { MUTEX_USB_SERIAL.borrow(cs).borrow_mut().deref_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aemics-stm32g4xx-hal` (example "i2c") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcD6YMrV/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libaemics_stm32g4xx_hal-3c35006fa29c623c,libcast-4afdfdef5e3b6a17,libfugit-d26bc1887772318c,libgcd-ef1c6a0cfbd815f1,libembedded_dma-0bab5c6fc0f0ec52,libstable_deref_trait-5192e9749aec5c86,libfdcan-baf86d4604b1914d,libstatic_assertions-43cf9cd65e1a8e4d,libbitflags-b28030d65a9e4f02,libusbd_serial-557406946e3fb7e1,libstm32_usbd-49073c22bba57197,libusb_device-bf6a9609fd87be0a,libpanic_semihosting-46bf9cb1a34923f9}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/debug/deps/{libstm32g4-e793bcc4b66aae4e,libcortex_m_rt-a77fab2182e2747c,libembedded_hal-5b0dead749344c10,libcortex_m-6d30c9bedeec06ac,libembedded_hal-e0506e92d5f3aaad,libnb-eba34bc2abb7940e,libnb-3a1ed06eddb576bd,libvolatile_register-de6281d3b8030dcd,libvcell-0c4b6b76848ddf4c,libbare_metal-00b6589630d20e2a,libvoid-0b9a59cbdc169960,libbare_metal-d951df9b974e0bfc}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcD6YMrV/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-7c90d73e45b1c29d/out" "-L" "/opt/rustwide/target/debug/build/stm32g4-606bf43d3c8b9bd6/out" "-L" "/opt/rustwide/target/debug/build/defmt-886ad78d0ae72e5c/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/blinky-168eee0869312e92" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: __primask_r [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/blinky-168eee0869312e92.blinky.952b798a91f81dbb-cgu.0.rcgu.o:(cortex_m::register::primask::read::h5e65dda301f06c28) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsie [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/blinky-168eee0869312e92.blinky.952b798a91f81dbb-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h0b0e7175b68ab363) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsid [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/blinky-168eee0869312e92.blinky.952b798a91f81dbb-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h4c85e41c8b5ff89b) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aemics-stm32g4xx-hal` (example "blinky") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustceD8RKU/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libaemics_stm32g4xx_hal-3c35006fa29c623c,libcast-4afdfdef5e3b6a17,libfugit-d26bc1887772318c,libgcd-ef1c6a0cfbd815f1,libembedded_dma-0bab5c6fc0f0ec52,libstable_deref_trait-5192e9749aec5c86,libfdcan-baf86d4604b1914d,libstatic_assertions-43cf9cd65e1a8e4d,libbitflags-b28030d65a9e4f02,libusbd_serial-557406946e3fb7e1,libstm32_usbd-49073c22bba57197,libusb_device-bf6a9609fd87be0a,libpanic_semihosting-46bf9cb1a34923f9}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/debug/deps/{libstm32g4-e793bcc4b66aae4e,libcortex_m_rt-a77fab2182e2747c,libembedded_hal-5b0dead749344c10,libcortex_m-6d30c9bedeec06ac,libembedded_hal-e0506e92d5f3aaad,libnb-eba34bc2abb7940e,libnb-3a1ed06eddb576bd,libvolatile_register-de6281d3b8030dcd,libvcell-0c4b6b76848ddf4c,libbare_metal-00b6589630d20e2a,libvoid-0b9a59cbdc169960,libbare_metal-d951df9b974e0bfc}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustceD8RKU/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-7c90d73e45b1c29d/out" "-L" "/opt/rustwide/target/debug/build/stm32g4-606bf43d3c8b9bd6/out" "-L" "/opt/rustwide/target/debug/build/defmt-886ad78d0ae72e5c/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/blinky_timer_delay-8483459ceac68cfb" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: __primask_r [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/blinky_timer_delay-8483459ceac68cfb.blinky_timer_delay.3e1e2fce5a50b7d8-cgu.0.rcgu.o:(cortex_m::register::primask::read::h05484269f4685dcd) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsie [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/blinky_timer_delay-8483459ceac68cfb.blinky_timer_delay.3e1e2fce5a50b7d8-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h0f0ece8bb6b5f682) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsid [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/blinky_timer_delay-8483459ceac68cfb.blinky_timer_delay.3e1e2fce5a50b7d8-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h59e3101e086c28ac) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aemics-stm32g4xx-hal` (example "blinky_timer_delay") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcJuTnUb/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libaemics_stm32g4xx_hal-3c35006fa29c623c,libcast-4afdfdef5e3b6a17,libembedded_dma-0bab5c6fc0f0ec52,libstable_deref_trait-5192e9749aec5c86,libfdcan-baf86d4604b1914d,libstatic_assertions-43cf9cd65e1a8e4d,libbitflags-b28030d65a9e4f02,libusbd_serial-557406946e3fb7e1,libstm32_usbd-49073c22bba57197,libusb_device-bf6a9609fd87be0a,libpanic_semihosting-46bf9cb1a34923f9}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/debug/deps/{libstm32g4-e793bcc4b66aae4e,libcortex_m_rt-a77fab2182e2747c,libembedded_hal-5b0dead749344c10,libcortex_m-6d30c9bedeec06ac,libembedded_hal-e0506e92d5f3aaad,libnb-eba34bc2abb7940e,libnb-3a1ed06eddb576bd,libvolatile_register-de6281d3b8030dcd,libvcell-0c4b6b76848ddf4c,libbare_metal-00b6589630d20e2a,libvoid-0b9a59cbdc169960,libbare_metal-d951df9b974e0bfc,libfugit-d26bc1887772318c,libgcd-ef1c6a0cfbd815f1}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcJuTnUb/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-7c90d73e45b1c29d/out" "-L" "/opt/rustwide/target/debug/build/stm32g4-606bf43d3c8b9bd6/out" "-L" "/opt/rustwide/target/debug/build/defmt-886ad78d0ae72e5c/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/spi_transfer-5775915fcb83621a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: __primask_r [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/spi_transfer-5775915fcb83621a.spi_transfer.78bc9c4b5b6b1c49-cgu.0.rcgu.o:(cortex_m::register::primask::read::h1d4b13df809e0deb) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsie [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/spi_transfer-5775915fcb83621a.spi_transfer.78bc9c4b5b6b1c49-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h8d78fed0aff98017) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsid [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/spi_transfer-5775915fcb83621a.spi_transfer.78bc9c4b5b6b1c49-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h0256c50ebeaaac44) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __delay [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> aemics_stm32g4xx_hal-3c35006fa29c623c.aemics_stm32g4xx_hal.3164d3786ca7b5e-cgu.0.rcgu.o:(cortex_m::asm::delay::hdcb723bd64fef0df) in archive /opt/rustwide/target/debug/deps/libaemics_stm32g4xx_hal-3c35006fa29c623c.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aemics-stm32g4xx-hal` (example "spi_transfer") due to 1 previous error [INFO] [stderr] error: could not compile `aemics-stm32g4xx-hal` (example "usb_echo") due to 1 previous error; 1 warning emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcvBEmBL/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libaemics_stm32g4xx_hal-3c35006fa29c623c,libcast-4afdfdef5e3b6a17,libfugit-d26bc1887772318c,libgcd-ef1c6a0cfbd815f1,libembedded_dma-0bab5c6fc0f0ec52,libstable_deref_trait-5192e9749aec5c86,libfdcan-baf86d4604b1914d,libstatic_assertions-43cf9cd65e1a8e4d,libbitflags-b28030d65a9e4f02,libusbd_serial-557406946e3fb7e1,libstm32_usbd-49073c22bba57197,libusb_device-bf6a9609fd87be0a,libpanic_semihosting-46bf9cb1a34923f9}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/debug/deps/{libstm32g4-e793bcc4b66aae4e,libcortex_m_rt-a77fab2182e2747c,libembedded_hal-5b0dead749344c10,libcortex_m-6d30c9bedeec06ac,libembedded_hal-e0506e92d5f3aaad,libnb-eba34bc2abb7940e,libnb-3a1ed06eddb576bd,libvolatile_register-de6281d3b8030dcd,libvcell-0c4b6b76848ddf4c,libbare_metal-00b6589630d20e2a,libvoid-0b9a59cbdc169960,libbare_metal-d951df9b974e0bfc}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcvBEmBL/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-7c90d73e45b1c29d/out" "-L" "/opt/rustwide/target/debug/build/stm32g4-606bf43d3c8b9bd6/out" "-L" "/opt/rustwide/target/debug/build/defmt-886ad78d0ae72e5c/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/usb_echo-3fe7a18265e2c4f5" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: __delay [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> aemics_stm32g4xx_hal-3c35006fa29c623c.aemics_stm32g4xx_hal.3164d3786ca7b5e-cgu.0.rcgu.o:(cortex_m::asm::delay::hdcb723bd64fef0df) in archive /opt/rustwide/target/debug/deps/libaemics_stm32g4xx_hal-3c35006fa29c623c.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __primask_r [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> aemics_stm32g4xx_hal-3c35006fa29c623c.aemics_stm32g4xx_hal.3164d3786ca7b5e-cgu.0.rcgu.o:(cortex_m::register::primask::read::h9ba555c450177167) in archive /opt/rustwide/target/debug/deps/libaemics_stm32g4xx_hal-3c35006fa29c623c.rlib [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/usb_echo-3fe7a18265e2c4f5.usb_echo.7a590bb9954041bc-cgu.0.rcgu.o:(cortex_m::register::primask::read::h7f12492f3765171f) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsie [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> aemics_stm32g4xx_hal-3c35006fa29c623c.aemics_stm32g4xx_hal.3164d3786ca7b5e-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h9ce7ef54788545ad) in archive /opt/rustwide/target/debug/deps/libaemics_stm32g4xx_hal-3c35006fa29c623c.rlib [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/usb_echo-3fe7a18265e2c4f5.usb_echo.7a590bb9954041bc-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h859ca593ad6b44bf) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsid [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> aemics_stm32g4xx_hal-3c35006fa29c623c.aemics_stm32g4xx_hal.3164d3786ca7b5e-cgu.0.rcgu.o:(cortex_m::interrupt::disable::hb1fe7ffc8046a9f7) in archive /opt/rustwide/target/debug/deps/libaemics_stm32g4xx_hal-3c35006fa29c623c.rlib [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/usb_echo-3fe7a18265e2c4f5.usb_echo.7a590bb9954041bc-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h126b739f0500dc48) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustciD78QM/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libaemics_stm32g4xx_hal-3c35006fa29c623c,libcast-4afdfdef5e3b6a17,libfugit-d26bc1887772318c,libgcd-ef1c6a0cfbd815f1,libembedded_dma-0bab5c6fc0f0ec52,libstable_deref_trait-5192e9749aec5c86,libfdcan-baf86d4604b1914d,libstatic_assertions-43cf9cd65e1a8e4d,libbitflags-b28030d65a9e4f02,libusbd_serial-557406946e3fb7e1,libstm32_usbd-49073c22bba57197,libusb_device-bf6a9609fd87be0a,libpanic_semihosting-46bf9cb1a34923f9}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/debug/deps/{libstm32g4-e793bcc4b66aae4e,libcortex_m_rt-a77fab2182e2747c,libembedded_hal-5b0dead749344c10,libcortex_m-6d30c9bedeec06ac,libembedded_hal-e0506e92d5f3aaad,libnb-eba34bc2abb7940e,libnb-3a1ed06eddb576bd,libvolatile_register-de6281d3b8030dcd,libvcell-0c4b6b76848ddf4c,libbare_metal-00b6589630d20e2a,libvoid-0b9a59cbdc169960,libbare_metal-d951df9b974e0bfc}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustciD78QM/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-7c90d73e45b1c29d/out" "-L" "/opt/rustwide/target/debug/build/stm32g4-606bf43d3c8b9bd6/out" "-L" "/opt/rustwide/target/debug/build/defmt-886ad78d0ae72e5c/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/usb_print-f8fe5eb8dd356339" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: __primask_r [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/usb_print-f8fe5eb8dd356339.usb_print.56d2f7a5fb878696-cgu.0.rcgu.o:(cortex_m::register::primask::read::h2467ed8ae8ee8645) [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> aemics_stm32g4xx_hal-3c35006fa29c623c.aemics_stm32g4xx_hal.3164d3786ca7b5e-cgu.0.rcgu.o:(cortex_m::register::primask::read::h9ba555c450177167) in archive /opt/rustwide/target/debug/deps/libaemics_stm32g4xx_hal-3c35006fa29c623c.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsie [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/usb_print-f8fe5eb8dd356339.usb_print.56d2f7a5fb878696-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h111ed6c577cde4a7) [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> aemics_stm32g4xx_hal-3c35006fa29c623c.aemics_stm32g4xx_hal.3164d3786ca7b5e-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h9ce7ef54788545ad) in archive /opt/rustwide/target/debug/deps/libaemics_stm32g4xx_hal-3c35006fa29c623c.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsid [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/usb_print-f8fe5eb8dd356339.usb_print.56d2f7a5fb878696-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h4554b94cb7acbd78) [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> aemics_stm32g4xx_hal-3c35006fa29c623c.aemics_stm32g4xx_hal.3164d3786ca7b5e-cgu.0.rcgu.o:(cortex_m::interrupt::disable::hb1fe7ffc8046a9f7) in archive /opt/rustwide/target/debug/deps/libaemics_stm32g4xx_hal-3c35006fa29c623c.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __delay [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> aemics_stm32g4xx_hal-3c35006fa29c623c.aemics_stm32g4xx_hal.3164d3786ca7b5e-cgu.0.rcgu.o:(cortex_m::asm::delay::hdcb723bd64fef0df) in archive /opt/rustwide/target/debug/deps/libaemics_stm32g4xx_hal-3c35006fa29c623c.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aemics-stm32g4xx-hal` (example "usb_print") due to 1 previous error; 7 warnings emitted [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g4A1` [INFO] [stdout] --> src/can.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | feature = "stm32g4A1", [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g4a1"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g4A1` as a feature in `Cargo.toml` [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 value: `stm32g49a` [INFO] [stdout] --> src/dma/stream.rs:526:5 [INFO] [stdout] | [INFO] [stdout] 526 | feature = "stm32g49a", [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g491"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g49a` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g49a` [INFO] [stdout] --> src/dma/transfer.rs:710:5 [INFO] [stdout] | [INFO] [stdout] 710 | feature = "stm32g49a", [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g491"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g49a` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g4A1` [INFO] [stdout] --> src/pwm.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | feature = "stm32g4A1" [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g4a1"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g4A1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g4A1` [INFO] [stdout] --> src/pwm.rs:876:5 [INFO] [stdout] | [INFO] [stdout] 876 | feature = "stm32g4A1" [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g4a1"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g4A1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g4A1` [INFO] [stdout] --> src/pwm.rs:1818:5 [INFO] [stdout] | [INFO] [stdout] 1818 | feature = "stm32g4A1" [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g4a1"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g4A1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stm32g4A1` [INFO] [stdout] --> src/rcc/enable.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | feature = "stm32g4A1" [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"stm32g4a1"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt`, `defmt-logging`, `log-itm`, `log-rtt`, `log-semihost`, `rt`, `stm32g431`, `stm32g441`, `stm32g471`, `stm32g473`, `stm32g474`, `stm32g483`, `stm32g484`, `stm32g491`, and `stm32g4a1` [INFO] [stdout] = help: consider adding `stm32g4A1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/flash.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 449 | flash_sz: FlashSize, [INFO] [stdout] 450 | ) -> FlashWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 450 | ) -> FlashWriter<'_, PAGE_SIZE_KB> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8ffdf10828b2e25d454c68cb0b6af444a80c6850c384b8bdceaf4fa55c1ca60a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ffdf10828b2e25d454c68cb0b6af444a80c6850c384b8bdceaf4fa55c1ca60a", kill_on_drop: false }` [INFO] [stdout] 8ffdf10828b2e25d454c68cb0b6af444a80c6850c384b8bdceaf4fa55c1ca60a