[INFO] fetching crate bluepill-usbhid 0.1.0... [INFO] testing bluepill-usbhid-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bluepill-usbhid 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate bluepill-usbhid 0.1.0 [INFO] finished tweaking crates.io crate bluepill-usbhid 0.1.0 [INFO] tweaked toml for crates.io crate bluepill-usbhid 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bluepill-usbhid 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--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] Blocking waiting for file lock on package cache [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 065ff96962612b18bb3ff6178b2d662214e473d73cd39a10b7d60dddf4920c5c [INFO] running `Command { std: "docker" "start" "-a" "065ff96962612b18bb3ff6178b2d662214e473d73cd39a10b7d60dddf4920c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "065ff96962612b18bb3ff6178b2d662214e473d73cd39a10b7d60dddf4920c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "065ff96962612b18bb3ff6178b2d662214e473d73cd39a10b7d60dddf4920c5c", kill_on_drop: false }` [INFO] [stdout] 065ff96962612b18bb3ff6178b2d662214e473d73cd39a10b7d60dddf4920c5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] dd97fe61ac470c6d669415d8a83c40dbaad1db60826d9f80ab071dd6da215304 [INFO] running `Command { std: "docker" "start" "-a" "dd97fe61ac470c6d669415d8a83c40dbaad1db60826d9f80ab071dd6da215304", 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-usbhid 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-usbhid@0.1.0: c/main.c: In function '_Error_Handler': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/main.c:9:28: warning: unused parameter 'file' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/main.c:9:38: warning: unused parameter 'line' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c: In function 'USBD_static_malloc': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c:716:35: warning: unused parameter 'size' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 716 | void *USBD_static_malloc(uint32_t size) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c: In function 'USBD_static_free': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c:727:29: warning: unused parameter 'p' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 727 | void USBD_static_free(void *p) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~^ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c: In function 'HAL_PCDEx_SetConnectionState': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c:738:54: warning: unused parameter 'hpcd' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 738 | void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c: In function 'USBD_RunTestMode': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:213:60: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 213 | USBD_StatusTypeDef USBD_RunTestMode (USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c: In function 'USBD_LL_IsoINIncomplete': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:509:65: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 509 | USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:509:79: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 509 | USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c: In function 'USBD_LL_IsoOUTIncomplete': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:520:66: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 520 | USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:520:80: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 520 | USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c: In function 'USBD_LL_DevConnected': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:531:62: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 531 | USBD_StatusTypeDef USBD_LL_DevConnected(USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_ctlreq.c: In function 'USBD_CtlError': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_ctlreq.c:717:51: warning: unused parameter 'req' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 717 | USBD_SetupReqTypedef *req) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c:133:1: warning: missing initializer for field 'GetUsrStrDescriptor' of 'USBD_ClassTypeDef' {aka 'struct _Device_cb'} [-Wmissing-field-initializers] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 133 | }; [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: In file included from c/usbd_ioreq.h:37, [INFO] [stderr] warning: bluepill-usbhid@0.1.0: from c/usbd_customhid.h:37, [INFO] [stderr] warning: bluepill-usbhid@0.1.0: from c/usbd_customhid.c:49: [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_def.h:180:15: note: 'GetUsrStrDescriptor' declared here [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 180 | uint8_t *(*GetUsrStrDescriptor)(struct _USBD_HandleTypeDef *pdev ,uint8_t index, uint16_t *length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_Init': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c:240:40: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 240 | uint8_t cfgidx) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DeInit': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c:284:42: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 284 | uint8_t cfgidx) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DataIn': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c:441:39: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 441 | uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DataOut': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c:460:39: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 460 | uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_DeviceDescriptor': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:189:56: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 189 | uint8_t * USBD_FS_DeviceDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_LangIDStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:202:59: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 202 | uint8_t * USBD_FS_LangIDStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ProductStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 78 | #define USBD_PRODUCT_STRING_FS "STM32 Custom Human interface" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:219:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 219 | USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: In file included from c/usbd_core.h:40, [INFO] [stderr] warning: bluepill-usbhid@0.1.0: from c/usbd_desc.c:51: [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 78 | #define USBD_PRODUCT_STRING_FS "STM32 Custom Human interface" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:223:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 223 | USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ManufacturerStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 76 | #define USBD_MANUFACTURER_STRING "STMicroelectronics" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:237:19: note: in expansion of macro 'USBD_MANUFACTURER_STRING' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 237 | USBD_GetString (USBD_MANUFACTURER_STRING, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:235:65: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 235 | uint8_t * USBD_FS_ManufacturerStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_SerialStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 79 | #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:252:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 252 | USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 79 | #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:256:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 256 | USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ConfigStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 80 | #define USBD_CONFIGURATION_STRING_FS "Custom HID Config" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:272:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 272 | USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 80 | #define USBD_CONFIGURATION_STRING_FS "Custom HID Config" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:276:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 276 | USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_InterfaceStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 81 | #define USBD_INTERFACE_STRING_FS "Custom HID Interface" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:292:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 292 | USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 81 | #define USBD_INTERFACE_STRING_FS "Custom HID Interface" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:296:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 296 | USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.42s [INFO] running `Command { std: "docker" "inspect" "dd97fe61ac470c6d669415d8a83c40dbaad1db60826d9f80ab071dd6da215304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd97fe61ac470c6d669415d8a83c40dbaad1db60826d9f80ab071dd6da215304", kill_on_drop: false }` [INFO] [stdout] dd97fe61ac470c6d669415d8a83c40dbaad1db60826d9f80ab071dd6da215304 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c505acca46dbddf96edcd6be84a3e6e0ab6fe0ed337a3bd2cd13a2ae93e6a146 [INFO] running `Command { std: "docker" "start" "-a" "c505acca46dbddf96edcd6be84a3e6e0ab6fe0ed337a3bd2cd13a2ae93e6a146", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/main.c: In function '_Error_Handler': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/main.c:9:28: warning: unused parameter 'file' [-Wunused-parameter] [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-usbhid@0.1.0: 9 | void _Error_Handler(char * file, int line) [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-usbhid@0.1.0: | ~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/main.c:9:38: warning: unused parameter 'line' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c: In function 'USBD_static_malloc': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c:716:35: warning: unused parameter 'size' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 716 | void *USBD_static_malloc(uint32_t size) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c: In function 'USBD_static_free': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c:727:29: warning: unused parameter 'p' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 727 | void USBD_static_free(void *p) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~^ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c: In function 'HAL_PCDEx_SetConnectionState': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c:738:54: warning: unused parameter 'hpcd' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 738 | void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c: In function 'USBD_RunTestMode': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:213:60: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 213 | USBD_StatusTypeDef USBD_RunTestMode (USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c: In function 'USBD_LL_IsoINIncomplete': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:509:65: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 509 | USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:509:79: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 509 | USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c: In function 'USBD_LL_IsoOUTIncomplete': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:520:66: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 520 | USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:520:80: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 520 | USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c: In function 'USBD_LL_DevConnected': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:531:62: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 531 | USBD_StatusTypeDef USBD_LL_DevConnected(USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_ctlreq.c: In function 'USBD_CtlError': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_ctlreq.c:717:51: warning: unused parameter 'req' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 717 | USBD_SetupReqTypedef *req) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c:133:1: warning: missing initializer for field 'GetUsrStrDescriptor' of 'USBD_ClassTypeDef' {aka 'struct _Device_cb'} [-Wmissing-field-initializers] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 133 | }; [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: In file included from c/usbd_ioreq.h:37, [INFO] [stderr] warning: bluepill-usbhid@0.1.0: from c/usbd_customhid.h:37, [INFO] [stderr] warning: bluepill-usbhid@0.1.0: from c/usbd_customhid.c:49: [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_def.h:180:15: note: 'GetUsrStrDescriptor' declared here [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 180 | uint8_t *(*GetUsrStrDescriptor)(struct _USBD_HandleTypeDef *pdev ,uint8_t index, uint16_t *length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_Init': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c:240:40: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 240 | uint8_t cfgidx) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DeInit': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c:284:42: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 284 | uint8_t cfgidx) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DataIn': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c:441:39: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 441 | uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DataOut': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c:460:39: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 460 | uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_DeviceDescriptor': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:189:56: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 189 | uint8_t * USBD_FS_DeviceDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_LangIDStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:202:59: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 202 | uint8_t * USBD_FS_LangIDStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ProductStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 78 | #define USBD_PRODUCT_STRING_FS "STM32 Custom Human interface" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:219:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 219 | USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: In file included from c/usbd_core.h:40, [INFO] [stderr] warning: bluepill-usbhid@0.1.0: from c/usbd_desc.c:51: [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 78 | #define USBD_PRODUCT_STRING_FS "STM32 Custom Human interface" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:223:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 223 | USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ManufacturerStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 76 | #define USBD_MANUFACTURER_STRING "STMicroelectronics" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:237:19: note: in expansion of macro 'USBD_MANUFACTURER_STRING' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 237 | USBD_GetString (USBD_MANUFACTURER_STRING, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:235:65: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 235 | uint8_t * USBD_FS_ManufacturerStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_SerialStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 79 | #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:252:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 252 | USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 79 | #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:256:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 256 | USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ConfigStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 80 | #define USBD_CONFIGURATION_STRING_FS "Custom HID Config" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:272:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 272 | USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 80 | #define USBD_CONFIGURATION_STRING_FS "Custom HID Config" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:276:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 276 | USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_InterfaceStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 81 | #define USBD_INTERFACE_STRING_FS "Custom HID Interface" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:292:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 292 | USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 81 | #define USBD_INTERFACE_STRING_FS "Custom HID Interface" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:296:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 296 | USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] Compiling bluepill-usbhid v0.1.0 (/opt/rustwide/workdir) [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/rustcISgCYO/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lusbcdc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*,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-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcISgCYO/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/bluepill-usbhid-88723f34ad4f7f7a/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/deps/bluepill_usbhid-3694452afca31ee6" "-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: skipping incompatible /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/bluepill-usbhid-88723f34ad4f7f7a/out/libusbcdc.a when searching for -lusbcdc [INFO] [stdout] /usr/bin/ld: cannot find -lusbcdc: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/main.c: In function '_Error_Handler': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/main.c:9:28: warning: unused parameter 'file' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/main.c:9:38: warning: unused parameter 'line' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 9 | void _Error_Handler(char * file, int line) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c: In function 'USBD_static_malloc': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c:716:35: warning: unused parameter 'size' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 716 | void *USBD_static_malloc(uint32_t size) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c: In function 'USBD_static_free': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c:727:29: warning: unused parameter 'p' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 727 | void USBD_static_free(void *p) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~^ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c: In function 'HAL_PCDEx_SetConnectionState': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_conf.c:738:54: warning: unused parameter 'hpcd' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 738 | void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c: In function 'USBD_RunTestMode': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:213:60: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 213 | USBD_StatusTypeDef USBD_RunTestMode (USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c: In function 'USBD_LL_IsoINIncomplete': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:509:65: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 509 | USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:509:79: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 509 | USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c: In function 'USBD_LL_IsoOUTIncomplete': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:520:66: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 520 | USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:520:80: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 520 | USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c: In function 'USBD_LL_DevConnected': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_core.c:531:62: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 531 | USBD_StatusTypeDef USBD_LL_DevConnected(USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_ctlreq.c: In function 'USBD_CtlError': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_ctlreq.c:717:51: warning: unused parameter 'req' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 717 | USBD_SetupReqTypedef *req) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c:133:1: warning: missing initializer for field 'GetUsrStrDescriptor' of 'USBD_ClassTypeDef' {aka 'struct _Device_cb'} [-Wmissing-field-initializers] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 133 | }; [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: In file included from c/usbd_ioreq.h:37, [INFO] [stderr] warning: bluepill-usbhid@0.1.0: from c/usbd_customhid.h:37, [INFO] [stderr] warning: bluepill-usbhid@0.1.0: from c/usbd_customhid.c:49: [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_def.h:180:15: note: 'GetUsrStrDescriptor' declared here [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 180 | uint8_t *(*GetUsrStrDescriptor)(struct _USBD_HandleTypeDef *pdev ,uint8_t index, uint16_t *length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_Init': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c:240:40: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 240 | uint8_t cfgidx) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DeInit': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c:284:42: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 284 | uint8_t cfgidx) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DataIn': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c:441:39: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 441 | uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DataOut': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_customhid.c:460:39: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 460 | uint8_t epnum) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_DeviceDescriptor': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:189:56: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 189 | uint8_t * USBD_FS_DeviceDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_LangIDStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:202:59: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 202 | uint8_t * USBD_FS_LangIDStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ProductStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 78 | #define USBD_PRODUCT_STRING_FS "STM32 Custom Human interface" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:219:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 219 | USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: In file included from c/usbd_core.h:40, [INFO] [stderr] warning: bluepill-usbhid@0.1.0: from c/usbd_desc.c:51: [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 78 | #define USBD_PRODUCT_STRING_FS "STM32 Custom Human interface" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:223:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 223 | USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ManufacturerStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 76 | #define USBD_MANUFACTURER_STRING "STMicroelectronics" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:237:19: note: in expansion of macro 'USBD_MANUFACTURER_STRING' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 237 | USBD_GetString (USBD_MANUFACTURER_STRING, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:235:65: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 235 | uint8_t * USBD_FS_ManufacturerStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_SerialStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 79 | #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:252:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 252 | USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 79 | #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:256:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 256 | USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_ConfigStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 80 | #define USBD_CONFIGURATION_STRING_FS "Custom HID Config" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:272:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 272 | USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 80 | #define USBD_CONFIGURATION_STRING_FS "Custom HID Config" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:276:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 276 | USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c: In function 'USBD_FS_InterfaceStrDescriptor': [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 81 | #define USBD_INTERFACE_STRING_FS "Custom HID Interface" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:292:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 292 | USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 81 | #define USBD_INTERFACE_STRING_FS "Custom HID Interface" [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | | [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | char * [INFO] [stderr] warning: bluepill-usbhid@0.1.0: c/usbd_desc.c:296:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: bluepill-usbhid@0.1.0: 296 | USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: bluepill-usbhid@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-usbhid@0.1.0: 93 | void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: bluepill-usbhid@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] error: could not compile `bluepill-usbhid` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c505acca46dbddf96edcd6be84a3e6e0ab6fe0ed337a3bd2cd13a2ae93e6a146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c505acca46dbddf96edcd6be84a3e6e0ab6fe0ed337a3bd2cd13a2ae93e6a146", kill_on_drop: false }` [INFO] [stdout] c505acca46dbddf96edcd6be84a3e6e0ab6fe0ed337a3bd2cd13a2ae93e6a146