[INFO] crate bluepill-usbhid 0.1.0 is already in cache [INFO] extracting crate bluepill-usbhid 0.1.0 into work/ex/beta-1.37-6/sources/1.36.0/reg/bluepill-usbhid/0.1.0 [INFO] extracting crate bluepill-usbhid 0.1.0 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/bluepill-usbhid/0.1.0 [INFO] validating manifest of bluepill-usbhid-0.1.0 on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of bluepill-usbhid-0.1.0 on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing bluepill-usbhid-0.1.0 [INFO] finished frobbing bluepill-usbhid-0.1.0 [INFO] frobbed toml for bluepill-usbhid-0.1.0 written to work/ex/beta-1.37-6/sources/1.36.0/reg/bluepill-usbhid/0.1.0/Cargo.toml [INFO] started frobbing bluepill-usbhid-0.1.0 [INFO] finished frobbing bluepill-usbhid-0.1.0 [INFO] frobbed toml for bluepill-usbhid-0.1.0 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/bluepill-usbhid/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing bluepill-usbhid-0.1.0 against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-3/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/bluepill-usbhid/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"` [INFO] [stdout] f8a02b9d02ac75572281b812394f0cf437dadfbc003e247791550e900842b8e7 [INFO] running `"docker" "start" "-a" "f8a02b9d02ac75572281b812394f0cf437dadfbc003e247791550e900842b8e7"` [INFO] [stderr] Compiling bluepill-usbhid v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'gcc::Config': gcc::Config has been renamed to gcc::Build [INFO] [stderr] --> build.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | gcc::Config::new() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'gcc::Build::new': crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> build.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | gcc::Config::new() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: c/main.c: In function '_Error_Handler': [INFO] [stderr] warning: c/main.c:9:28: warning: unused parameter 'file' [-Wunused-parameter] [INFO] [stderr] warning: void _Error_Handler(char * file, int line) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/main.c:9:38: warning: unused parameter 'line' [-Wunused-parameter] [INFO] [stderr] warning: void _Error_Handler(char * file, int line) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_conf.c: In function 'USBD_static_malloc': [INFO] [stderr] warning: c/usbd_conf.c:716:35: warning: unused parameter 'size' [-Wunused-parameter] [INFO] [stderr] warning: void *USBD_static_malloc(uint32_t size) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_conf.c: In function 'USBD_static_free': [INFO] [stderr] warning: c/usbd_conf.c:727:29: warning: unused parameter 'p' [-Wunused-parameter] [INFO] [stderr] warning: void USBD_static_free(void *p) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_conf.c: In function 'HAL_PCDEx_SetConnectionState': [INFO] [stderr] warning: c/usbd_conf.c:738:54: warning: unused parameter 'hpcd' [-Wunused-parameter] [INFO] [stderr] warning: void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c: In function 'USBD_RunTestMode': [INFO] [stderr] warning: c/usbd_core.c:213:60: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_RunTestMode (USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c: In function 'USBD_LL_IsoINIncomplete': [INFO] [stderr] warning: c/usbd_core.c:509:65: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c:509:79: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c: In function 'USBD_LL_IsoOUTIncomplete': [INFO] [stderr] warning: c/usbd_core.c:520:66: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c:520:80: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c: In function 'USBD_LL_DevConnected': [INFO] [stderr] warning: c/usbd_core.c:531:62: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_LL_DevConnected(USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_ctlreq.c: In function 'USBD_CtlError': [INFO] [stderr] warning: c/usbd_ctlreq.c:717:51: warning: unused parameter 'req' [-Wunused-parameter] [INFO] [stderr] warning: USBD_SetupReqTypedef *req) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: 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: }; [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_ioreq.h:37:0, [INFO] [stderr] warning: from c/usbd_customhid.h:37, [INFO] [stderr] warning: from c/usbd_customhid.c:49: [INFO] [stderr] warning: c/usbd_def.h:180:15: note: 'GetUsrStrDescriptor' declared here [INFO] [stderr] warning: uint8_t *(*GetUsrStrDescriptor)(struct _USBD_HandleTypeDef *pdev ,uint8_t index, uint16_t *length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_Init': [INFO] [stderr] warning: c/usbd_customhid.c:240:40: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t cfgidx) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DeInit': [INFO] [stderr] warning: c/usbd_customhid.c:284:42: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t cfgidx) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DataIn': [INFO] [stderr] warning: c/usbd_customhid.c:441:39: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DataOut': [INFO] [stderr] warning: c/usbd_customhid.c:460:39: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_DeviceDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:189:56: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t * USBD_FS_DeviceDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_LangIDStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:202:59: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t * USBD_FS_LangIDStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_ProductStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:78:36: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_PRODUCT_STRING_FS "STM32 Custom Human interface" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:219:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:78:36: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_PRODUCT_STRING_FS "STM32 Custom Human interface" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:223:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_ManufacturerStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:76:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_MANUFACTURER_STRING "STMicroelectronics" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:237:19: note: in expansion of macro 'USBD_MANUFACTURER_STRING' [INFO] [stderr] warning: USBD_GetString (USBD_MANUFACTURER_STRING, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:235:65: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t * USBD_FS_ManufacturerStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_SerialStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:79:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:252:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:79:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:256:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_ConfigStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:80:42: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_CONFIGURATION_STRING_FS "Custom HID Config" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:272:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:80:42: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_CONFIGURATION_STRING_FS "Custom HID Config" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:276:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_InterfaceStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:81:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_INTERFACE_STRING_FS "Custom HID Interface" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:292:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:81:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_INTERFACE_STRING_FS "Custom HID Interface" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:296:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.30s [INFO] running `"docker" "inspect" "f8a02b9d02ac75572281b812394f0cf437dadfbc003e247791550e900842b8e7"` [INFO] running `"docker" "rm" "-f" "f8a02b9d02ac75572281b812394f0cf437dadfbc003e247791550e900842b8e7"` [INFO] [stdout] f8a02b9d02ac75572281b812394f0cf437dadfbc003e247791550e900842b8e7 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-3/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/bluepill-usbhid/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 424cbfa27a94156dbde8f9cd4c4555a731a1b6055ea229aaf1462b4f3f3c3e0e [INFO] running `"docker" "start" "-a" "424cbfa27a94156dbde8f9cd4c4555a731a1b6055ea229aaf1462b4f3f3c3e0e"` [INFO] [stderr] warning: c/main.c: In function '_Error_Handler': [INFO] [stderr] warning: c/main.c:9:28: warning: unused parameter 'file' [-Wunused-parameter] [INFO] [stderr] warning: void _Error_Handler(char * file, int line) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/main.c:9:38: warning: unused parameter 'line' [-Wunused-parameter] [INFO] [stderr] warning: void _Error_Handler(char * file, int line) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_conf.c: In function 'USBD_static_malloc': [INFO] [stderr] warning: c/usbd_conf.c:716:35: warning: unused parameter 'size' [-Wunused-parameter] [INFO] [stderr] warning: void *USBD_static_malloc(uint32_t size) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_conf.c: In function 'USBD_static_free': [INFO] [stderr] warning: c/usbd_conf.c:727:29: warning: unused parameter 'p' [-Wunused-parameter] [INFO] [stderr] warning: void USBD_static_free(void *p) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_conf.c: In function 'HAL_PCDEx_SetConnectionState': [INFO] [stderr] warning: c/usbd_conf.c:738:54: warning: unused parameter 'hpcd' [-Wunused-parameter] [INFO] [stderr] warning: void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c: In function 'USBD_RunTestMode': [INFO] [stderr] warning: c/usbd_core.c:213:60: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_RunTestMode (USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c: In function 'USBD_LL_IsoINIncomplete': [INFO] [stderr] warning: c/usbd_core.c:509:65: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c:509:79: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c: In function 'USBD_LL_IsoOUTIncomplete': [INFO] [stderr] warning: c/usbd_core.c:520:66: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c:520:80: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c: In function 'USBD_LL_DevConnected': [INFO] [stderr] warning: c/usbd_core.c:531:62: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_LL_DevConnected(USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_ctlreq.c: In function 'USBD_CtlError': [INFO] [stderr] warning: c/usbd_ctlreq.c:717:51: warning: unused parameter 'req' [-Wunused-parameter] [INFO] [stderr] warning: USBD_SetupReqTypedef *req) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: 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: }; [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_ioreq.h:37:0, [INFO] [stderr] warning: from c/usbd_customhid.h:37, [INFO] [stderr] warning: from c/usbd_customhid.c:49: [INFO] [stderr] warning: c/usbd_def.h:180:15: note: 'GetUsrStrDescriptor' declared here [INFO] [stderr] warning: uint8_t *(*GetUsrStrDescriptor)(struct _USBD_HandleTypeDef *pdev ,uint8_t index, uint16_t *length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_Init': [INFO] [stderr] warning: c/usbd_customhid.c:240:40: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t cfgidx) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DeInit': [INFO] [stderr] warning: c/usbd_customhid.c:284:42: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t cfgidx) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DataIn': [INFO] [stderr] warning: c/usbd_customhid.c:441:39: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DataOut': [INFO] [stderr] warning: c/usbd_customhid.c:460:39: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_DeviceDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:189:56: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t * USBD_FS_DeviceDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_LangIDStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:202:59: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t * USBD_FS_LangIDStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_ProductStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:78:36: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_PRODUCT_STRING_FS "STM32 Custom Human interface" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:219:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:78:36: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_PRODUCT_STRING_FS "STM32 Custom Human interface" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:223:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_ManufacturerStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:76:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_MANUFACTURER_STRING "STMicroelectronics" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:237:19: note: in expansion of macro 'USBD_MANUFACTURER_STRING' [INFO] [stderr] warning: USBD_GetString (USBD_MANUFACTURER_STRING, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:235:65: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t * USBD_FS_ManufacturerStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_SerialStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:79:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:252:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:79:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:256:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_ConfigStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:80:42: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_CONFIGURATION_STRING_FS "Custom HID Config" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:272:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:80:42: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_CONFIGURATION_STRING_FS "Custom HID Config" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:276:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_InterfaceStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:81:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_INTERFACE_STRING_FS "Custom HID Interface" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:292:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:81:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_INTERFACE_STRING_FS "Custom HID Interface" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:296:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] Compiling bluepill-usbhid v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/bluepill_usbhid-1e5eadceeb0d6109.bluepill_usbhid.e796e8cj-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/bluepill_usbhid-1e5eadceeb0d6109.bluepill_usbhid.e796e8cj-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/bluepill_usbhid-1e5eadceeb0d6109.bluepill_usbhid.e796e8cj-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/bluepill_usbhid-1e5eadceeb0d6109.bluepill_usbhid.e796e8cj-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/bluepill_usbhid-1e5eadceeb0d6109.bluepill_usbhid.e796e8cj-cgu.4.rcgu.o" "-o" "/opt/crater/target/debug/deps/bluepill_usbhid-1e5eadceeb0d6109" "/opt/crater/target/debug/deps/bluepill_usbhid-1e5eadceeb0d6109.41wssqrl3d4iiz2e.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/target/debug/build/bluepill-usbhid-b81fc8a62489a92f/out" "-L" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-lusbcdc" "-Wl,--no-whole-archive" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-e8fbf0b14816ca0e.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-c9d91925876437f2.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-50d6bab7df588609.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-913b30c2987aa8da.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9895e8982b0a79e7.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-57306b8ed3378a0e.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-54463ae5adae3649.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d99667b199a9875a.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-51f4300e102199f5.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-b3ccf1f7737a6a91.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-157c37a3ceb78853.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-505bcee45aafb736.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c29abd529ba4452b.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-895383a3232f6572.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5594cb4f559bc761.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-38e90baf978bc428.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: skipping incompatible /opt/crater/target/debug/build/bluepill-usbhid-b81fc8a62489a92f/out/libusbcdc.a when searching for -lusbcdc [INFO] [stderr] /usr/bin/ld: cannot find -lusbcdc [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: c/main.c: In function '_Error_Handler': [INFO] [stderr] warning: c/main.c:9:28: warning: unused parameter 'file' [-Wunused-parameter] [INFO] [stderr] warning: void _Error_Handler(char * file, int line) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/main.c:9:38: warning: unused parameter 'line' [-Wunused-parameter] [INFO] [stderr] warning: void _Error_Handler(char * file, int line) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_conf.c: In function 'USBD_static_malloc': [INFO] [stderr] warning: c/usbd_conf.c:716:35: warning: unused parameter 'size' [-Wunused-parameter] [INFO] [stderr] warning: void *USBD_static_malloc(uint32_t size) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_conf.c: In function 'USBD_static_free': [INFO] [stderr] warning: c/usbd_conf.c:727:29: warning: unused parameter 'p' [-Wunused-parameter] [INFO] [stderr] warning: void USBD_static_free(void *p) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_conf.c: In function 'HAL_PCDEx_SetConnectionState': [INFO] [stderr] warning: c/usbd_conf.c:738:54: warning: unused parameter 'hpcd' [-Wunused-parameter] [INFO] [stderr] warning: void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c: In function 'USBD_RunTestMode': [INFO] [stderr] warning: c/usbd_core.c:213:60: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_RunTestMode (USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c: In function 'USBD_LL_IsoINIncomplete': [INFO] [stderr] warning: c/usbd_core.c:509:65: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c:509:79: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c: In function 'USBD_LL_IsoOUTIncomplete': [INFO] [stderr] warning: c/usbd_core.c:520:66: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c:520:80: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_core.c: In function 'USBD_LL_DevConnected': [INFO] [stderr] warning: c/usbd_core.c:531:62: warning: unused parameter 'pdev' [-Wunused-parameter] [INFO] [stderr] warning: USBD_StatusTypeDef USBD_LL_DevConnected(USBD_HandleTypeDef *pdev) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_ctlreq.c: In function 'USBD_CtlError': [INFO] [stderr] warning: c/usbd_ctlreq.c:717:51: warning: unused parameter 'req' [-Wunused-parameter] [INFO] [stderr] warning: USBD_SetupReqTypedef *req) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: 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: }; [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_ioreq.h:37:0, [INFO] [stderr] warning: from c/usbd_customhid.h:37, [INFO] [stderr] warning: from c/usbd_customhid.c:49: [INFO] [stderr] warning: c/usbd_def.h:180:15: note: 'GetUsrStrDescriptor' declared here [INFO] [stderr] warning: uint8_t *(*GetUsrStrDescriptor)(struct _USBD_HandleTypeDef *pdev ,uint8_t index, uint16_t *length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_Init': [INFO] [stderr] warning: c/usbd_customhid.c:240:40: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t cfgidx) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DeInit': [INFO] [stderr] warning: c/usbd_customhid.c:284:42: warning: unused parameter 'cfgidx' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t cfgidx) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DataIn': [INFO] [stderr] warning: c/usbd_customhid.c:441:39: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_customhid.c: In function 'USBD_CUSTOM_HID_DataOut': [INFO] [stderr] warning: c/usbd_customhid.c:460:39: warning: unused parameter 'epnum' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t epnum) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_DeviceDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:189:56: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t * USBD_FS_DeviceDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_LangIDStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:202:59: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t * USBD_FS_LangIDStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_ProductStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:78:36: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_PRODUCT_STRING_FS "STM32 Custom Human interface" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:219:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:78:36: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_PRODUCT_STRING_FS "STM32 Custom Human interface" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:223:21: note: in expansion of macro 'USBD_PRODUCT_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_ManufacturerStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:76:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_MANUFACTURER_STRING "STMicroelectronics" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:237:19: note: in expansion of macro 'USBD_MANUFACTURER_STRING' [INFO] [stderr] warning: USBD_GetString (USBD_MANUFACTURER_STRING, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:235:65: warning: unused parameter 'speed' [-Wunused-parameter] [INFO] [stderr] warning: uint8_t * USBD_FS_ManufacturerStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length) [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_SerialStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:79:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:252:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:79:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_SERIALNUMBER_STRING_FS "00000000001A" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:256:21: note: in expansion of macro 'USBD_SERIALNUMBER_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_SERIALNUMBER_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_ConfigStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:80:42: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_CONFIGURATION_STRING_FS "Custom HID Config" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:272:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:80:42: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_CONFIGURATION_STRING_FS "Custom HID Config" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:276:21: note: in expansion of macro 'USBD_CONFIGURATION_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c: In function 'USBD_FS_InterfaceStrDescriptor': [INFO] [stderr] warning: c/usbd_desc.c:81:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_INTERFACE_STRING_FS "Custom HID Interface" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:292:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:81:38: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: #define USBD_INTERFACE_STRING_FS "Custom HID Interface" [INFO] [stderr] warning: ^ [INFO] [stderr] warning: c/usbd_desc.c:296:21: note: in expansion of macro 'USBD_INTERFACE_STRING_FS' [INFO] [stderr] warning: USBD_GetString (USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: In file included from c/usbd_core.h:40:0, [INFO] [stderr] warning: from c/usbd_desc.c:51: [INFO] [stderr] warning: c/usbd_ctlreq.h:93:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' [INFO] [stderr] warning: void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len); [INFO] [stderr] warning: ^ [INFO] [stderr] [INFO] [stderr] error: Could not compile `bluepill-usbhid`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "424cbfa27a94156dbde8f9cd4c4555a731a1b6055ea229aaf1462b4f3f3c3e0e"` [INFO] running `"docker" "rm" "-f" "424cbfa27a94156dbde8f9cd4c4555a731a1b6055ea229aaf1462b4f3f3c3e0e"` [INFO] [stdout] 424cbfa27a94156dbde8f9cd4c4555a731a1b6055ea229aaf1462b4f3f3c3e0e