[INFO] fetching crate peak-can 0.2.0... [INFO] testing peak-can-0.2.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate peak-can 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate peak-can 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate peak-can 0.2.0 [INFO] tweaked toml for crates.io crate peak-can 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate peak-can 0.2.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate peak-can 0.2.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2d09edd51d89fa16352152e902aa5fbda4b7cfe86fd6f87914f16565b896a29 [INFO] running `Command { std: "docker" "start" "-a" "b2d09edd51d89fa16352152e902aa5fbda4b7cfe86fd6f87914f16565b896a29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2d09edd51d89fa16352152e902aa5fbda4b7cfe86fd6f87914f16565b896a29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2d09edd51d89fa16352152e902aa5fbda4b7cfe86fd6f87914f16565b896a29", kill_on_drop: false }` [INFO] [stdout] b2d09edd51d89fa16352152e902aa5fbda4b7cfe86fd6f87914f16565b896a29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33af785cb4aafa3c38b718cf1ac23823adc9545e534c8a0fcf187e4f539320a9 [INFO] running `Command { std: "docker" "start" "-a" "33af785cb4aafa3c38b718cf1ac23823adc9545e534c8a0fcf187e4f539320a9", kill_on_drop: false }` [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling peak-can-sys v0.2.0 [INFO] [stderr] Compiling peak-can v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 24 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 28 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 28 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 48 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 52 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 52 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 81 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 85 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 85 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 99 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 103 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 103 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 127 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 131 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 131 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 135 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 135 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 165 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 169 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 169 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 193 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 197 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 197 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:201:15 [INFO] [stdout] | [INFO] [stdout] 201 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:201:15 [INFO] [stdout] | [INFO] [stdout] 201 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 231 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 235 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 235 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:239:15 [INFO] [stdout] | [INFO] [stdout] 239 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:239:15 [INFO] [stdout] | [INFO] [stdout] 239 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 259 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 263 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 263 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:267:15 [INFO] [stdout] | [INFO] [stdout] 267 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:267:15 [INFO] [stdout] | [INFO] [stdout] 267 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 297 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 301 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 301 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:305:15 [INFO] [stdout] | [INFO] [stdout] 305 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:305:15 [INFO] [stdout] | [INFO] [stdout] 305 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:329:17 [INFO] [stdout] | [INFO] [stdout] 325 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 329 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 329 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:333:15 [INFO] [stdout] | [INFO] [stdout] 333 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:333:15 [INFO] [stdout] | [INFO] [stdout] 333 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 363 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 367 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 367 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:371:15 [INFO] [stdout] | [INFO] [stdout] 371 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:371:15 [INFO] [stdout] | [INFO] [stdout] 371 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:395:17 [INFO] [stdout] | [INFO] [stdout] 391 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 395 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 395 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:399:15 [INFO] [stdout] | [INFO] [stdout] 399 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:399:15 [INFO] [stdout] | [INFO] [stdout] 399 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 429 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 433 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 433 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:437:15 [INFO] [stdout] | [INFO] [stdout] 437 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:437:15 [INFO] [stdout] | [INFO] [stdout] 437 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:461:17 [INFO] [stdout] | [INFO] [stdout] 457 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 461 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 461 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:465:15 [INFO] [stdout] | [INFO] [stdout] 465 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:465:15 [INFO] [stdout] | [INFO] [stdout] 465 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 505 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 509 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 509 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:513:15 [INFO] [stdout] | [INFO] [stdout] 513 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:513:15 [INFO] [stdout] | [INFO] [stdout] 513 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:537:17 [INFO] [stdout] | [INFO] [stdout] 533 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 537 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 537 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:541:15 [INFO] [stdout] | [INFO] [stdout] 541 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:541:15 [INFO] [stdout] | [INFO] [stdout] 541 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/df.rs:588:17 [INFO] [stdout] | [INFO] [stdout] 584 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 588 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 588 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/df.rs:592:15 [INFO] [stdout] | [INFO] [stdout] 592 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/df.rs:592:15 [INFO] [stdout] | [INFO] [stdout] 592 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/hw.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/hw.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hw.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 96 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 100 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 100 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/hw.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/hw.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hw.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 114 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 118 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 118 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/hw.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/hw.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hw.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 149 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 153 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 153 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/hw.rs:157:15 [INFO] [stdout] | [INFO] [stdout] 157 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/hw.rs:157:15 [INFO] [stdout] | [INFO] [stdout] 157 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hw.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 177 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 181 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 181 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/hw.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/hw.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hw.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 205 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 209 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 209 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/hw.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/hw.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hw.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 239 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 243 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 243 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/hw.rs:247:15 [INFO] [stdout] | [INFO] [stdout] 247 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/hw.rs:247:15 [INFO] [stdout] | [INFO] [stdout] 247 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hw.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 267 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 271 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 271 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/hw.rs:275:15 [INFO] [stdout] | [INFO] [stdout] 275 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/hw.rs:275:15 [INFO] [stdout] | [INFO] [stdout] 275 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hw.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 295 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 299 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 299 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/hw.rs:303:15 [INFO] [stdout] | [INFO] [stdout] 303 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/hw.rs:303:15 [INFO] [stdout] | [INFO] [stdout] 303 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hw.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 325 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 329 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 329 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/hw.rs:333:11 [INFO] [stdout] | [INFO] [stdout] 333 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/hw.rs:333:11 [INFO] [stdout] | [INFO] [stdout] 333 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hw.rs:379:53 [INFO] [stdout] | [INFO] [stdout] 379 | (self.channel_information.device_features & peak_can::FEATURE_FD_CAPABLE) != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u64 & u32` [INFO] [stdout] --> src/hw.rs:379:51 [INFO] [stdout] | [INFO] [stdout] 379 | (self.channel_information.device_features & peak_can::FEATURE_FD_CAPABLE) != 0 [INFO] [stdout] | ^ no implementation for `u64 & u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitAnd` is not implemented for `u64` [INFO] [stdout] help: the following other types implement trait `BitAnd` [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/bit.rs:174:8 [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `BitAnd` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/bit.rs:187:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `BitAnd` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `BitAnd<&u64>` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `BitAnd` [INFO] [stdout] = note: this error originates in the macro `bitand_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hw.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 392 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 396 | attached_channels_count * size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 396 | (attached_channels_count * size_of::() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/hw.rs:400:11 [INFO] [stdout] | [INFO] [stdout] 400 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/hw.rs:400:11 [INFO] [stdout] | [INFO] [stdout] 400 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hw.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 419 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 423 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 423 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/hw.rs:427:15 [INFO] [stdout] | [INFO] [stdout] 427 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/hw.rs:427:15 [INFO] [stdout] | [INFO] [stdout] 427 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/info.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 13 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 17 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 17 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/info.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/info.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/info.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 53 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 57 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 57 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/info.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/info.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/info.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 103 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 107 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 107 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/info.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/info.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/info.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 128 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 132 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 132 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/info.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/info.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/info.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 153 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 157 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 157 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/info.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/info.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/info.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 188 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 192 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 192 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/info.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/info.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/info.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 220 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 224 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 224 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/info.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 228 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/info.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 228 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/info.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 254 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 258 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 258 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/info.rs:262:15 [INFO] [stdout] | [INFO] [stdout] 262 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/info.rs:262:15 [INFO] [stdout] | [INFO] [stdout] 262 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/info.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 282 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 286 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 286 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/info.rs:290:15 [INFO] [stdout] | [INFO] [stdout] 290 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/info.rs:290:15 [INFO] [stdout] | [INFO] [stdout] 290 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/info.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 303 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 307 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 307 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/info.rs:311:11 [INFO] [stdout] | [INFO] [stdout] 311 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/info.rs:311:11 [INFO] [stdout] | [INFO] [stdout] 311 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/info.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 328 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 332 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 332 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/info.rs:336:11 [INFO] [stdout] | [INFO] [stdout] 336 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/info.rs:336:11 [INFO] [stdout] | [INFO] [stdout] 336 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/info.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 362 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 366 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 366 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/info.rs:370:15 [INFO] [stdout] | [INFO] [stdout] 370 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/info.rs:370:15 [INFO] [stdout] | [INFO] [stdout] 370 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 52 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 56 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 56 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/io.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/io.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 79 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 83 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 83 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/io.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/io.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 106 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 110 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 110 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/io.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | let mode_word = match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 127 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 131 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 131 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/io.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | return match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/io.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | let mode_word = match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 145 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 149 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 149 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/io.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/io.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 202 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 206 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 206 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/io.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/io.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 229 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 233 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 233 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/io.rs:237:15 [INFO] [stdout] | [INFO] [stdout] 237 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/io.rs:237:15 [INFO] [stdout] | [INFO] [stdout] 237 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 256 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 260 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 260 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/io.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | let mode_word = match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 277 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 281 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 281 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/io.rs:285:22 [INFO] [stdout] | [INFO] [stdout] 285 | return match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/io.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | let mode_word = match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 295 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 299 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 299 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/io.rs:303:15 [INFO] [stdout] | [INFO] [stdout] 303 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/io.rs:303:15 [INFO] [stdout] | [INFO] [stdout] 303 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 323 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 327 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 327 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/io.rs:331:15 [INFO] [stdout] | [INFO] [stdout] 331 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/io.rs:331:15 [INFO] [stdout] | [INFO] [stdout] 331 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 351 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 355 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 355 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/io.rs:359:15 [INFO] [stdout] | [INFO] [stdout] 359 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/io.rs:359:15 [INFO] [stdout] | [INFO] [stdout] 359 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io.rs:383:17 [INFO] [stdout] | [INFO] [stdout] 379 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 383 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 383 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/io.rs:387:15 [INFO] [stdout] | [INFO] [stdout] 387 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/io.rs:387:15 [INFO] [stdout] | [INFO] [stdout] 387 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/log.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 20 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 24 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 24 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/log.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/log.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/log.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 57 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 61 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 61 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/log.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/log.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/log.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 89 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 93 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 93 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/log.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/log.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/log.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 127 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 131 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 131 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/log.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 135 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/log.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 135 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/log.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 155 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 159 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 159 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/log.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/log.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/log.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 181 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 185 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 185 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/log.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/log.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/log.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 249 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 253 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 253 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/log.rs:257:15 [INFO] [stdout] | [INFO] [stdout] 257 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/log.rs:257:15 [INFO] [stdout] | [INFO] [stdout] 257 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/log.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 281 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 285 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 285 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/log.rs:289:15 [INFO] [stdout] | [INFO] [stdout] 289 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/log.rs:289:15 [INFO] [stdout] | [INFO] [stdout] 289 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/socket/dng.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/socket/dng.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/socket/isa.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/socket/isa.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/socket/lan.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/socket/lan.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/socket/pcc.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/socket/pcc.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/socket/pci.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/socket/pci.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/socket/usb.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/socket/usb.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/socket/usb.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 128 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/socket/usb.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 128 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/socket/usb.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/socket/usb.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/socket/mod.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | ID: can_id & STANDARD_MASK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/socket/mod.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | ID: can_id & EXTENDED_MASK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/socket/mod.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | self.frame.ID & STANDARD_MASK [INFO] [stdout] | ^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/socket/mod.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn can_id(&self) -> u32 { [INFO] [stdout] | --- expected `u32` because of return type [INFO] [stdout] 94 | if self.is_standard_frame() { [INFO] [stdout] 95 | self.frame.ID & STANDARD_MASK [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 95 | (self.frame.ID & STANDARD_MASK).try_into().unwrap() [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u64 & u32` [INFO] [stdout] --> src/socket/mod.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | self.frame.ID & STANDARD_MASK [INFO] [stdout] | ^ no implementation for `u64 & u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitAnd` is not implemented for `u64` [INFO] [stdout] help: the following other types implement trait `BitAnd` [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/bit.rs:174:8 [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `BitAnd` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/bit.rs:187:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `BitAnd` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `BitAnd<&u64>` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `BitAnd` [INFO] [stdout] = note: this error originates in the macro `bitand_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/socket/mod.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | self.frame.ID & EXTENDED_MASK [INFO] [stdout] | ^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/socket/mod.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn can_id(&self) -> u32 { [INFO] [stdout] | --- expected `u32` because of return type [INFO] [stdout] ... [INFO] [stdout] 97 | self.frame.ID & EXTENDED_MASK [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 97 | (self.frame.ID & EXTENDED_MASK).try_into().unwrap() [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u64 & u32` [INFO] [stdout] --> src/socket/mod.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | self.frame.ID & EXTENDED_MASK [INFO] [stdout] | ^ no implementation for `u64 & u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitAnd` is not implemented for `u64` [INFO] [stdout] help: the following other types implement trait `BitAnd` [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/bit.rs:174:8 [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `BitAnd` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/bit.rs:187:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `BitAnd` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `BitAnd<&u64>` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `BitAnd` [INFO] [stdout] = note: this error originates in the macro `bitand_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/socket/mod.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | ID: can_id & STANDARD_MASK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/socket/mod.rs:179:29 [INFO] [stdout] | [INFO] [stdout] 179 | ID: can_id & EXTENDED_MASK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/socket/mod.rs:217:29 [INFO] [stdout] | [INFO] [stdout] 217 | self.frame.ID & STANDARD_MASK [INFO] [stdout] | ^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/socket/mod.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn can_id(&self) -> u32 { [INFO] [stdout] | --- expected `u32` because of return type [INFO] [stdout] 216 | if self.is_standard_frame() { [INFO] [stdout] 217 | self.frame.ID & STANDARD_MASK [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 217 | (self.frame.ID & STANDARD_MASK).try_into().unwrap() [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u64 & u32` [INFO] [stdout] --> src/socket/mod.rs:217:27 [INFO] [stdout] | [INFO] [stdout] 217 | self.frame.ID & STANDARD_MASK [INFO] [stdout] | ^ no implementation for `u64 & u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitAnd` is not implemented for `u64` [INFO] [stdout] help: the following other types implement trait `BitAnd` [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/bit.rs:174:8 [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `BitAnd` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/bit.rs:187:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `BitAnd` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `BitAnd<&u64>` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `BitAnd` [INFO] [stdout] = note: this error originates in the macro `bitand_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/socket/mod.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | self.frame.ID & EXTENDED_MASK [INFO] [stdout] | ^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/socket/mod.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn can_id(&self) -> u32 { [INFO] [stdout] | --- expected `u32` because of return type [INFO] [stdout] ... [INFO] [stdout] 219 | self.frame.ID & EXTENDED_MASK [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 219 | (self.frame.ID & EXTENDED_MASK).try_into().unwrap() [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u64 & u32` [INFO] [stdout] --> src/socket/mod.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | self.frame.ID & EXTENDED_MASK [INFO] [stdout] | ^ no implementation for `u64 & u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitAnd` is not implemented for `u64` [INFO] [stdout] help: the following other types implement trait `BitAnd` [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/bit.rs:174:8 [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `BitAnd` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/bit.rs:187:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `BitAnd` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `BitAnd<&u64>` [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `BitAnd` [INFO] [stdout] = note: this error originates in the macro `bitand_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/socket/mod.rs:350:15 [INFO] [stdout] | [INFO] [stdout] 350 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/socket/mod.rs:350:15 [INFO] [stdout] | [INFO] [stdout] 350 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/socket/mod.rs:724:15 [INFO] [stdout] | [INFO] [stdout] 724 | match CanOkError::try_from(error_code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/socket/mod.rs:724:15 [INFO] [stdout] | [INFO] [stdout] 724 | match CanOkError::try_from(error_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/socket/mod.rs:742:15 [INFO] [stdout] | [INFO] [stdout] 742 | match CanOkError::try_from(error_code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/socket/mod.rs:742:15 [INFO] [stdout] | [INFO] [stdout] 742 | match CanOkError::try_from(error_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/socket/mod.rs:765:15 [INFO] [stdout] | [INFO] [stdout] 765 | match CanOkError::try_from(error_code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/socket/mod.rs:765:15 [INFO] [stdout] | [INFO] [stdout] 765 | match CanOkError::try_from(error_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/socket/mod.rs:783:15 [INFO] [stdout] | [INFO] [stdout] 783 | match CanOkError::try_from(error_code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/socket/mod.rs:783:15 [INFO] [stdout] | [INFO] [stdout] 783 | match CanOkError::try_from(error_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/socket/mod.rs:800:15 [INFO] [stdout] | [INFO] [stdout] 800 | match CanOkError::try_from(error_code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/socket/mod.rs:800:15 [INFO] [stdout] | [INFO] [stdout] 800 | match CanOkError::try_from(error_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/socket/mod.rs:817:15 [INFO] [stdout] | [INFO] [stdout] 817 | match CanOkError::try_from(error_code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/socket/mod.rs:817:15 [INFO] [stdout] | [INFO] [stdout] 817 | match CanOkError::try_from(error_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/special.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 23 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 27 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 27 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/special.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/special.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/special.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 59 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 63 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 63 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/special.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/special.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/special.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 87 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 91 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 91 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/special.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/special.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/special.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 123 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 127 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 127 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/special.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/special.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/special.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 151 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 155 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 155 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/special.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 159 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/special.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 159 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/special.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 187 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 191 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 191 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/special.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/special.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/special.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 215 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 219 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 219 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/special.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/special.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/special.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 251 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 255 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 255 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/special.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 259 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/special.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 259 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/special.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 279 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 283 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 283 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/special.rs:287:15 [INFO] [stdout] | [INFO] [stdout] 287 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/special.rs:287:15 [INFO] [stdout] | [INFO] [stdout] 287 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/special.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 305 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 309 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 309 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/special.rs:313:15 [INFO] [stdout] | [INFO] [stdout] 313 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/special.rs:313:15 [INFO] [stdout] | [INFO] [stdout] 313 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/trace.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 20 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 24 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 24 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/trace.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/trace.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/trace.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 57 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 61 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 61 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/trace.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/trace.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/trace.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 89 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 93 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 93 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/trace.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/trace.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/trace.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 127 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 131 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 131 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/trace.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 135 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/trace.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 135 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/trace.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 155 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 159 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 159 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/trace.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/trace.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/trace.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 181 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 185 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 185 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/trace.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/trace.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/trace.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 249 | peak_lib()?.CAN_GetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 253 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | pub unsafe fn CAN_GetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 253 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/trace.rs:257:15 [INFO] [stdout] | [INFO] [stdout] 257 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/trace.rs:257:15 [INFO] [stdout] | [INFO] [stdout] 257 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/trace.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 281 | peak_lib()?.CAN_SetValue( [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 285 | data.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/peak-can-sys-0.2.0/src/bindings.rs:660:19 [INFO] [stdout] | [INFO] [stdout] 660 | pub unsafe fn CAN_SetValue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 285 | (data.len() as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: TryFrom` is not satisfied [INFO] [stdout] --> src/trace.rs:289:15 [INFO] [stdout] | [INFO] [stdout] 289 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CanOkError: From` is not satisfied [INFO] [stdout] --> src/trace.rs:289:15 [INFO] [stdout] | [INFO] [stdout] 289 | match CanOkError::try_from(code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryFrom` is not implemented for `CanOkError` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] --> src/error.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | impl TryFrom for CanOkError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `u32`, found `u64` [INFO] [stdout] = note: required for `u64` to implement `Into` [INFO] [stdout] = note: required for `CanOkError` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `peak-can` (lib) due to 288 previous errors [INFO] running `Command { std: "docker" "inspect" "33af785cb4aafa3c38b718cf1ac23823adc9545e534c8a0fcf187e4f539320a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33af785cb4aafa3c38b718cf1ac23823adc9545e534c8a0fcf187e4f539320a9", kill_on_drop: false }` [INFO] [stdout] 33af785cb4aafa3c38b718cf1ac23823adc9545e534c8a0fcf187e4f539320a9