[INFO] fetching crate aemics-stm32g4xx-hal 0.1.0... [INFO] testing aemics-stm32g4xx-hal-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate aemics-stm32g4xx-hal 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate aemics-stm32g4xx-hal 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ebc617b553d9d24bb486e2963876c6eed292dcb2439c443b15afa726e356d77 [INFO] running `Command { std: "docker" "start" "-a" "0ebc617b553d9d24bb486e2963876c6eed292dcb2439c443b15afa726e356d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ebc617b553d9d24bb486e2963876c6eed292dcb2439c443b15afa726e356d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ebc617b553d9d24bb486e2963876c6eed292dcb2439c443b15afa726e356d77", kill_on_drop: false }` [INFO] [stdout] 0ebc617b553d9d24bb486e2963876c6eed292dcb2439c443b15afa726e356d77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fda2944bcf4331a9d44c7479e8512b9337d78c3495045fcd4106c0973d8ee8c [INFO] running `Command { std: "docker" "start" "-a" "6fda2944bcf4331a9d44c7479e8512b9337d78c3495045fcd4106c0973d8ee8c", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling critical-section v1.1.2 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Compiling stm32g4 v0.15.1 [INFO] [stderr] Compiling stm32-usbd v0.6.0 [INFO] [stderr] Compiling usb-device v0.2.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling fdcan v0.2.0 [INFO] [stderr] Compiling embedded-dma v0.2.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling usbd-serial v0.1.1 [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 31.95s [INFO] running `Command { std: "docker" "inspect" "6fda2944bcf4331a9d44c7479e8512b9337d78c3495045fcd4106c0973d8ee8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fda2944bcf4331a9d44c7479e8512b9337d78c3495045fcd4106c0973d8ee8c", kill_on_drop: false }` [INFO] [stdout] 6fda2944bcf4331a9d44c7479e8512b9337d78c3495045fcd4106c0973d8ee8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0ce23e5e278fbe8d56a2474a13947858081f23c7c1fd61b7f88ba0aaa99bab2 [INFO] running `Command { std: "docker" "start" "-a" "e0ce23e5e278fbe8d56a2474a13947858081f23c7c1fd61b7f88ba0aaa99bab2", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling defmt v0.3.6 [INFO] [stderr] Compiling defmt-macros v0.3.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cortex-m-rtic v1.1.4 [INFO] [stderr] Compiling panic-probe v0.3.1 [INFO] [stderr] Compiling cortex-m-log v0.8.0 [INFO] [stderr] Compiling defmt-rtt v0.4.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling rtic-monotonic v1.0.0 [INFO] [stderr] Compiling rtic-core v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling panic-itm v0.4.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling spin v0.9.8 [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 hash32 v0.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rtic-syntax v1.0.3 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling defmt-parser v0.3.4 [INFO] [stderr] Compiling cortex-m-rtic-macros v1.1.6 [INFO] [stderr] Compiling embedded-sdmmc v0.7.0 [INFO] [stderr] Compiling aemics-stm32g4xx-hal v0.1.0 (/opt/rustwide/workdir) [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/b83b707f97d809763b7861afa7638871f3339a33/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-689ca45c0c8af91f.so, /opt/rustwide/rustup-home/toolchains/b83b707f97d809763b7861afa7638871f3339a33/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-689ca45c0c8af91f.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] [stderr] error: could not compile `aemics-stm32g4xx-hal` (example "pwm") due to 1 previous error [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/b83b707f97d809763b7861afa7638871f3339a33/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-689ca45c0c8af91f.so, /opt/rustwide/rustup-home/toolchains/b83b707f97d809763b7861afa7638871f3339a33/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-689ca45c0c8af91f.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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [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/b83b707f97d809763b7861afa7638871f3339a33/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-689ca45c0c8af91f.so, /opt/rustwide/rustup-home/toolchains/b83b707f97d809763b7861afa7638871f3339a33/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-689ca45c0c8af91f.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] [stderr] error: could not compile `aemics-stm32g4xx-hal` (example "i2c_transaction") due to 1 previous error [INFO] [stderr] error: could not compile `aemics-stm32g4xx-hal` (example "i2c") due to 1 previous error [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] 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] [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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc8YjWwY/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/rustc8YjWwY/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.baee5bbb7706c962-cgu.0.rcgu.o:(cortex_m::register::primask::read::h52f63dc51696759d) [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.baee5bbb7706c962-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h6fb8ab996c1c49c4) [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.baee5bbb7706c962-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h4541f2e28bb97928) [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/rustc8wC0N1/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/rustc8wC0N1/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.8741693fdddaef47-cgu.0.rcgu.o:(cortex_m::register::primask::read::h6a195f99395a8b99) [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.8741693fdddaef47-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h21e77b716b832517) [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.8741693fdddaef47-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h5719ef7911db5545) [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/rustcyjKRFF/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/rustcyjKRFF/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_in_place-4735d06b7fe218c7" "-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_in_place-4735d06b7fe218c7.spi_transfer_in_place.2165f12e8b8b12ff-cgu.0.rcgu.o:(cortex_m::register::primask::read::h002caec0ab5bef52) [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_in_place-4735d06b7fe218c7.spi_transfer_in_place.2165f12e8b8b12ff-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h1ba1af8b8d6e3455) [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_in_place-4735d06b7fe218c7.spi_transfer_in_place.2165f12e8b8b12ff-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h26fe21ce205e5599) [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.20ed41ebbff43c52-cgu.0.rcgu.o:(cortex_m::asm::delay::h6887c4ecb03f7c37) 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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustckMo6JM/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,libvolatile_register-de6281d3b8030dcd,libvcell-0c4b6b76848ddf4c,libbare_metal-00b6589630d20e2a,libvoid-0b9a59cbdc169960,libbare_metal-d951df9b974e0bfc,libnb-3a1ed06eddb576bd}.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/rustckMo6JM/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/timer_countdown-2d4cf3fa0dfeaea6" "-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/timer_countdown-2d4cf3fa0dfeaea6.timer_countdown.ef6a39ad72ef8fd8-cgu.0.rcgu.o:(cortex_m::register::primask::read::h422d81a86f1e6806) [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/timer_countdown-2d4cf3fa0dfeaea6.timer_countdown.ef6a39ad72ef8fd8-cgu.0.rcgu.o:(cortex_m::interrupt::enable::hb2afb6539b2ac252) [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/timer_countdown-2d4cf3fa0dfeaea6.timer_countdown.ef6a39ad72ef8fd8-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h6b38f904b4c82764) [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] [stderr] error: could not compile `aemics-stm32g4xx-hal` (example "spi_transfer_in_place") due to 1 previous error [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" "/tmp/rustc2we8zA/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/rustc2we8zA/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.20ed41ebbff43c52-cgu.0.rcgu.o:(cortex_m::asm::delay::h6887c4ecb03f7c37) 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.20ed41ebbff43c52-cgu.0.rcgu.o:(cortex_m::register::primask::read::hda776f880a88321e) 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.19022c418d2e9d47-cgu.0.rcgu.o:(cortex_m::register::primask::read::h94ff49f60ccd5438) [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.20ed41ebbff43c52-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h8bd4e2b54134fcf9) 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.19022c418d2e9d47-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h6ea764773cd2f0d3) [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.20ed41ebbff43c52-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h7678e5587300d397) 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.19022c418d2e9d47-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h2a392c5e5a3d8d82) [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_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/rustcAph8td/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/rustcAph8td/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.2255302cda6bd915-cgu.0.rcgu.o:(cortex_m::register::primask::read::h5276171265d9aad3) [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.2255302cda6bd915-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h07f9213ab7e70eab) [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.2255302cda6bd915-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h97967c699c3988f7) [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.20ed41ebbff43c52-cgu.0.rcgu.o:(cortex_m::asm::delay::h6887c4ecb03f7c37) 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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustck8lL4F/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/rustck8lL4F/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/led_interrupt-db7a2b8ad2084d8b" "-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.20ed41ebbff43c52-cgu.0.rcgu.o:(cortex_m::asm::delay::h6887c4ecb03f7c37) in archive /opt/rustwide/target/debug/deps/libaemics_stm32g4xx_hal-3c35006fa29c623c.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __wfi [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/led_interrupt-db7a2b8ad2084d8b.led_interrupt.8e9c3a970244b13d-cgu.0.rcgu.o:(cortex_m::asm::wfi::h27239638d5bfb644) [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] >>> /opt/rustwide/target/debug/examples/led_interrupt-db7a2b8ad2084d8b.led_interrupt.8e9c3a970244b13d-cgu.0.rcgu.o:(cortex_m::register::primask::read::hbc51802dcfc0c0d2) [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/led_interrupt-db7a2b8ad2084d8b.led_interrupt.8e9c3a970244b13d-cgu.0.rcgu.o:(cortex_m::interrupt::enable::he45b05b738d53325) [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/led_interrupt-db7a2b8ad2084d8b.led_interrupt.8e9c3a970244b13d-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h923caf8c0ce385b6) [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 "led_interrupt") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcfxnO3y/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/rustcfxnO3y/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.1a94b2632b07ca33-cgu.0.rcgu.o:(cortex_m::register::primask::read::hbf2201f3c65025f0) [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.20ed41ebbff43c52-cgu.0.rcgu.o:(cortex_m::register::primask::read::hda776f880a88321e) 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.1a94b2632b07ca33-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h60e7c6a776f97153) [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.20ed41ebbff43c52-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h8bd4e2b54134fcf9) 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.1a94b2632b07ca33-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h2b2aa672f6fdfb7f) [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.20ed41ebbff43c52-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h7678e5587300d397) 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.20ed41ebbff43c52-cgu.0.rcgu.o:(cortex_m::asm::delay::h6887c4ecb03f7c37) 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" "e0ce23e5e278fbe8d56a2474a13947858081f23c7c1fd61b7f88ba0aaa99bab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0ce23e5e278fbe8d56a2474a13947858081f23c7c1fd61b7f88ba0aaa99bab2", kill_on_drop: false }` [INFO] [stdout] e0ce23e5e278fbe8d56a2474a13947858081f23c7c1fd61b7f88ba0aaa99bab2