[INFO] cloning repository https://github.com/h1k421/steam_controller_custom_firmware [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/h1k421/steam_controller_custom_firmware" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fh1k421%2Fsteam_controller_custom_firmware", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fh1k421%2Fsteam_controller_custom_firmware'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fa7ca4efc0fa3d05ecdeacabcab2d015a176e1c [INFO] checking h1k421/steam_controller_custom_firmware/2fa7ca4efc0fa3d05ecdeacabcab2d015a176e1c against master#5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fh1k421%2Fsteam_controller_custom_firmware" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/h1k421/steam_controller_custom_firmware [INFO] finished tweaking git repo https://github.com/h1k421/steam_controller_custom_firmware [INFO] tweaked toml for git repo https://github.com/h1k421/steam_controller_custom_firmware written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/h1k421/steam_controller_custom_firmware on toolchain 5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/h1k421/steam_controller_custom_firmware already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/roblabla/lpc-pac` [INFO] [stderr] Updating git repository `https://github.com/roblabla/enum_primitive-rs.git` [INFO] [stderr] Updating git repository `https://github.com/lpc-rs/lpc11uxx-hal.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/roblabla/lpc11uxx-hal.git` [INFO] [stderr] Updating git repository `https://github.com/roblabla/hidapi-rs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding enum_primitive v0.1.1 (https://github.com/roblabla/enum_primitive-rs.git?branch=master#e2344b98) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vcell v0.1.2 [INFO] [stderr] Downloaded nb v0.1.2 [INFO] [stderr] Downloaded cortex-m v0.6.1 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.7 [INFO] [stderr] Downloaded cortex-m-rt v0.6.11 [INFO] [stderr] Downloaded usb-device v0.2.3 [INFO] [stderr] Downloaded hash32 v0.1.1 [INFO] [stderr] Downloaded heapless v0.5.1 [INFO] [stderr] Downloaded embedded-hal v0.2.3 [INFO] [stderr] Downloaded aligned v0.2.0 [INFO] [stderr] Downloaded cortex-m v0.5.10 [INFO] [stderr] Downloaded usbd-serial v0.1.0 [INFO] [stderr] Downloaded aligned v0.3.2 [INFO] [stderr] Downloaded as-slice v0.1.2 [INFO] [stderr] Downloaded volatile-register v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 681ee9ca55c8d55916eca26581e2bff9a57d1f2f412ebae4da3ddb2d23eb6c2a [INFO] running `Command { std: "docker" "start" "-a" "681ee9ca55c8d55916eca26581e2bff9a57d1f2f412ebae4da3ddb2d23eb6c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "681ee9ca55c8d55916eca26581e2bff9a57d1f2f412ebae4da3ddb2d23eb6c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "681ee9ca55c8d55916eca26581e2bff9a57d1f2f412ebae4da3ddb2d23eb6c2a", kill_on_drop: false }` [INFO] [stdout] 681ee9ca55c8d55916eca26581e2bff9a57d1f2f412ebae4da3ddb2d23eb6c2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1a451dc2bb7e4a6508ab2dff9a11c0b5a37d1b97bf1d963ba6054325371c52a [INFO] running `Command { std: "docker" "start" "-a" "f1a451dc2bb7e4a6508ab2dff9a11c0b5a37d1b97bf1d963ba6054325371c52a", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.6.1 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Compiling cortex-m-rt v0.6.11 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling lpc11uxx v0.3.0 (https://github.com/roblabla/lpc-pac#460a1779) [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking num-traits v0.2.10 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling heapless v0.5.1 [INFO] [stderr] Compiling bootloader v0.1.0 (/opt/rustwide/workdir/bootloader) [INFO] [stderr] Compiling custom-firmware v0.1.0 (/opt/rustwide/workdir/firmware) [INFO] [stderr] Checking usb-device v0.2.3 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking usbd-serial v0.1.0 [INFO] [stderr] Checking as-slice v0.1.2 [INFO] [stderr] Checking enum_primitive v0.1.1 (https://github.com/roblabla/enum_primitive-rs.git?branch=master#e2344b98) [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Checking hidapi-rs v0.1.0 (https://github.com/roblabla/hidapi-rs#c626cc49) [INFO] [stderr] Checking lpc11uxx-rom v0.1.0 (/opt/rustwide/workdir/lpc11uxx-rom) [INFO] [stdout] error[E0425]: cannot find type `HidDevice` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/hidapi-rs-c59b7a7bef338c1d/c626cc4/src/lib.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn open_device(&self, _api: &HidApi) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 38 | impl HidDeviceInfo { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HidDevice` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/hidapi-rs-c59b7a7bef338c1d/c626cc4/src/lib.rs:70:93 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn hid_open(vendor_id: u16, product_id: u16, serial_number: Option<&str>) -> Option> [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 70 | pub fn hid_open(vendor_id: u16, product_id: u16, serial_number: Option<&str>) -> Option> [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_open_path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/hidapi-rs-c59b7a7bef338c1d/c626cc4/src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | hid_open_path(&self.path) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_enumerate` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/hidapi-rs-c59b7a7bef338c1d/c626cc4/src/lib.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | devices: hid_enumerate(0, 0)? [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hidapi-rs` (lib) due to 8 previous errors [INFO] [stdout] error[E0425]: cannot find function `hid_enumerate` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/hidapi-rs-c59b7a7bef338c1d/c626cc4/src/lib.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | self.devices = hid_enumerate(0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `hid_enumerate` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/hidapi-rs-c59b7a7bef338c1d/c626cc4/src/lib.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | for cur_dev in hid_enumerate(vendor_id, product_id).unwrap_or(Vec::new()) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_open_path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/hidapi-rs-c59b7a7bef338c1d/c626cc4/src/lib.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | return hid_open_path(cur_dev.path).ok(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_open_path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/hidapi-rs-c59b7a7bef338c1d/c626cc4/src/lib.rs:79:37 [INFO] [stdout] | [INFO] [stdout] 79 | (None, _) => return hid_open_path(cur_dev.path).ok(), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq_size!(UsbRomDriver, [u8; 0x20]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `UsbRomDriver` (448 bits) [INFO] [stdout] = note: target type: `[u8; 32]` (256 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | assert_eq_size!(InitParameter, [u8; 0x44]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `InitParameter` (960 bits) [INFO] [stdout] = note: target type: `[u8; 68]` (544 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | assert_eq_size!(CoreApi, [u8; 0x20]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `CoreApi` (512 bits) [INFO] [stdout] = note: target type: `[u8; 32]` (256 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:295:1 [INFO] [stdout] | [INFO] [stdout] 295 | assert_eq_size!(CoreDescriptors, [u8; 0x14]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `CoreDescriptors` (320 bits) [INFO] [stdout] = note: target type: `[u8; 20]` (160 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:325:1 [INFO] [stdout] | [INFO] [stdout] 325 | assert_eq_size!(HardwareApi, [u8; 0x5c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `HardwareApi` (1472 bits) [INFO] [stdout] = note: target type: `[u8; 92]` (736 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:364:1 [INFO] [stdout] | [INFO] [stdout] 364 | assert_eq_size!(HidApi, [u8; 8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `HidApi` (128 bits) [INFO] [stdout] = note: target type: `[u8; 8]` (64 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | assert_eq_size!(HidInitParameter, [u8; 0x38]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `HidInitParameter<'_>` (832 bits) [INFO] [stdout] = note: target type: `[u8; 56]` (448 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:398:1 [INFO] [stdout] | [INFO] [stdout] 398 | assert_eq_size!(HidReport, [u8; 8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `HidReport` (128 bits) [INFO] [stdout] = note: target type: `[u8; 8]` (64 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:466:1 [INFO] [stdout] | [INFO] [stdout] 466 | assert_eq_size!(CdcInitParameter, [u8; 0x48]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `CdcInitParameter` (1088 bits) [INFO] [stdout] = note: target type: `[u8; 72]` (576 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:474:1 [INFO] [stdout] | [INFO] [stdout] 474 | assert_eq_size!(CdcApi, [u8; 12]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `CdcApi` (192 bits) [INFO] [stdout] = note: target type: `[u8; 12]` (96 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq_size!(RomDriver, [u8; 0x20]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `RomDriver` (320 bits) [INFO] [stdout] = note: target type: `[u8; 32]` (256 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/iap.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { core::mem::transmute(0x1fff_1ff1) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `i32` (32 bits) [INFO] [stdout] = note: target type: `for<'a, 'b> extern "C" fn(&'a [u32; 5], &'b mut [u32; 4])` (64 bits) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0512`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lpc11uxx-rom` (lib test) due to 12 previous errors [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq_size!(UsbRomDriver, [u8; 0x20]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `UsbRomDriver` (448 bits) [INFO] [stdout] = note: target type: `[u8; 32]` (256 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | assert_eq_size!(InitParameter, [u8; 0x44]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `InitParameter` (960 bits) [INFO] [stdout] = note: target type: `[u8; 68]` (544 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | assert_eq_size!(CoreApi, [u8; 0x20]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `CoreApi` (512 bits) [INFO] [stdout] = note: target type: `[u8; 32]` (256 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:295:1 [INFO] [stdout] | [INFO] [stdout] 295 | assert_eq_size!(CoreDescriptors, [u8; 0x14]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `CoreDescriptors` (320 bits) [INFO] [stdout] = note: target type: `[u8; 20]` (160 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:325:1 [INFO] [stdout] | [INFO] [stdout] 325 | assert_eq_size!(HardwareApi, [u8; 0x5c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `HardwareApi` (1472 bits) [INFO] [stdout] = note: target type: `[u8; 92]` (736 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:364:1 [INFO] [stdout] | [INFO] [stdout] 364 | assert_eq_size!(HidApi, [u8; 8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `HidApi` (128 bits) [INFO] [stdout] = note: target type: `[u8; 8]` (64 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | assert_eq_size!(HidInitParameter, [u8; 0x38]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `HidInitParameter<'_>` (832 bits) [INFO] [stdout] = note: target type: `[u8; 56]` (448 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:398:1 [INFO] [stdout] | [INFO] [stdout] 398 | assert_eq_size!(HidReport, [u8; 8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `HidReport` (128 bits) [INFO] [stdout] = note: target type: `[u8; 8]` (64 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:466:1 [INFO] [stdout] | [INFO] [stdout] 466 | assert_eq_size!(CdcInitParameter, [u8; 0x48]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `CdcInitParameter` (1088 bits) [INFO] [stdout] = note: target type: `[u8; 72]` (576 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/usbd/mod.rs:474:1 [INFO] [stdout] | [INFO] [stdout] 474 | assert_eq_size!(CdcApi, [u8; 12]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `CdcApi` (192 bits) [INFO] [stdout] = note: target type: `[u8; 12]` (96 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq_size!(RomDriver, [u8; 0x20]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `RomDriver` (320 bits) [INFO] [stdout] = note: target type: `[u8; 32]` (256 bits) [INFO] [stdout] = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> lpc11uxx-rom/src/iap.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe { core::mem::transmute(0x1fff_1ff1) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `i32` (32 bits) [INFO] [stdout] = note: target type: `for<'a, 'b> extern "C" fn(&'a [u32; 5], &'b mut [u32; 4])` (64 bits) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0512`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lpc11uxx-rom` (lib) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "f1a451dc2bb7e4a6508ab2dff9a11c0b5a37d1b97bf1d963ba6054325371c52a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1a451dc2bb7e4a6508ab2dff9a11c0b5a37d1b97bf1d963ba6054325371c52a", kill_on_drop: false }` [INFO] [stdout] f1a451dc2bb7e4a6508ab2dff9a11c0b5a37d1b97bf1d963ba6054325371c52a