Skip to content

Remove unsafe code from usb_serial_rtic example #786

Remove unsafe code from usb_serial_rtic example

Remove unsafe code from usb_serial_rtic example #786

Triggered via pull request January 23, 2025 11:19
@TnzeTnze
synchronize #528
Tnze:master
Status Success
Total duration 1m 0s
Artifacts

ci.yml

on: pull_request
Matrix: check
Fit to window
Zoom out
Zoom in

Annotations

55 warnings
check (stm32f100, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
check (stm32f100, stable): examples/exti.rs#L29
creating a mutable reference to mutable static is discouraged
check (stm32f100, stable): examples/exti.rs#L30
creating a mutable reference to mutable static is discouraged
check (stm32f100, stable): examples/exti.rs#L52
creating a mutable reference to mutable static is discouraged
check (stm32f100, stable): examples/exti.rs#L55
creating a mutable reference to mutable static is discouraged
check (stm32f100, stable): examples/spi-slave.rs#L86
creating a mutable reference to mutable static is discouraged
check (stm32f100, stable): examples/spi-slave.rs#L110
creating a mutable reference to mutable static is discouraged
check (stm32f100, stable)
`stm32f1xx-hal` (example "exti") generated 4 warnings
check (nightly, stm32f103, true)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
check (nightly, stm32f103, true): examples/serial-interrupt-idle.rs#L55
creating a mutable reference to mutable static is discouraged
check (nightly, stm32f103, true): examples/serial-interrupt-idle.rs#L56
creating a mutable reference to mutable static is discouraged
check (nightly, stm32f103, true): examples/serial-interrupt-idle.rs#L71
creating a mutable reference to mutable static is discouraged
check (nightly, stm32f103, true): examples/serial-interrupt-idle.rs#L79
creating a mutable reference to mutable static is discouraged
check (nightly, stm32f103, true)
`stm32f1xx-hal` (example "serial-interrupt-idle") generated 4 warnings
check (nightly, stm32f103, true): examples/spi-slave.rs#L110
creating a mutable reference to mutable static is discouraged
check (nightly, stm32f103, true)
`stm32f1xx-hal` (example "spi-slave") generated 2 warnings
check (nightly, stm32f103, true): examples/exti.rs#L30
creating a mutable reference to mutable static is discouraged
check (nightly, stm32f103, true): examples/exti.rs#L52
creating a mutable reference to mutable static is discouraged
check (nightly, stm32f103, true): examples/exti.rs#L55
creating a mutable reference to mutable static is discouraged
check (stm32f103, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
check (stm32f103, stable): examples/usb_serial_interrupt.rs#L61
creating a shared reference to mutable static is discouraged
check (stm32f103, stable): examples/usb_serial_interrupt.rs#L63
creating a shared reference to mutable static is discouraged
check (stm32f103, stable): examples/usb_serial_interrupt.rs#L96
creating a mutable reference to mutable static is discouraged
check (stm32f103, stable): examples/usb_serial_interrupt.rs#L97
creating a mutable reference to mutable static is discouraged
check (stm32f103, stable)
`stm32f1xx-hal` (example "usb_serial_interrupt") generated 4 warnings
check (stm32f103, stable): examples/serial-interrupt-idle.rs#L56
creating a mutable reference to mutable static is discouraged
check (stm32f103, stable): examples/serial-interrupt-idle.rs#L71
creating a mutable reference to mutable static is discouraged
check (stm32f103, stable): examples/serial-interrupt-idle.rs#L79
creating a mutable reference to mutable static is discouraged
check (stm32f103, stable)
`stm32f1xx-hal` (example "serial-interrupt-idle") generated 4 warnings
check (stm32f103, stable): examples/exti.rs#L30
creating a mutable reference to mutable static is discouraged
check (stm32f105, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
check (stm32f105, stable): examples/exti.rs#L29
creating a mutable reference to mutable static is discouraged
check (stm32f105, stable): examples/exti.rs#L30
creating a mutable reference to mutable static is discouraged
check (stm32f105, stable): examples/exti.rs#L52
creating a mutable reference to mutable static is discouraged
check (stm32f105, stable): examples/exti.rs#L55
creating a mutable reference to mutable static is discouraged
check (stm32f105, stable)
`stm32f1xx-hal` (example "exti") generated 4 warnings
check (stm32f105, stable): examples/spi-slave.rs#L110
creating a mutable reference to mutable static is discouraged
check (stm32f105, stable)
`stm32f1xx-hal` (example "spi-slave") generated 2 warnings
check (stm32f107, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
check (stm32f107, stable): examples/exti.rs#L29
creating a mutable reference to mutable static is discouraged
check (stm32f107, stable): examples/exti.rs#L30
creating a mutable reference to mutable static is discouraged
check (stm32f107, stable): examples/exti.rs#L52
creating a mutable reference to mutable static is discouraged
check (stm32f107, stable): examples/exti.rs#L55
creating a mutable reference to mutable static is discouraged
check (stm32f107, stable)
`stm32f1xx-hal` (example "exti") generated 4 warnings
check (stm32f107, stable): examples/spi-slave.rs#L110
creating a mutable reference to mutable static is discouraged
check (stm32f107, stable)
`stm32f1xx-hal` (example "spi-slave") generated 2 warnings
check (stm32f101, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
check (stm32f101, stable): examples/exti.rs#L29
creating a mutable reference to mutable static is discouraged
check (stm32f101, stable): examples/exti.rs#L30
creating a mutable reference to mutable static is discouraged
check (stm32f101, stable): examples/exti.rs#L52
creating a mutable reference to mutable static is discouraged
check (stm32f101, stable): examples/exti.rs#L55
creating a mutable reference to mutable static is discouraged
check (stm32f101, stable)
`stm32f1xx-hal` (example "exti") generated 4 warnings
check (stm32f101, stable): examples/spi-slave.rs#L110
creating a mutable reference to mutable static is discouraged
check (stm32f101, stable)
`stm32f1xx-hal` (example "spi-slave") generated 2 warnings
CI
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636