[INFO] fetching crate ch347_rs 0.2.1...
[INFO] testing ch347_rs-0.2.1 against beta-2023-04-20 for beta-1.70-1
[INFO] extracting crate ch347_rs 0.2.1 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate ch347_rs 0.2.1 on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ch347_rs 0.2.1
[INFO] finished tweaking crates.io crate ch347_rs 0.2.1
[INFO] tweaked toml for crates.io crate ch347_rs 0.2.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate crates.io crate ch347_rs 0.2.1 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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.46
[INFO] [stderr]   Downloaded git2 v0.15.0
[INFO] [stderr]   Downloaded is_debug v1.0.1
[INFO] [stderr]   Downloaded cli-table-derive v0.4.5
[INFO] [stderr]   Downloaded const_format_proc_macros v0.2.22
[INFO] [stderr]   Downloaded const_format v0.2.26
[INFO] [stderr]   Downloaded indicatif v0.17.1
[INFO] [stderr]   Downloaded shadow-rs v0.16.3
[INFO] [stderr]   Downloaded syn v1.0.101
[INFO] [stderr]   Downloaded libgit2-sys v0.14.0+1.5.0
[INFO] [stderr]   Downloaded libc v0.2.134
[INFO] [stderr]   Downloaded utcnow v0.2.1
[INFO] [stderr]   Downloaded cli-table v0.4.7
[INFO] [stderr]   Downloaded console v0.15.2
[INFO] [stderr]   Downloaded pkg-config v0.3.25
[INFO] [stderr]   Downloaded rustix v0.35.11
[INFO] [stderr]   Downloaded time v0.3.14
[INFO] [stderr]   Downloaded tz-rs v0.6.14
[INFO] [stderr]   Downloaded tzdb v0.4.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 95e385f245a56eed0c751cdd15d21b42589df3bb98b8b5efc7cd4e27ed2d4ab2
[INFO] running `Command { std: "docker" "start" "-a" "95e385f245a56eed0c751cdd15d21b42589df3bb98b8b5efc7cd4e27ed2d4ab2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "95e385f245a56eed0c751cdd15d21b42589df3bb98b8b5efc7cd4e27ed2d4ab2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95e385f245a56eed0c751cdd15d21b42589df3bb98b8b5efc7cd4e27ed2d4ab2", kill_on_drop: false }`
[INFO] [stdout] 95e385f245a56eed0c751cdd15d21b42589df3bb98b8b5efc7cd4e27ed2d4ab2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2a7a51acf8648089dc9b1208dcebbeb078a65992e80e7723d72f5c155380c78f
[INFO] running `Command { std: "docker" "start" "-a" "2a7a51acf8648089dc9b1208dcebbeb078a65992e80e7723d72f5c155380c78f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.134
[INFO] [stderr]    Compiling proc-macro2 v1.0.46
[INFO] [stderr]    Compiling unicode-ident v1.0.4
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.101
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling const_fn v0.4.9
[INFO] [stderr]    Compiling serde_derive v1.0.145
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling serde v1.0.145
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.22
[INFO] [stderr]    Compiling jobserver v0.1.25
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling tz-rs v0.6.14
[INFO] [stderr]    Compiling iana-time-zone v0.1.50
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling num_threads v0.1.6
[INFO] [stderr]    Compiling time v0.3.14
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling const_format v0.2.26
[INFO] [stderr]    Compiling tzdb v0.4.6
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling libz-sys v1.1.8
[INFO] [stderr]    Compiling libgit2-sys v0.14.0+1.5.0
[INFO] [stderr]    Compiling is_debug v1.0.1
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling terminal_size v0.1.17
[INFO] [stderr]    Compiling os_str_bytes v6.3.0
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling console v0.15.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling textwrap v0.15.1
[INFO] [stderr]    Compiling once_cell v1.15.0
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling indicatif v0.17.1
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling cli-table-derive v0.4.5
[INFO] [stderr]    Compiling clap_derive v3.2.18
[INFO] [stderr]    Compiling clap v3.2.22
[INFO] [stderr]    Compiling git2 v0.15.0
[INFO] [stderr]    Compiling bstr v0.2.17
[INFO] [stderr]    Compiling csv v1.1.6
[INFO] [stderr]    Compiling shadow-rs v0.16.3
[INFO] [stderr]    Compiling cli-table v0.4.7
[INFO] [stderr]    Compiling ch347_rs v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         CH347SetDeviceNotify(
[INFO] [stdout]     |         -------------------- arguments to this function are incorrect
[INFO] [stdout] 112 |             device_index,
[INFO] [stdout]     |             ^^^^^^^^^^^^ expected `u64`, found `u32`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:408:12
[INFO] [stdout]     |
[INFO] [stdout] 408 |     pub fn CH347SetDeviceNotify(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 112 |             device_index.into(),
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         if CH347StreamI2C(
[INFO] [stdout]     |            -------------- arguments to this function are incorrect
[INFO] [stdout] 124 |             device_index,
[INFO] [stdout]     |             ^^^^^^^^^^^^ expected `u64`, found `u32`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:478:12
[INFO] [stdout]     |
[INFO] [stdout] 478 |     pub fn CH347StreamI2C(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 124 |             device_index.into(),
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:165:32
[INFO] [stdout]     |
[INFO] [stdout] 165 |             if CH347OpenDevice(index) == INVALID_HANDLE_VALUE {
[INFO] [stdout]     |                --------------- ^^^^^ expected `u64`, found `u32`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:325:12
[INFO] [stdout]     |
[INFO] [stdout] 325 |     pub fn CH347OpenDevice(DevI: ULONG) -> HANDLE;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 165 |             if CH347OpenDevice(index.into()) == INVALID_HANDLE_VALUE {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:179:31
[INFO] [stdout]     |
[INFO] [stdout] 179 |             if CH347Uart_Open(index) == INVALID_HANDLE_VALUE {
[INFO] [stdout]     |                -------------- ^^^^^ expected `u64`, found `u32`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:420:12
[INFO] [stdout]     |
[INFO] [stdout] 420 |     pub fn CH347Uart_Open(DevI: ULONG) -> HANDLE;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 179 |             if CH347Uart_Open(index.into()) == INVALID_HANDLE_VALUE {
[INFO] [stdout]     |                                    +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:228:32
[INFO] [stdout]     |
[INFO] [stdout] 228 |             if CH347SPI_GetCfg(self.index, &mut spicfg) == 0 {
[INFO] [stdout]     |                --------------- ^^^^^^^^^^ expected `u64`, found `u32`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:497:12
[INFO] [stdout]     |
[INFO] [stdout] 497 |     pub fn CH347SPI_GetCfg(iIndex: ULONG, mSpiCfgS: *mut SpiConfig) -> BOOL;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 228 |             if CH347SPI_GetCfg(self.index.into(), &mut spicfg) == 0 {
[INFO] [stdout]     |                                          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:238:30
[INFO] [stdout]     |
[INFO] [stdout] 238 |             if CH347SPI_Init(self.index, &mut self.spi_cfg) == 0 {
[INFO] [stdout]     |                ------------- ^^^^^^^^^^ expected `u64`, found `u32`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:491:12
[INFO] [stdout]     |
[INFO] [stdout] 491 |     pub fn CH347SPI_Init(iIndex: ULONG, mSpiCfgS: *mut SpiConfig) -> BOOL;
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 238 |             if CH347SPI_Init(self.index.into(), &mut self.spi_cfg) == 0 {
[INFO] [stdout]     |                                        +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:261:17
[INFO] [stdout]     |
[INFO] [stdout] 260 |             if CH347StreamSPI4(
[INFO] [stdout]     |                --------------- arguments to this function are incorrect
[INFO] [stdout] 261 |                 self.index,
[INFO] [stdout]     |                 ^^^^^^^^^^ expected `u64`, found `u32`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:538:12
[INFO] [stdout]     |
[INFO] [stdout] 538 |     pub fn CH347StreamSPI4(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 261 |                 self.index.into(),
[INFO] [stdout]     |                           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:282:16
[INFO] [stdout]     |
[INFO] [stdout] 282 |             if CH347SPI_Read(
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] 283 |                 self.index,
[INFO] [stdout]     |                 ---------- expected `u64`, found `u32`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `*mut u64`, found `&mut u32`
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:286:17
[INFO] [stdout]     |
[INFO] [stdout] 286 |                 &mut i_len,
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     = note:    expected raw pointer `*mut u64`
[INFO] [stdout]             found mutable reference `&mut u32`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:521:12
[INFO] [stdout]     |
[INFO] [stdout] 521 |     pub fn CH347SPI_Read(
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 283 |                 self.index.into(),
[INFO] [stdout]     |                           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ch347lib/ch347lib.rs:301:30
[INFO] [stdout]     |
[INFO] [stdout] 301 |             CH347CloseDevice(self.index);
[INFO] [stdout]     |             ---------------- ^^^^^^^^^^ expected `u64`, found `u32`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ch347lib/ch347dll.rs:337:12
[INFO] [stdout]     |
[INFO] [stdout] 337 |     pub fn CH347CloseDevice(DevI: ULONG) -> BOOL;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]     |
[INFO] [stdout] 301 |             CH347CloseDevice(self.index.into());
[INFO] [stdout]     |                                        +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ch347_rs` (lib) due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "2a7a51acf8648089dc9b1208dcebbeb078a65992e80e7723d72f5c155380c78f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a7a51acf8648089dc9b1208dcebbeb078a65992e80e7723d72f5c155380c78f", kill_on_drop: false }`
[INFO] [stdout] 2a7a51acf8648089dc9b1208dcebbeb078a65992e80e7723d72f5c155380c78f
