[INFO] fetching crate gihex-hc-sr04 0.1.5... [INFO] testing gihex-hc-sr04-0.1.5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate gihex-hc-sr04 0.1.5 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config [INFO] started tweaking crates.io crate gihex-hc-sr04 0.1.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate gihex-hc-sr04 0.1.5 [INFO] tweaked toml for crates.io crate gihex-hc-sr04 0.1.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gihex-hc-sr04 0.1.5 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 gihex-hc-sr04 0.1.5 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fugit-timer v0.1.3 [INFO] [stderr] Downloaded panic-semihosting v0.6.0 [INFO] [stderr] Downloaded rtic-core v1.0.0 [INFO] [stderr] Downloaded bxcan v0.7.0 [INFO] [stderr] Downloaded cortex-m-semihosting v0.5.0 [INFO] [stderr] Downloaded rtic-macros v2.0.1 [INFO] [stderr] Downloaded rtic v2.0.1 [INFO] [stderr] Downloaded stm32-usbd v0.6.0 [INFO] [stderr] Downloaded stm32f1xx-hal v0.10.0 [INFO] [stderr] Downloaded stm32f1 v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d453c656115c0bd6eec7faee15690fc1f5c7a7d57d190fad9920beade601115f [INFO] running `Command { std: "docker" "start" "-a" "d453c656115c0bd6eec7faee15690fc1f5c7a7d57d190fad9920beade601115f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d453c656115c0bd6eec7faee15690fc1f5c7a7d57d190fad9920beade601115f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d453c656115c0bd6eec7faee15690fc1f5c7a7d57d190fad9920beade601115f", kill_on_drop: false }` [INFO] [stdout] d453c656115c0bd6eec7faee15690fc1f5c7a7d57d190fad9920beade601115f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d7217789fb0c579fd2c5f05281a9c722667317c94b77cf9402e63ccddd5f18f7 [INFO] running `Command { std: "docker" "start" "-a" "d7217789fb0c579fd2c5f05281a9c722667317c94b77cf9402e63ccddd5f18f7", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling gihex-hc-sr04 v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "d7217789fb0c579fd2c5f05281a9c722667317c94b77cf9402e63ccddd5f18f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7217789fb0c579fd2c5f05281a9c722667317c94b77cf9402e63ccddd5f18f7", kill_on_drop: false }` [INFO] [stdout] d7217789fb0c579fd2c5f05281a9c722667317c94b77cf9402e63ccddd5f18f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ee0dfdc7e6a7c7743c59b2e845aa5191fdae069107366b0a50257c85c709058d [INFO] running `Command { std: "docker" "start" "-a" "ee0dfdc7e6a7c7743c59b2e845aa5191fdae069107366b0a50257c85c709058d", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling critical-section v1.1.2 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling stm32-usbd v0.6.0 [INFO] [stderr] Compiling stm32f1 v0.15.1 [INFO] [stderr] Compiling atomic-polyfill v1.0.3 [INFO] [stderr] Compiling usb-device v0.2.9 [INFO] [stderr] Compiling rtic v2.0.1 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling embedded-dma v0.2.0 [INFO] [stderr] Compiling bxcan v0.7.0 [INFO] [stderr] Compiling rtic-core v1.0.0 [INFO] [stderr] Compiling fugit-timer v0.1.3 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling panic-semihosting v0.6.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling rtic-macros v2.0.1 [INFO] [stderr] Compiling stm32f1xx-hal v0.10.0 [INFO] [stderr] Compiling gihex-hc-sr04 v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/basic.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | let echo_pin = unsafe { &mut *ECHO_PIN.as_mut_ptr() }; [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 mutable reference to mutable static [INFO] [stdout] --> examples/basic.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | let sensor = unsafe { &mut *SENSOR.as_mut_ptr() }; [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/basic.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | let echo_pin = unsafe { &mut *ECHO_PIN.as_mut_ptr() }; [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> examples/basic.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | let sensor = unsafe { &mut *SENSOR.as_mut_ptr() }; [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] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Peripherals` in module `rtic::export` [INFO] [stdout] --> examples/use_rtic.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[rtic::app(device=stm32f1xx_hal::pac)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `rtic::export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 30 + use crate::app::you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml::Peripherals; [INFO] [stdout] | [INFO] [stdout] 30 + use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] 30 + use stm32f1xx_hal::pac::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run` in module `rtic::export` [INFO] [stdout] --> examples/use_rtic.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[rtic::app(device=stm32f1xx_hal::pac)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `rtic::export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in module `rtic::export` [INFO] [stdout] --> examples/use_rtic.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[rtic::app(device=stm32f1xx_hal::pac)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `rtic::export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `interrupt` in `export` [INFO] [stdout] --> examples/use_rtic.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[rtic::app(device=stm32f1xx_hal::pac)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `interrupt` in `export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 30 + use crate::app::you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml::interrupt; [INFO] [stdout] | [INFO] [stdout] 30 + use stm32f1xx_hal::pac::interrupt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Peripherals` in `export` [INFO] [stdout] --> examples/use_rtic.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[rtic::app(device=stm32f1xx_hal::pac)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Peripherals` in `export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 30 + use crate::app::you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml::Peripherals; [INFO] [stdout] | [INFO] [stdout] 30 + use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] 30 + use stm32f1xx_hal::pac::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gihex-hc-sr04` (example "use_rtic") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/rustcS5HHpU/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libstm32f1xx_hal-54c97ac126ebc31d.rlib,libfugit_timer-cb7334871efcea61.rlib,libbxcan-331ce74d7f6a4717.rlib,libbitflags-e274cd04b58a060d.rlib,libstm32_usbd-046e0582dc8a20b3.rlib,libusb_device-096fcf31f07c69a9.rlib,libfugit-f994ca973e86bc5f.rlib,libgcd-a7b4536ef683d4c5.rlib,libembedded_dma-7704f126ef080c7a.rlib,libstable_deref_trait-4f99d761fb096bfe.rlib,libstm32f1-6534151c73cf3808.rlib,libcortex_m_rt-248e042b3f0f3dd4.rlib,libpanic_semihosting-f684b41584486a7b.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/{libgihex_hc_sr04-98ed739f60cf6925.rlib,libnum_traits-9287215edf6852d5.rlib,libcortex_m_semihosting-c67c24af9e00992f.rlib,libcortex_m-b4374fecf1a78ce4.rlib,libembedded_hal-cfb153918fff683d.rlib,libvoid-a979ba9217444c57.rlib,libnb-ebfe482cbff2bd98.rlib,libnb-4f140cd714494ed1.rlib,libvolatile_register-3a14d195d3ff8438.rlib,libvcell-7083687e25701ba1.rlib,libbare_metal-baebb978deb13bcb.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcS5HHpU/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/stm32f1-0997dd7750847933/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/basic-cc0f83698574f9ad" "-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/basic-cc0f83698574f9ad.basic.1a0b18159d8e855d-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_m8register7primask4read17h62f0b8403f06672fE+0x3): undefined reference to `__primask_r' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/basic-cc0f83698574f9ad.basic.1a0b18159d8e855d-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_m9interrupt6enable17hefb0f6f6a9000bdfE+0x3): undefined reference to `__cpsie' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/basic-cc0f83698574f9ad.basic.1a0b18159d8e855d-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_m9interrupt7disable17h9b8a154857a2949dE+0x3): undefined reference to `__cpsid' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libcortex_m_semihosting-c67c24af9e00992f.rlib(cortex_m_semihosting-c67c24af9e00992f.cortex_m_semihosting.d2c1c1168779aa36-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_m8register7primask4read17h5dde9bdce39c7ae8E+0x3): undefined reference to `__primask_r' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libcortex_m_semihosting-c67c24af9e00992f.rlib(cortex_m_semihosting-c67c24af9e00992f.cortex_m_semihosting.d2c1c1168779aa36-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_m9interrupt6enable17h675af75ae7cbc2eeE+0x3): undefined reference to `__cpsie' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libcortex_m_semihosting-c67c24af9e00992f.rlib(cortex_m_semihosting-c67c24af9e00992f.cortex_m_semihosting.d2c1c1168779aa36-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_m9interrupt7disable17ha3f10640b3652816E+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 `gihex-hc-sr04` (example "basic") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ee0dfdc7e6a7c7743c59b2e845aa5191fdae069107366b0a50257c85c709058d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee0dfdc7e6a7c7743c59b2e845aa5191fdae069107366b0a50257c85c709058d", kill_on_drop: false }` [INFO] [stdout] ee0dfdc7e6a7c7743c59b2e845aa5191fdae069107366b0a50257c85c709058d