[INFO] fetching crate bluepill-usbcdc 0.1.0... [INFO] testing bluepill-usbcdc-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate bluepill-usbcdc 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate bluepill-usbcdc 0.1.0 [INFO] finished tweaking crates.io crate bluepill-usbcdc 0.1.0 [INFO] tweaked toml for crates.io crate bluepill-usbcdc 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bluepill-usbcdc 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d94672b833f6e3cbfe524ba1e208e4cdf9dd6a994b1dde83b8af2c7ec14212f5 [INFO] running `Command { std: "docker" "start" "-a" "d94672b833f6e3cbfe524ba1e208e4cdf9dd6a994b1dde83b8af2c7ec14212f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d94672b833f6e3cbfe524ba1e208e4cdf9dd6a994b1dde83b8af2c7ec14212f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d94672b833f6e3cbfe524ba1e208e4cdf9dd6a994b1dde83b8af2c7ec14212f5", kill_on_drop: false }` [INFO] [stdout] d94672b833f6e3cbfe524ba1e208e4cdf9dd6a994b1dde83b8af2c7ec14212f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ce8bb66f558e333b8b78c952b524f46afd7fb7ba4b166f5b33154659c834e01 [INFO] running `Command { std: "docker" "start" "-a" "4ce8bb66f558e333b8b78c952b524f46afd7fb7ba4b166f5b33154659c834e01", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling bluepill-usbcdc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::Config::new() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::Config::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c: In function '_Error_Handler': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c:9:28: warning: unused parameter 'file' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c:9:38: warning: unused parameter 'line' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c: In function '_Error_Handler': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c:9:28: warning: unused parameter 'file' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c:9:38: warning: unused parameter 'line' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c: In function 'USBD_CDC_Init': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c:476:40: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 476 | uint8_t cfgidx) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~^~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c: In function 'USBD_CDC_DeInit': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c:564:42: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 564 | uint8_t cfgidx) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~^~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c: In function 'USBD_CDC_DataIn': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c:664:68: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 664 | static uint8_t USBD_CDC_DataIn (USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc_if.c: In function 'CDC_Control_FS': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc_if.c:185:54: warning: unused parameter 'pbuf' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 185 | static int8_t CDC_Control_FS (uint8_t cmd, uint8_t* pbuf, uint16_t length) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc_if.c:185:69: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 185 | static int8_t CDC_Control_FS (uint8_t cmd, uint8_t* pbuf, uint16_t length) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c: In function 'USBD_static_malloc': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c:717:35: warning: unused parameter 'size' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 717 | void *USBD_static_malloc(uint32_t size) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c: In function 'USBD_static_free': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c:728:29: warning: unused parameter 'p' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 728 | void USBD_static_free(void *p) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~^ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c: In function 'HAL_PCDEx_SetConnectionState': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c:739:54: warning: unused parameter 'hpcd' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 739 | void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c: In function 'USBD_RunTestMode': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:213:60: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 213 | USBD_StatusTypeDef USBD_RunTestMode (USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c: In function 'USBD_LL_IsoINIncomplete': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:509:65: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 509 | USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:509:79: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 509 | USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c: In function 'USBD_LL_IsoOUTIncomplete': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:520:66: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 520 | USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:520:80: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 520 | USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c: In function 'USBD_LL_DevConnected': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:531:62: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 531 | USBD_StatusTypeDef USBD_LL_DevConnected(USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.c: In function 'USBD_CtlError': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.c:717:51: warning: unused parameter 'req' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 717 | USBD_SetupReqTypedef *req) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_DeviceDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:189:56: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 189 | uint8_t * USBD_FS_DeviceDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_LangIDStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:202:59: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 202 | uint8_t * USBD_FS_LangIDStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ProductStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:78:36: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 78 | #define USBD_PRODUCT_STRING_FS "STM32 Virtual ComPort" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:219:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 219 | USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: In file included from c/usbd_core.h:40, [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: from c/usbd_desc.c:51: [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:78:36: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 78 | #define USBD_PRODUCT_STRING_FS "STM32 Virtual ComPort" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:223:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 223 | USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ManufacturerStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:76:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 76 | #define USBD_MANUFACTURER_STRING "STMicroelectronics" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:237:19: note: in expansion of macro 'USBD_MANUFACTURER_STRING' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 237 | USBD_GetString (USBD_MANUFACTURER_STRING, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:235:65: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 235 | uint8_t * USBD_FS_ManufacturerStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_SerialStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:79:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 79 | #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:252:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 252 | USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:79:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 79 | #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:256:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 256 | USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ConfigStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:80:42: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 80 | #define USBD_CONFIGURATION_STRING_FS "CDC Config" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:272:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 272 | USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:80:42: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 80 | #define USBD_CONFIGURATION_STRING_FS "CDC Config" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:276:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 276 | USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_InterfaceStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:81:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 81 | #define USBD_INTERFACE_STRING_FS "CDC Interface" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:292:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 292 | USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:81:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 81 | #define USBD_INTERFACE_STRING_FS "CDC Interface" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:296:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 296 | USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usb_device.c: In function 'MX_USB_DEVICE_Init': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usb_device.c:64:16: warning: initialization of 'uint8_t *' {aka 'unsigned char *'} from incompatible pointer type 'USBD_HandleTypeDef *' {aka 'struct _USBD_HandleTypeDef *'} [-Wincompatible-pointer-types] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 64 | uint8_t *p = &hUsbDeviceFS; [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usb_device.c:64:12: warning: unused variable 'p' [-Wunused-variable] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 64 | uint8_t *p = &hUsbDeviceFS; [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^ [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.79s [INFO] running `Command { std: "docker" "inspect" "4ce8bb66f558e333b8b78c952b524f46afd7fb7ba4b166f5b33154659c834e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ce8bb66f558e333b8b78c952b524f46afd7fb7ba4b166f5b33154659c834e01", kill_on_drop: false }` [INFO] [stdout] 4ce8bb66f558e333b8b78c952b524f46afd7fb7ba4b166f5b33154659c834e01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb1a01e6e941675d2c321e99616cd4becfea0c55e18aa06b691c3ef41e218145 [INFO] running `Command { std: "docker" "start" "-a" "bb1a01e6e941675d2c321e99616cd4becfea0c55e18aa06b691c3ef41e218145", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c: In function '_Error_Handler': [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::Config::new() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c:9:28: warning: unused parameter 'file' [-Wunused-parameter] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::Config::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c:9:38: warning: unused parameter 'line' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c: In function '_Error_Handler': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c:9:28: warning: unused parameter 'file' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c:9:38: warning: unused parameter 'line' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c: In function 'USBD_CDC_Init': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c:476:40: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 476 | uint8_t cfgidx) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~^~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c: In function 'USBD_CDC_DeInit': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c:564:42: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 564 | uint8_t cfgidx) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~^~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c: In function 'USBD_CDC_DataIn': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c:664:68: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 664 | static uint8_t USBD_CDC_DataIn (USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc_if.c: In function 'CDC_Control_FS': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc_if.c:185:54: warning: unused parameter 'pbuf' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 185 | static int8_t CDC_Control_FS (uint8_t cmd, uint8_t* pbuf, uint16_t length) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc_if.c:185:69: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 185 | static int8_t CDC_Control_FS (uint8_t cmd, uint8_t* pbuf, uint16_t length) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c: In function 'USBD_static_malloc': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c:717:35: warning: unused parameter 'size' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 717 | void *USBD_static_malloc(uint32_t size) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c: In function 'USBD_static_free': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c:728:29: warning: unused parameter 'p' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 728 | void USBD_static_free(void *p) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~^ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c: In function 'HAL_PCDEx_SetConnectionState': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c:739:54: warning: unused parameter 'hpcd' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 739 | void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c: In function 'USBD_RunTestMode': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:213:60: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 213 | USBD_StatusTypeDef USBD_RunTestMode (USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c: In function 'USBD_LL_IsoINIncomplete': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:509:65: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 509 | USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:509:79: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 509 | USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c: In function 'USBD_LL_IsoOUTIncomplete': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:520:66: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 520 | USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:520:80: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 520 | USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c: In function 'USBD_LL_DevConnected': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:531:62: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 531 | USBD_StatusTypeDef USBD_LL_DevConnected(USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.c: In function 'USBD_CtlError': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.c:717:51: warning: unused parameter 'req' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 717 | USBD_SetupReqTypedef *req) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_DeviceDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:189:56: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 189 | uint8_t * USBD_FS_DeviceDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_LangIDStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:202:59: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 202 | uint8_t * USBD_FS_LangIDStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ProductStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:78:36: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 78 | #define USBD_PRODUCT_STRING_FS "STM32 Virtual ComPort" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:219:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 219 | USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: In file included from c/usbd_core.h:40, [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: from c/usbd_desc.c:51: [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:78:36: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 78 | #define USBD_PRODUCT_STRING_FS "STM32 Virtual ComPort" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:223:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 223 | USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ManufacturerStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:76:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 76 | #define USBD_MANUFACTURER_STRING "STMicroelectronics" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:237:19: note: in expansion of macro 'USBD_MANUFACTURER_STRING' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 237 | USBD_GetString (USBD_MANUFACTURER_STRING, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:235:65: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 235 | uint8_t * USBD_FS_ManufacturerStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_SerialStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:79:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 79 | #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:252:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 252 | USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:79:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 79 | #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:256:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 256 | USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ConfigStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:80:42: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 80 | #define USBD_CONFIGURATION_STRING_FS "CDC Config" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:272:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 272 | USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:80:42: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 80 | #define USBD_CONFIGURATION_STRING_FS "CDC Config" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:276:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 276 | USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_InterfaceStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:81:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 81 | #define USBD_INTERFACE_STRING_FS "CDC Interface" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:292:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 292 | USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:81:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 81 | #define USBD_INTERFACE_STRING_FS "CDC Interface" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:296:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 296 | USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usb_device.c: In function 'MX_USB_DEVICE_Init': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usb_device.c:64:16: warning: initialization of 'uint8_t *' {aka 'unsigned char *'} from incompatible pointer type 'USBD_HandleTypeDef *' {aka 'struct _USBD_HandleTypeDef *'} [-Wincompatible-pointer-types] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 64 | uint8_t *p = &hUsbDeviceFS; [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usb_device.c:64:12: warning: unused variable 'p' [-Wunused-variable] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 64 | uint8_t *p = &hUsbDeviceFS; [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^ [INFO] [stderr] Compiling bluepill-usbcdc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcDQEPk9/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lusbcdc.a" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*,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-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcDQEPk9/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/bluepill-usbcdc-9513ce05cc299b64/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/bluepill_usbcdc-e536ce98251d4458" "-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: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(main.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(main.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(stm32f1xx_hal.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(stm32f1xx_hal_cortex.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(stm32f1xx_hal_gpio.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(stm32f1xx_hal_pcd.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(stm32f1xx_hal_pcd_ex.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(stm32f1xx_ll_usb.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(system_stm32f1xx.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(usbd_cdc.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(usbd_cdc_if.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(usbd_conf.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(usbd_core.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(usbd_ctlreq.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(usbd_desc.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(usb_device.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(usbd_ioreq.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(stm32f1xx_hal_rcc.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(stm32f1xx_hal_rcc_ex.o) is incompatible with elf64-x86-64 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/debug/build/bluepill-usbcdc-9513ce05cc299b64/out/libusbcdc.a.a(stm32f1xx_it.o) is incompatible with elf64-x86-64 [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c: In function '_Error_Handler': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c:9:28: warning: unused parameter 'file' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c:9:38: warning: unused parameter 'line' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c: In function '_Error_Handler': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c:9:28: warning: unused parameter 'file' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/main.c:9:38: warning: unused parameter 'line' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c: In function 'USBD_CDC_Init': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c:476:40: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 476 | uint8_t cfgidx) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~^~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c: In function 'USBD_CDC_DeInit': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c:564:42: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 564 | uint8_t cfgidx) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~^~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c: In function 'USBD_CDC_DataIn': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc.c:664:68: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 664 | static uint8_t USBD_CDC_DataIn (USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc_if.c: In function 'CDC_Control_FS': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc_if.c:185:54: warning: unused parameter 'pbuf' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 185 | static int8_t CDC_Control_FS (uint8_t cmd, uint8_t* pbuf, uint16_t length) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_cdc_if.c:185:69: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 185 | static int8_t CDC_Control_FS (uint8_t cmd, uint8_t* pbuf, uint16_t length) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c: In function 'USBD_static_malloc': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c:717:35: warning: unused parameter 'size' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 717 | void *USBD_static_malloc(uint32_t size) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c: In function 'USBD_static_free': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c:728:29: warning: unused parameter 'p' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 728 | void USBD_static_free(void *p) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~^ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c: In function 'HAL_PCDEx_SetConnectionState': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_conf.c:739:54: warning: unused parameter 'hpcd' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 739 | void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c: In function 'USBD_RunTestMode': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:213:60: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 213 | USBD_StatusTypeDef USBD_RunTestMode (USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c: In function 'USBD_LL_IsoINIncomplete': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:509:65: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 509 | USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:509:79: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 509 | USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c: In function 'USBD_LL_IsoOUTIncomplete': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:520:66: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 520 | USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:520:80: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 520 | USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c: In function 'USBD_LL_DevConnected': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_core.c:531:62: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 531 | USBD_StatusTypeDef USBD_LL_DevConnected(USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.c: In function 'USBD_CtlError': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.c:717:51: warning: unused parameter 'req' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 717 | USBD_SetupReqTypedef *req) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_DeviceDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:189:56: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 189 | uint8_t * USBD_FS_DeviceDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_LangIDStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:202:59: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 202 | uint8_t * USBD_FS_LangIDStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ProductStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:78:36: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 78 | #define USBD_PRODUCT_STRING_FS "STM32 Virtual ComPort" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:219:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 219 | USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: In file included from c/usbd_core.h:40, [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: from c/usbd_desc.c:51: [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:78:36: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 78 | #define USBD_PRODUCT_STRING_FS "STM32 Virtual ComPort" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:223:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 223 | USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ManufacturerStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:76:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 76 | #define USBD_MANUFACTURER_STRING "STMicroelectronics" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:237:19: note: in expansion of macro 'USBD_MANUFACTURER_STRING' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 237 | USBD_GetString (USBD_MANUFACTURER_STRING, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:235:65: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 235 | uint8_t * USBD_FS_ManufacturerStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_SerialStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:79:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 79 | #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:252:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 252 | USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:79:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 79 | #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:256:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 256 | USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ConfigStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:80:42: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 80 | #define USBD_CONFIGURATION_STRING_FS "CDC Config" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:272:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 272 | USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:80:42: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 80 | #define USBD_CONFIGURATION_STRING_FS "CDC Config" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:276:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 276 | USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c: In function 'USBD_FS_InterfaceStrDescriptor': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:81:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 81 | #define USBD_INTERFACE_STRING_FS "CDC Interface" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:292:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 292 | USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:81:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 81 | #define USBD_INTERFACE_STRING_FS "CDC Interface" [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | | [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_desc.c:296:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 296 | USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usbd_ctlreq.h:93:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usb_device.c: In function 'MX_USB_DEVICE_Init': [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usb_device.c:64:16: warning: initialization of 'uint8_t *' {aka 'unsigned char *'} from incompatible pointer type 'USBD_HandleTypeDef *' {aka 'struct _USBD_HandleTypeDef *'} [-Wincompatible-pointer-types] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 64 | uint8_t *p = &hUsbDeviceFS; [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^ [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: c/usb_device.c:64:12: warning: unused variable 'p' [-Wunused-variable] [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: 64 | uint8_t *p = &hUsbDeviceFS; [INFO] [stderr] warning: bluepill-usbcdc@0.1.0: | ^ [INFO] [stderr] error: could not compile `bluepill-usbcdc` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "bb1a01e6e941675d2c321e99616cd4becfea0c55e18aa06b691c3ef41e218145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb1a01e6e941675d2c321e99616cd4becfea0c55e18aa06b691c3ef41e218145", kill_on_drop: false }` [INFO] [stdout] bb1a01e6e941675d2c321e99616cd4becfea0c55e18aa06b691c3ef41e218145