[INFO] fetching crate aemics-stm32g4xx-hal 0.1.0... [INFO] testing aemics-stm32g4xx-hal-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate aemics-stm32g4xx-hal 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate aemics-stm32g4xx-hal 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded usbd-serial v0.1.1 [INFO] [stderr] Downloaded stm32-usbd v0.6.0 [INFO] [stderr] Downloaded defmt-parser v0.3.4 [INFO] [stderr] Downloaded defmt-macros v0.3.7 [INFO] [stderr] Downloaded cortex-m-log v0.8.0 [INFO] [stderr] Downloaded rtic-syntax v1.0.3 [INFO] [stderr] Downloaded defmt v0.3.6 [INFO] [stderr] Downloaded cortex-m-rtic-macros v1.1.6 [INFO] [stderr] Downloaded rtic-core v1.0.0 [INFO] [stderr] Downloaded rtic-monotonic v1.0.0 [INFO] [stderr] Downloaded panic-itm v0.4.2 [INFO] [stderr] Downloaded cortex-m-semihosting v0.5.0 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded panic-semihosting v0.6.0 [INFO] [stderr] Downloaded fdcan v0.2.0 [INFO] [stderr] Downloaded cortex-m-rtic v1.1.4 [INFO] [stderr] Downloaded embedded-sdmmc v0.7.0 [INFO] [stderr] Downloaded stm32g4 v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca4b33e7df59ac16b56b1eea2195728d01a135145556cbaab3c7400165013941 [INFO] running `Command { std: "docker" "start" "-a" "ca4b33e7df59ac16b56b1eea2195728d01a135145556cbaab3c7400165013941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca4b33e7df59ac16b56b1eea2195728d01a135145556cbaab3c7400165013941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4b33e7df59ac16b56b1eea2195728d01a135145556cbaab3c7400165013941", kill_on_drop: false }` [INFO] [stdout] ca4b33e7df59ac16b56b1eea2195728d01a135145556cbaab3c7400165013941 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9fdf4d13cec67dfd5611cb6a10f39523ec43601b8deebb665e44f839de579cc7 [INFO] running `Command { std: "docker" "start" "-a" "9fdf4d13cec67dfd5611cb6a10f39523ec43601b8deebb665e44f839de579cc7", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling critical-section v1.1.2 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Compiling paste v1.0.14 [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 bare-metal v1.0.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling embedded-dma v0.2.0 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling usbd-serial v0.1.1 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling panic-semihosting v0.6.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling fdcan v0.2.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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/flash.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 449 | flash_sz: FlashSize, [INFO] [stdout] 450 | ) -> FlashWriter { [INFO] [stdout] | ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 41.67s [INFO] running `Command { std: "docker" "inspect" "9fdf4d13cec67dfd5611cb6a10f39523ec43601b8deebb665e44f839de579cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fdf4d13cec67dfd5611cb6a10f39523ec43601b8deebb665e44f839de579cc7", kill_on_drop: false }` [INFO] [stdout] 9fdf4d13cec67dfd5611cb6a10f39523ec43601b8deebb665e44f839de579cc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 53d4a97b26470b828eee72494ec0eb03463de1b899886050f63d7bd6d0f1ad43 [INFO] running `Command { std: "docker" "start" "-a" "53d4a97b26470b828eee72494ec0eb03463de1b899886050f63d7bd6d0f1ad43", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling defmt v0.3.6 [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 byteorder v1.5.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling cortex-m-rtic v1.1.4 [INFO] [stderr] Compiling cortex-m-log v0.8.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling panic-probe v0.3.1 [INFO] [stderr] Compiling defmt-rtt v0.4.0 [INFO] [stderr] Compiling rtic-monotonic v1.0.0 [INFO] [stderr] Compiling rtic-core v1.0.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling panic-itm v0.4.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling panic-halt v0.2.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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/flash.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 449 | flash_sz: FlashSize, [INFO] [stdout] 450 | ) -> FlashWriter { [INFO] [stdout] | ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 thiserror-impl v1.0.58 [INFO] [stderr] Compiling cortex-m-rtic-macros v1.1.6 [INFO] [stderr] Compiling defmt-parser v0.3.4 [INFO] [stderr] Compiling aemics-stm32g4xx-hal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0152]: duplicate lang item in crate `panic_halt` (which `pwm` 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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.so, /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libpanic_halt-469eeb5ec0dfa1a5.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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aemics-stm32g4xx-hal` (example "pwm") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` 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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.so, /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libpanic_halt-469eeb5ec0dfa1a5.rlib [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_transaction") due to 1 previous error [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)]` 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc3QDJxe/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libaemics_stm32g4xx_hal-84a14da31523ed62.rlib,libcast-844ca8303feec413.rlib,libfugit-122330164245eaab.rlib,libgcd-82e1d03ac7148f67.rlib,libembedded_dma-e2e5c6226524a0cf.rlib,libstable_deref_trait-e0539a55901017d1.rlib,libfdcan-521b4f863137e4ab.rlib,libstatic_assertions-4e9c5af2d6548371.rlib,libbitflags-93283d3c478dc447.rlib,libusbd_serial-3208471204714a17.rlib,libstm32_usbd-202eafd7b4412b3d.rlib,libusb_device-dd9dfec021199d5e.rlib,libpanic_semihosting-83fb51df4f4701b4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libstm32g4-f64648db9b2d02b6.rlib,libcortex_m_rt-48d9b5061c901a24.rlib,libembedded_hal-d58db324597a5d8a.rlib,libcortex_m-758c5cd1a38df723.rlib,libembedded_hal-429694b921844194.rlib,libnb-be9dbe5f50688488.rlib,libnb-6d347f14451295ec.rlib,libvolatile_register-f2472b891945ee22.rlib,libvcell-0375fb9c3f005d38.rlib,libbare_metal-3acf1fd045723b87.rlib,libvoid-ad26e97561fe40f6.rlib,libbare_metal-5787ff5f5b27cb6c.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc3QDJxe/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/cortex-m-rt-495f136cdfc173f7/out" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/stm32g4-013d93e4c34443e3/out" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/defmt-d5b87594e8d48979/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/blinky_timer_delay-00359481a297331b" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/blinky_timer_delay-00359481a297331b.blinky_timer_delay.df6741c9e7f94138-cgu.0.rcgu.o: in function `cortex_m::register::primask::read': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m8register7primask4read17h986012c5b4605f34E+0x3): undefined reference to `__primask_r' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/blinky_timer_delay-00359481a297331b.blinky_timer_delay.df6741c9e7f94138-cgu.0.rcgu.o: in function `cortex_m::interrupt::enable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m9interrupt6enable17hb4b19c34c0097162E+0x3): undefined reference to `__cpsie' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/blinky_timer_delay-00359481a297331b.blinky_timer_delay.df6741c9e7f94138-cgu.0.rcgu.o: in function `cortex_m::interrupt::disable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m9interrupt7disable17h79afdc8ea2bb5989E+0x3): undefined reference to `__cpsid' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [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" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcsQxx4F/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libaemics_stm32g4xx_hal-84a14da31523ed62.rlib,libcast-844ca8303feec413.rlib,libfugit-122330164245eaab.rlib,libgcd-82e1d03ac7148f67.rlib,libembedded_dma-e2e5c6226524a0cf.rlib,libstable_deref_trait-e0539a55901017d1.rlib,libfdcan-521b4f863137e4ab.rlib,libstatic_assertions-4e9c5af2d6548371.rlib,libbitflags-93283d3c478dc447.rlib,libusbd_serial-3208471204714a17.rlib,libstm32_usbd-202eafd7b4412b3d.rlib,libusb_device-dd9dfec021199d5e.rlib,libpanic_semihosting-83fb51df4f4701b4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libstm32g4-f64648db9b2d02b6.rlib,libcortex_m_rt-48d9b5061c901a24.rlib,libembedded_hal-d58db324597a5d8a.rlib,libcortex_m-758c5cd1a38df723.rlib,libembedded_hal-429694b921844194.rlib,libnb-be9dbe5f50688488.rlib,libvolatile_register-f2472b891945ee22.rlib,libvcell-0375fb9c3f005d38.rlib,libbare_metal-3acf1fd045723b87.rlib,libvoid-ad26e97561fe40f6.rlib,libbare_metal-5787ff5f5b27cb6c.rlib,libnb-6d347f14451295ec.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcsQxx4F/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/cortex-m-rt-495f136cdfc173f7/out" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/stm32g4-013d93e4c34443e3/out" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/defmt-d5b87594e8d48979/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/timer_countdown-5e661aad6fd1206a" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/timer_countdown-5e661aad6fd1206a.timer_countdown.50542e6b7bc6dbd8-cgu.0.rcgu.o: in function `cortex_m::register::primask::read': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m8register7primask4read17h7f3aed08f41b978eE+0x3): undefined reference to `__primask_r' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/timer_countdown-5e661aad6fd1206a.timer_countdown.50542e6b7bc6dbd8-cgu.0.rcgu.o: in function `cortex_m::interrupt::enable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m9interrupt6enable17h3a8077efe595fed5E+0x3): undefined reference to `__cpsie' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/timer_countdown-5e661aad6fd1206a.timer_countdown.50542e6b7bc6dbd8-cgu.0.rcgu.o: in function `cortex_m::interrupt::disable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m9interrupt7disable17h2eeaf21d9b56bde2E+0x3): undefined reference to `__cpsid' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aemics-stm32g4xx-hal` (example "timer_countdown") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcBcXAq8/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libaemics_stm32g4xx_hal-84a14da31523ed62.rlib,libcast-844ca8303feec413.rlib,libfugit-122330164245eaab.rlib,libgcd-82e1d03ac7148f67.rlib,libembedded_dma-e2e5c6226524a0cf.rlib,libstable_deref_trait-e0539a55901017d1.rlib,libfdcan-521b4f863137e4ab.rlib,libstatic_assertions-4e9c5af2d6548371.rlib,libbitflags-93283d3c478dc447.rlib,libusbd_serial-3208471204714a17.rlib,libstm32_usbd-202eafd7b4412b3d.rlib,libusb_device-dd9dfec021199d5e.rlib,libpanic_semihosting-83fb51df4f4701b4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libstm32g4-f64648db9b2d02b6.rlib,libcortex_m_rt-48d9b5061c901a24.rlib,libembedded_hal-d58db324597a5d8a.rlib,libcortex_m-758c5cd1a38df723.rlib,libembedded_hal-429694b921844194.rlib,libnb-be9dbe5f50688488.rlib,libnb-6d347f14451295ec.rlib,libvolatile_register-f2472b891945ee22.rlib,libvcell-0375fb9c3f005d38.rlib,libbare_metal-3acf1fd045723b87.rlib,libvoid-ad26e97561fe40f6.rlib,libbare_metal-5787ff5f5b27cb6c.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcBcXAq8/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/cortex-m-rt-495f136cdfc173f7/out" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/stm32g4-013d93e4c34443e3/out" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/defmt-d5b87594e8d48979/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/usb_echo-c172b565222c0519" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/usb_echo-c172b565222c0519.usb_echo.9dc484a8273b1283-cgu.0.rcgu.o: in function `cortex_m::register::primask::read': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m8register7primask4read17hf4e62bf9f10bc907E+0x3): undefined reference to `__primask_r' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/usb_echo-c172b565222c0519.usb_echo.9dc484a8273b1283-cgu.0.rcgu.o: in function `cortex_m::interrupt::enable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m9interrupt6enable17hcd630a58b4ca0fe6E+0x3): undefined reference to `__cpsie' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/usb_echo-c172b565222c0519.usb_echo.9dc484a8273b1283-cgu.0.rcgu.o: in function `cortex_m::interrupt::disable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m9interrupt7disable17hf281b2db531c370cE+0x3): undefined reference to `__cpsid' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libaemics_stm32g4xx_hal-84a14da31523ed62.rlib(aemics_stm32g4xx_hal-84a14da31523ed62.aemics_stm32g4xx_hal.3687932ae36d199e-cgu.0.rcgu.o): in function `cortex_m::asm::delay': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m3asm5delay17hd30ca2c0ef9479b6E+0x7): undefined reference to `__delay' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libaemics_stm32g4xx_hal-84a14da31523ed62.rlib(aemics_stm32g4xx_hal-84a14da31523ed62.aemics_stm32g4xx_hal.3687932ae36d199e-cgu.0.rcgu.o): in function `cortex_m::register::primask::read': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m8register7primask4read17h733a95b55f842451E+0x3): undefined reference to `__primask_r' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libaemics_stm32g4xx_hal-84a14da31523ed62.rlib(aemics_stm32g4xx_hal-84a14da31523ed62.aemics_stm32g4xx_hal.3687932ae36d199e-cgu.0.rcgu.o): in function `cortex_m::interrupt::enable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m9interrupt6enable17ha286aac137960dd9E+0x3): undefined reference to `__cpsie' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libaemics_stm32g4xx_hal-84a14da31523ed62.rlib(aemics_stm32g4xx_hal-84a14da31523ed62.aemics_stm32g4xx_hal.3687932ae36d199e-cgu.0.rcgu.o): in function `cortex_m::interrupt::disable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m9interrupt7disable17h04ac4b44ce76035eE+0x3): undefined reference to `__cpsid' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [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" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcFgbIZ7/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libaemics_stm32g4xx_hal-84a14da31523ed62.rlib,libcast-844ca8303feec413.rlib,libembedded_dma-e2e5c6226524a0cf.rlib,libstable_deref_trait-e0539a55901017d1.rlib,libfdcan-521b4f863137e4ab.rlib,libstatic_assertions-4e9c5af2d6548371.rlib,libbitflags-93283d3c478dc447.rlib,libusbd_serial-3208471204714a17.rlib,libstm32_usbd-202eafd7b4412b3d.rlib,libusb_device-dd9dfec021199d5e.rlib,libpanic_semihosting-83fb51df4f4701b4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libstm32g4-f64648db9b2d02b6.rlib,libcortex_m_rt-48d9b5061c901a24.rlib,libembedded_hal-d58db324597a5d8a.rlib,libcortex_m-758c5cd1a38df723.rlib,libembedded_hal-429694b921844194.rlib,libnb-be9dbe5f50688488.rlib,libnb-6d347f14451295ec.rlib,libvolatile_register-f2472b891945ee22.rlib,libvcell-0375fb9c3f005d38.rlib,libbare_metal-3acf1fd045723b87.rlib,libvoid-ad26e97561fe40f6.rlib,libbare_metal-5787ff5f5b27cb6c.rlib,libfugit-122330164245eaab.rlib,libgcd-82e1d03ac7148f67.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcFgbIZ7/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/cortex-m-rt-495f136cdfc173f7/out" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/stm32g4-013d93e4c34443e3/out" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/defmt-d5b87594e8d48979/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/spi_transfer-3747b80629aec848" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/spi_transfer-3747b80629aec848.spi_transfer.dd252fd30597f928-cgu.0.rcgu.o: in function `cortex_m::register::primask::read': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m8register7primask4read17hf0751922f15bc7adE+0x3): undefined reference to `__primask_r' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/spi_transfer-3747b80629aec848.spi_transfer.dd252fd30597f928-cgu.0.rcgu.o: in function `cortex_m::interrupt::enable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m9interrupt6enable17h37a516f431a3abe7E+0x3): undefined reference to `__cpsie' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/spi_transfer-3747b80629aec848.spi_transfer.dd252fd30597f928-cgu.0.rcgu.o: in function `cortex_m::interrupt::disable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m9interrupt7disable17h58a865c1eeb6159fE+0x3): undefined reference to `__cpsid' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libaemics_stm32g4xx_hal-84a14da31523ed62.rlib(aemics_stm32g4xx_hal-84a14da31523ed62.aemics_stm32g4xx_hal.3687932ae36d199e-cgu.0.rcgu.o): in function `cortex_m::asm::delay': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m3asm5delay17hd30ca2c0ef9479b6E+0x7): undefined reference to `__delay' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcYS213D/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libaemics_stm32g4xx_hal-84a14da31523ed62.rlib,libcast-844ca8303feec413.rlib,libfugit-122330164245eaab.rlib,libgcd-82e1d03ac7148f67.rlib,libembedded_dma-e2e5c6226524a0cf.rlib,libstable_deref_trait-e0539a55901017d1.rlib,libfdcan-521b4f863137e4ab.rlib,libstatic_assertions-4e9c5af2d6548371.rlib,libbitflags-93283d3c478dc447.rlib,libusbd_serial-3208471204714a17.rlib,libstm32_usbd-202eafd7b4412b3d.rlib,libusb_device-dd9dfec021199d5e.rlib,libpanic_semihosting-83fb51df4f4701b4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libstm32g4-f64648db9b2d02b6.rlib,libcortex_m_rt-48d9b5061c901a24.rlib,libembedded_hal-d58db324597a5d8a.rlib,libcortex_m-758c5cd1a38df723.rlib,libembedded_hal-429694b921844194.rlib,libnb-be9dbe5f50688488.rlib,libnb-6d347f14451295ec.rlib,libvolatile_register-f2472b891945ee22.rlib,libvcell-0375fb9c3f005d38.rlib,libbare_metal-3acf1fd045723b87.rlib,libvoid-ad26e97561fe40f6.rlib,libbare_metal-5787ff5f5b27cb6c.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcYS213D/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/cortex-m-rt-495f136cdfc173f7/out" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/stm32g4-013d93e4c34443e3/out" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/defmt-d5b87594e8d48979/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/usb_print-dc8916d6658b3fb7" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/usb_print-dc8916d6658b3fb7.usb_print.18c52ebda7d25e98-cgu.0.rcgu.o: in function `cortex_m::register::primask::read': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m8register7primask4read17h8be36e70bb036d05E+0x3): undefined reference to `__primask_r' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/usb_print-dc8916d6658b3fb7.usb_print.18c52ebda7d25e98-cgu.0.rcgu.o: in function `cortex_m::interrupt::enable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m9interrupt6enable17hc17a6e0ca3c48fd9E+0x3): undefined reference to `__cpsie' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/usb_print-dc8916d6658b3fb7.usb_print.18c52ebda7d25e98-cgu.0.rcgu.o: in function `cortex_m::interrupt::disable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m9interrupt7disable17h31fb72f67ed4db9dE+0x3): undefined reference to `__cpsid' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libaemics_stm32g4xx_hal-84a14da31523ed62.rlib(aemics_stm32g4xx_hal-84a14da31523ed62.aemics_stm32g4xx_hal.3687932ae36d199e-cgu.0.rcgu.o): in function `cortex_m::asm::delay': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m3asm5delay17hd30ca2c0ef9479b6E+0x7): undefined reference to `__delay' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libaemics_stm32g4xx_hal-84a14da31523ed62.rlib(aemics_stm32g4xx_hal-84a14da31523ed62.aemics_stm32g4xx_hal.3687932ae36d199e-cgu.0.rcgu.o): in function `cortex_m::register::primask::read': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m8register7primask4read17h733a95b55f842451E+0x3): undefined reference to `__primask_r' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libaemics_stm32g4xx_hal-84a14da31523ed62.rlib(aemics_stm32g4xx_hal-84a14da31523ed62.aemics_stm32g4xx_hal.3687932ae36d199e-cgu.0.rcgu.o): in function `cortex_m::interrupt::enable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m9interrupt6enable17ha286aac137960dd9E+0x3): undefined reference to `__cpsie' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libaemics_stm32g4xx_hal-84a14da31523ed62.rlib(aemics_stm32g4xx_hal-84a14da31523ed62.aemics_stm32g4xx_hal.3687932ae36d199e-cgu.0.rcgu.o): in function `cortex_m::interrupt::disable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19:(.text._ZN8cortex_m9interrupt7disable17h04ac4b44ce76035eE+0x3): undefined reference to `__cpsid' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [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_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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/flash.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 449 | flash_sz: FlashSize, [INFO] [stdout] 450 | ) -> FlashWriter { [INFO] [stdout] | ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 450 | ) -> FlashWriter<'_, PAGE_SIZE_KB> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "53d4a97b26470b828eee72494ec0eb03463de1b899886050f63d7bd6d0f1ad43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53d4a97b26470b828eee72494ec0eb03463de1b899886050f63d7bd6d0f1ad43", kill_on_drop: false }` [INFO] [stdout] 53d4a97b26470b828eee72494ec0eb03463de1b899886050f63d7bd6d0f1ad43