[INFO] fetching crate veml6030 1.0.0... [INFO] checking veml6030-1.0.0 against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] extracting crate veml6030 1.0.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate veml6030 1.0.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate veml6030 1.0.0 [INFO] tweaked toml for crates.io crate veml6030 1.0.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate veml6030 1.0.0 on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate veml6030 1.0.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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 249f820d0321e85a1abbb1c68ad11173e6fdfeb4c0e4aa5f2f0065cf09e89781 [INFO] running `Command { std: "docker" "start" "-a" "249f820d0321e85a1abbb1c68ad11173e6fdfeb4c0e4aa5f2f0065cf09e89781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "249f820d0321e85a1abbb1c68ad11173e6fdfeb4c0e4aa5f2f0065cf09e89781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "249f820d0321e85a1abbb1c68ad11173e6fdfeb4c0e4aa5f2f0065cf09e89781", kill_on_drop: false }` [INFO] [stdout] 249f820d0321e85a1abbb1c68ad11173e6fdfeb4c0e4aa5f2f0065cf09e89781 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77ae965165603271ae1503f39941f60dbd8d0a2def91a44aecdb49edce38529f [INFO] running `Command { std: "docker" "start" "-a" "77ae965165603271ae1503f39941f60dbd8d0a2def91a44aecdb49edce38529f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling pulldown-cmark v0.11.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking embedded-time v0.12.1 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking gpio-cdev v0.6.0 [INFO] [stderr] Checking embedded-hal-mock v0.11.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling manyhow v0.11.4 [INFO] [stderr] Checking i2cdev v0.6.1 [INFO] [stderr] Checking spidev v0.6.0 [INFO] [stderr] Checking sysfs_gpio v0.6.2 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Compiling maybe-async-cfg v0.2.5 [INFO] [stderr] Checking unescaper v0.1.6 [INFO] [stderr] Checking serialport v4.7.2 [INFO] [stderr] Checking linux-embedded-hal v0.4.0 [INFO] [stderr] Checking veml6030 v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 43 | cfg_test!(enable_int, enable_interrupts, CFG_DEFAULT | BF::ALS_INT_EN); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 43 | cfg_test!(enable_int, enable_interrupts, CFG_DEFAULT | BF::ALS_INT_EN); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | cfg_test!(enable_int, enable_interrupts, CFG_DEFAULT | BF::ALS_INT_EN); [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 46 | / cfg_test!( [INFO] [stdout] 47 | | set_it_25, [INFO] [stdout] 48 | | set_integration_time, [INFO] [stdout] 49 | | CFG_DEFAULT | (0b1100 << 6), [INFO] [stdout] 50 | | IT::Ms25 [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 46 | / cfg_test!( [INFO] [stdout] 47 | | set_it_25, [INFO] [stdout] 48 | | set_integration_time, [INFO] [stdout] 49 | | CFG_DEFAULT | (0b1100 << 6), [INFO] [stdout] 50 | | IT::Ms25 [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | CFG_DEFAULT | (0b1100 << 6), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 52 | / cfg_test!( [INFO] [stdout] 53 | | set_it_50, [INFO] [stdout] 54 | | set_integration_time, [INFO] [stdout] 55 | | CFG_DEFAULT | (0b1000 << 6), [INFO] [stdout] 56 | | IT::Ms50 [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 52 | / cfg_test!( [INFO] [stdout] 53 | | set_it_50, [INFO] [stdout] 54 | | set_integration_time, [INFO] [stdout] 55 | | CFG_DEFAULT | (0b1000 << 6), [INFO] [stdout] 56 | | IT::Ms50 [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | CFG_DEFAULT | (0b1000 << 6), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 59 | / cfg_test!( [INFO] [stdout] 60 | | set_it_200, [INFO] [stdout] 61 | | set_integration_time, [INFO] [stdout] 62 | | CFG_DEFAULT | (0b0001 << 6), [INFO] [stdout] 63 | | IT::Ms200 [INFO] [stdout] 64 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 59 | / cfg_test!( [INFO] [stdout] 60 | | set_it_200, [INFO] [stdout] 61 | | set_integration_time, [INFO] [stdout] 62 | | CFG_DEFAULT | (0b0001 << 6), [INFO] [stdout] 63 | | IT::Ms200 [INFO] [stdout] 64 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | CFG_DEFAULT | (0b0001 << 6), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 65 | / cfg_test!( [INFO] [stdout] 66 | | set_it_400, [INFO] [stdout] 67 | | set_integration_time, [INFO] [stdout] 68 | | CFG_DEFAULT | (0b0010 << 6), [INFO] [stdout] 69 | | IT::Ms400 [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 65 | / cfg_test!( [INFO] [stdout] 66 | | set_it_400, [INFO] [stdout] 67 | | set_integration_time, [INFO] [stdout] 68 | | CFG_DEFAULT | (0b0010 << 6), [INFO] [stdout] 69 | | IT::Ms400 [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | CFG_DEFAULT | (0b0010 << 6), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 71 | / cfg_test!( [INFO] [stdout] 72 | | set_it_800, [INFO] [stdout] 73 | | set_integration_time, [INFO] [stdout] 74 | | CFG_DEFAULT | (0b0011 << 6), [INFO] [stdout] 75 | | IT::Ms800 [INFO] [stdout] 76 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 71 | / cfg_test!( [INFO] [stdout] 72 | | set_it_800, [INFO] [stdout] 73 | | set_integration_time, [INFO] [stdout] 74 | | CFG_DEFAULT | (0b0011 << 6), [INFO] [stdout] 75 | | IT::Ms800 [INFO] [stdout] 76 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | CFG_DEFAULT | (0b0011 << 6), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 79 | cfg_test!(set_gain_2, set_gain, CFG_DEFAULT | (1 << 11), Gain::Two); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 79 | cfg_test!(set_gain_2, set_gain, CFG_DEFAULT | (1 << 11), Gain::Two); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:79:45 [INFO] [stdout] | [INFO] [stdout] 79 | cfg_test!(set_gain_2, set_gain, CFG_DEFAULT | (1 << 11), Gain::Two); [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 80 | / cfg_test!( [INFO] [stdout] 81 | | set_gain_one_eighth, [INFO] [stdout] 82 | | set_gain, [INFO] [stdout] 83 | | CFG_DEFAULT | (2 << 11), [INFO] [stdout] 84 | | Gain::OneEighth [INFO] [stdout] 85 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 80 | / cfg_test!( [INFO] [stdout] 81 | | set_gain_one_eighth, [INFO] [stdout] 82 | | set_gain, [INFO] [stdout] 83 | | CFG_DEFAULT | (2 << 11), [INFO] [stdout] 84 | | Gain::OneEighth [INFO] [stdout] 85 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | CFG_DEFAULT | (2 << 11), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 86 | / cfg_test!( [INFO] [stdout] 87 | | set_gain_one_quarter, [INFO] [stdout] 88 | | set_gain, [INFO] [stdout] 89 | | CFG_DEFAULT | (3 << 11), [INFO] [stdout] 90 | | Gain::OneQuarter [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 86 | / cfg_test!( [INFO] [stdout] 87 | | set_gain_one_quarter, [INFO] [stdout] 88 | | set_gain, [INFO] [stdout] 89 | | CFG_DEFAULT | (3 << 11), [INFO] [stdout] 90 | | Gain::OneQuarter [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | CFG_DEFAULT | (3 << 11), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 94 | cfg_test!(set_fc_2, set_fault_count, CFG_DEFAULT | (1 << 4), FC::Two); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 94 | cfg_test!(set_fc_2, set_fault_count, CFG_DEFAULT | (1 << 4), FC::Two); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:94:50 [INFO] [stdout] | [INFO] [stdout] 94 | cfg_test!(set_fc_2, set_fault_count, CFG_DEFAULT | (1 << 4), FC::Two); [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 95 | cfg_test!(set_fc_4, set_fault_count, CFG_DEFAULT | (2 << 4), FC::Four); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 95 | cfg_test!(set_fc_4, set_fault_count, CFG_DEFAULT | (2 << 4), FC::Four); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 95 | cfg_test!(set_fc_4, set_fault_count, CFG_DEFAULT | (2 << 4), FC::Four); [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 96 | cfg_test!(set_fc_8, set_fault_count, CFG_DEFAULT | (3 << 4), FC::Eight); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 96 | cfg_test!(set_fc_8, set_fault_count, CFG_DEFAULT | (3 << 4), FC::Eight); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` which comes from the expansion of the macro `cfg_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:96:50 [INFO] [stdout] | [INFO] [stdout] 96 | cfg_test!(set_fc_8, set_fault_count, CFG_DEFAULT | (3 << 4), FC::Eight); [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 99 | / set_test!( [INFO] [stdout] 100 | | enable_psm_2, [INFO] [stdout] 101 | | enable_power_saving, [INFO] [stdout] 102 | | PSM, [INFO] [stdout] 103 | | BF::PSM_EN | (1 << 1), [INFO] [stdout] 104 | | PSM::Two [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 99 | / set_test!( [INFO] [stdout] 100 | | enable_psm_2, [INFO] [stdout] 101 | | enable_power_saving, [INFO] [stdout] 102 | | PSM, [INFO] [stdout] 103 | | BF::PSM_EN | (1 << 1), [INFO] [stdout] 104 | | PSM::Two [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | BF::PSM_EN | (1 << 1), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 106 | / set_test!( [INFO] [stdout] 107 | | enable_psm_3, [INFO] [stdout] 108 | | enable_power_saving, [INFO] [stdout] 109 | | PSM, [INFO] [stdout] 110 | | BF::PSM_EN | (2 << 1), [INFO] [stdout] 111 | | PSM::Three [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 106 | / set_test!( [INFO] [stdout] 107 | | enable_psm_3, [INFO] [stdout] 108 | | enable_power_saving, [INFO] [stdout] 109 | | PSM, [INFO] [stdout] 110 | | BF::PSM_EN | (2 << 1), [INFO] [stdout] 111 | | PSM::Three [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | BF::PSM_EN | (2 << 1), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 113 | / set_test!( [INFO] [stdout] 114 | | enable_psm_4, [INFO] [stdout] 115 | | enable_power_saving, [INFO] [stdout] 116 | | PSM, [INFO] [stdout] 117 | | BF::PSM_EN | (3 << 1), [INFO] [stdout] 118 | | PSM::Four [INFO] [stdout] 119 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 113 | / set_test!( [INFO] [stdout] 114 | | enable_psm_4, [INFO] [stdout] 115 | | enable_power_saving, [INFO] [stdout] 116 | | PSM, [INFO] [stdout] 117 | | BF::PSM_EN | (3 << 1), [INFO] [stdout] 118 | | PSM::Four [INFO] [stdout] 119 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `set_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | vec![Reg::$register, $value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | BF::PSM_EN | (3 << 1), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | vec![$value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 174 | / get_test!( [INFO] [stdout] 175 | | int_status_both, [INFO] [stdout] 176 | | read_interrupt_status, [INFO] [stdout] 177 | | ALS_INT, [INFO] [stdout] ... | [INFO] [stdout] 183 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `get_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | vec![$value as u8, ($value >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 174 | / get_test!( [INFO] [stdout] 175 | | int_status_both, [INFO] [stdout] 176 | | read_interrupt_status, [INFO] [stdout] 177 | | ALS_INT, [INFO] [stdout] ... | [INFO] [stdout] 183 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `get_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 134 | vec![$value (as u8).try_into().unwrap(), ($value >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | BF::INT_TH_HIGH | BF::INT_TH_LOW, [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 as u8, ($config2 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 231 | / read_lux_test!( [INFO] [stdout] 232 | | it100g14, [INFO] [stdout] 233 | | Ms100, [INFO] [stdout] 234 | | OneQuarter, [INFO] [stdout] ... | [INFO] [stdout] 238 | | 341.0 [INFO] [stdout] 239 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 as u8, ($config2 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 231 | / read_lux_test!( [INFO] [stdout] 232 | | it100g14, [INFO] [stdout] 233 | | Ms100, [INFO] [stdout] 234 | | OneQuarter, [INFO] [stdout] ... | [INFO] [stdout] 238 | | 341.0 [INFO] [stdout] 239 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 (as u8).try_into().unwrap(), ($config2 >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | CFG_DEFAULT | (3 << 11), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | vec![Reg::ALS_CONF, $config1 as u8, ($config1 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 240 | / read_lux_test!( [INFO] [stdout] 241 | | min, [INFO] [stdout] 242 | | Ms800, [INFO] [stdout] 243 | | Two, [INFO] [stdout] ... | [INFO] [stdout] 247 | | 5.328 [INFO] [stdout] 248 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | vec![Reg::ALS_CONF, $config1 as u8, ($config1 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 240 | / read_lux_test!( [INFO] [stdout] 241 | | min, [INFO] [stdout] 242 | | Ms800, [INFO] [stdout] 243 | | Two, [INFO] [stdout] ... | [INFO] [stdout] 247 | | 5.328 [INFO] [stdout] 248 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 199 | vec![Reg::ALS_CONF, $config1 (as u8).try_into().unwrap(), ($config1 >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | CFG_DEFAULT | (0b0011 << 6), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 as u8, ($config2 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 240 | / read_lux_test!( [INFO] [stdout] 241 | | min, [INFO] [stdout] 242 | | Ms800, [INFO] [stdout] 243 | | Two, [INFO] [stdout] ... | [INFO] [stdout] 247 | | 5.328 [INFO] [stdout] 248 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 as u8, ($config2 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 240 | / read_lux_test!( [INFO] [stdout] 241 | | min, [INFO] [stdout] 242 | | Ms800, [INFO] [stdout] 243 | | Two, [INFO] [stdout] ... | [INFO] [stdout] 247 | | 5.328 [INFO] [stdout] 248 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 (as u8).try_into().unwrap(), ($config2 >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:245:33 [INFO] [stdout] | [INFO] [stdout] 245 | CFG_DEFAULT | (0b0011 << 6) | (1 << 11), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | vec![Reg::ALS_CONF, $config1 as u8, ($config1 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 249 | / read_lux_test!( [INFO] [stdout] 250 | | max_applies_correction, [INFO] [stdout] 251 | | Ms25, [INFO] [stdout] 252 | | OneEighth, [INFO] [stdout] ... | [INFO] [stdout] 256 | | 3183.247 [INFO] [stdout] 257 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | vec![Reg::ALS_CONF, $config1 as u8, ($config1 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 249 | / read_lux_test!( [INFO] [stdout] 250 | | max_applies_correction, [INFO] [stdout] 251 | | Ms25, [INFO] [stdout] 252 | | OneEighth, [INFO] [stdout] ... | [INFO] [stdout] 256 | | 3183.247 [INFO] [stdout] 257 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 199 | vec![Reg::ALS_CONF, $config1 (as u8).try_into().unwrap(), ($config1 >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | CFG_DEFAULT | (0b1100 << 6), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 as u8, ($config2 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 249 | / read_lux_test!( [INFO] [stdout] 250 | | max_applies_correction, [INFO] [stdout] 251 | | Ms25, [INFO] [stdout] 252 | | OneEighth, [INFO] [stdout] ... | [INFO] [stdout] 256 | | 3183.247 [INFO] [stdout] 257 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 as u8, ($config2 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 249 | / read_lux_test!( [INFO] [stdout] 250 | | max_applies_correction, [INFO] [stdout] 251 | | Ms25, [INFO] [stdout] 252 | | OneEighth, [INFO] [stdout] ... | [INFO] [stdout] 256 | | 3183.247 [INFO] [stdout] 257 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 (as u8).try_into().unwrap(), ($config2 >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:254:33 [INFO] [stdout] | [INFO] [stdout] 254 | CFG_DEFAULT | (0b1100 << 6) | (2 << 11), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | vec![Reg::ALS_CONF, $config1 as u8, ($config1 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 258 | / read_lux_test!( [INFO] [stdout] 259 | | it50g1, [INFO] [stdout] 260 | | Ms50, [INFO] [stdout] 261 | | One, [INFO] [stdout] ... | [INFO] [stdout] 265 | | 170.496 [INFO] [stdout] 266 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | vec![Reg::ALS_CONF, $config1 as u8, ($config1 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 258 | / read_lux_test!( [INFO] [stdout] 259 | | it50g1, [INFO] [stdout] 260 | | Ms50, [INFO] [stdout] 261 | | One, [INFO] [stdout] ... | [INFO] [stdout] 265 | | 170.496 [INFO] [stdout] 266 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 199 | vec![Reg::ALS_CONF, $config1 (as u8).try_into().unwrap(), ($config1 >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | CFG_DEFAULT | (0b1000 << 6), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 as u8, ($config2 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 258 | / read_lux_test!( [INFO] [stdout] 259 | | it50g1, [INFO] [stdout] 260 | | Ms50, [INFO] [stdout] 261 | | One, [INFO] [stdout] ... | [INFO] [stdout] 265 | | 170.496 [INFO] [stdout] 266 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 as u8, ($config2 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 258 | / read_lux_test!( [INFO] [stdout] 259 | | it50g1, [INFO] [stdout] 260 | | Ms50, [INFO] [stdout] 261 | | One, [INFO] [stdout] ... | [INFO] [stdout] 265 | | 170.496 [INFO] [stdout] 266 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 (as u8).try_into().unwrap(), ($config2 >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | CFG_DEFAULT | (0b1000 << 6), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | vec![Reg::ALS_CONF, $config1 as u8, ($config1 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 267 | / read_lux_test!( [INFO] [stdout] 268 | | it200g14, [INFO] [stdout] 269 | | Ms200, [INFO] [stdout] 270 | | OneQuarter, [INFO] [stdout] ... | [INFO] [stdout] 274 | | 170.496 [INFO] [stdout] 275 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | vec![Reg::ALS_CONF, $config1 as u8, ($config1 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 267 | / read_lux_test!( [INFO] [stdout] 268 | | it200g14, [INFO] [stdout] 269 | | Ms200, [INFO] [stdout] 270 | | OneQuarter, [INFO] [stdout] ... | [INFO] [stdout] 274 | | 170.496 [INFO] [stdout] 275 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 199 | vec![Reg::ALS_CONF, $config1 (as u8).try_into().unwrap(), ($config1 >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | CFG_DEFAULT | (0b0001 << 6), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 as u8, ($config2 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 267 | / read_lux_test!( [INFO] [stdout] 268 | | it200g14, [INFO] [stdout] 269 | | Ms200, [INFO] [stdout] 270 | | OneQuarter, [INFO] [stdout] ... | [INFO] [stdout] 274 | | 170.496 [INFO] [stdout] 275 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 as u8, ($config2 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 267 | / read_lux_test!( [INFO] [stdout] 268 | | it200g14, [INFO] [stdout] 269 | | Ms200, [INFO] [stdout] 270 | | OneQuarter, [INFO] [stdout] ... | [INFO] [stdout] 274 | | 170.496 [INFO] [stdout] 275 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 (as u8).try_into().unwrap(), ($config2 >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | CFG_DEFAULT | (0b0001 << 6) | (3 << 11), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | vec![Reg::ALS_CONF, $config1 as u8, ($config1 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 276 | / read_lux_test!( [INFO] [stdout] 277 | | it400g18, [INFO] [stdout] 278 | | Ms400, [INFO] [stdout] 279 | | OneEighth, [INFO] [stdout] ... | [INFO] [stdout] 283 | | 170.496 [INFO] [stdout] 284 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | vec![Reg::ALS_CONF, $config1 as u8, ($config1 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 276 | / read_lux_test!( [INFO] [stdout] 277 | | it400g18, [INFO] [stdout] 278 | | Ms400, [INFO] [stdout] 279 | | OneEighth, [INFO] [stdout] ... | [INFO] [stdout] 283 | | 170.496 [INFO] [stdout] 284 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 199 | vec![Reg::ALS_CONF, $config1 (as u8).try_into().unwrap(), ($config1 >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | CFG_DEFAULT | (0b0010 << 6), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 as u8, ($config2 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u16`, found `u8` [INFO] [stdout] ... [INFO] [stdout] 276 | / read_lux_test!( [INFO] [stdout] 277 | | it400g18, [INFO] [stdout] 278 | | Ms400, [INFO] [stdout] 279 | | OneEighth, [INFO] [stdout] ... | [INFO] [stdout] 283 | | 170.496 [INFO] [stdout] 284 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 as u8, ($config2 >> 8) as u8], [INFO] [stdout] | ^^^^^ expected `u8`, found `u16` [INFO] [stdout] ... [INFO] [stdout] 276 | / read_lux_test!( [INFO] [stdout] 277 | | it400g18, [INFO] [stdout] 278 | | Ms400, [INFO] [stdout] 279 | | OneEighth, [INFO] [stdout] ... | [INFO] [stdout] 283 | | 170.496 [INFO] [stdout] 284 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_lux_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 203 | vec![Reg::ALS_CONF, $config2 (as u8).try_into().unwrap(), ($config2 >> 8) as u8], [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u16 | u8` [INFO] [stdout] --> tests/integration.rs:281:33 [INFO] [stdout] | [INFO] [stdout] 281 | CFG_DEFAULT | (0b0010 << 6) | (2 << 11), [INFO] [stdout] | ^ no implementation for `u16 | u8` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr` is not implemented for `u16` [INFO] [stdout] help: the following other types implement trait `BitOr` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:278:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/ops/bit.rs:291:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:33:8 [INFO] [stdout] | [INFO] [stdout] = note: `u16` implements `BitOr<&u16>` [INFO] [stdout] ::: /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/internal_macros.rs:44:8 [INFO] [stdout] | [INFO] [stdout] = note: `&u16` implements `BitOr` [INFO] [stdout] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [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 `veml6030` (test "integration") due to 81 previous errors [INFO] running `Command { std: "docker" "inspect" "77ae965165603271ae1503f39941f60dbd8d0a2def91a44aecdb49edce38529f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77ae965165603271ae1503f39941f60dbd8d0a2def91a44aecdb49edce38529f", kill_on_drop: false }` [INFO] [stdout] 77ae965165603271ae1503f39941f60dbd8d0a2def91a44aecdb49edce38529f