[INFO] fetching crate bq769x0 0.3.1...
[INFO] checking bq769x0-0.3.1 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate bq769x0 0.3.1 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate bq769x0 0.3.1 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bq769x0 0.3.1
[INFO] finished tweaking crates.io crate bq769x0 0.3.1
[INFO] tweaked toml for crates.io crate bq769x0 0.3.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 29 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (available: v2.6.0)
[INFO] [stderr]       Adding cortex-m v0.6.7 (available: v0.7.7)
[INFO] [stderr]       Adding embedded-hal v0.2.7 (available: v1.0.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ce12dfad9c00814ac4cc2efbffb9344917ace11efc699964776c7f51c760a6af
[INFO] running `Command { std: "docker" "start" "-a" "ce12dfad9c00814ac4cc2efbffb9344917ace11efc699964776c7f51c760a6af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ce12dfad9c00814ac4cc2efbffb9344917ace11efc699964776c7f51c760a6af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce12dfad9c00814ac4cc2efbffb9344917ace11efc699964776c7f51c760a6af", kill_on_drop: false }`
[INFO] [stdout] ce12dfad9c00814ac4cc2efbffb9344917ace11efc699964776c7f51c760a6af
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 889dc8d9e54e071b77716bbb033345cf831b25f5685a95d69f615d281ec1bce6
[INFO] running `Command { std: "docker" "start" "-a" "889dc8d9e54e071b77716bbb033345cf831b25f5685a95d69f615d281ec1bce6", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling cortex-m v0.6.7
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]     Checking crc-any v2.5.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]     Checking volatile-register v0.2.2
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking generic-array v0.13.3
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]     Checking as-slice v0.1.5
[INFO] [stderr]     Checking aligned v0.3.5
[INFO] [stderr]     Checking bq769x0 v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(const_generics)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(const_evaluatable_checked)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: renamed to `generic_const_exprs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(const_generics)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(const_evaluatable_checked)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: renamed to `generic_const_exprs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]    --> src/lib.rs:450:44
[INFO] [stdout]     |
[INFO] [stdout] 450 | impl<const X: usize> BQ769x0<X> where [(); X * 2]: Sized, [(); X * 4]: Sized {
[INFO] [stdout]     |                                            ^ cannot perform const operation using `X`
[INFO] [stdout]     |
[INFO] [stdout]     = help: const parameters may only be used as standalone arguments, i.e. `X`
[INFO] [stdout]     = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]    --> src/lib.rs:450:64
[INFO] [stdout]     |
[INFO] [stdout] 450 | impl<const X: usize> BQ769x0<X> where [(); X * 2]: Sized, [(); X * 4]: Sized {
[INFO] [stdout]     |                                                                ^ cannot perform const operation using `X`
[INFO] [stdout]     |
[INFO] [stdout]     = help: const parameters may only be used as standalone arguments, i.e. `X`
[INFO] [stdout]     = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]    --> src/lib.rs:634:29
[INFO] [stdout]     |
[INFO] [stdout] 634 |         let mut buf = [0u8; X * 2];
[INFO] [stdout]     |                             ^ cannot perform const operation using `X`
[INFO] [stdout]     |
[INFO] [stdout]     = help: const parameters may only be used as standalone arguments, i.e. `X`
[INFO] [stdout]     = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `std`
[INFO] [stdout]  --> src/lib.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(not(std), no_std)]
[INFO] [stdout]   |                 ^^^ help: found config with similar value: `feature = "std"`
[INFO] [stdout]   |
[INFO] [stdout]   = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stdout]   = help: consider using a Cargo feature instead
[INFO] [stdout]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]            [lints.rust]
[INFO] [stdout]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std)'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `no_std`
[INFO] [stdout]    --> src/lib.rs:500:15
[INFO] [stdout]     |
[INFO] [stdout] 500 |         #[cfg(no_std)] {
[INFO] [stdout]     |               ^^^^^^ help: found config with similar value: `feature = "no_std"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `no_std`
[INFO] [stdout]    --> src/lib.rs:554:15
[INFO] [stdout]     |
[INFO] [stdout] 554 |         #[cfg(no_std)] {
[INFO] [stdout]     |               ^^^^^^ help: found config with similar value: `feature = "no_std"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]    --> src/lib.rs:450:44
[INFO] [stdout]     |
[INFO] [stdout] 450 | impl<const X: usize> BQ769x0<X> where [(); X * 2]: Sized, [(); X * 4]: Sized {
[INFO] [stdout]     |                                            ^ cannot perform const operation using `X`
[INFO] [stdout]     |
[INFO] [stdout]     = help: const parameters may only be used as standalone arguments, i.e. `X`
[INFO] [stdout]     = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]    --> src/lib.rs:450:64
[INFO] [stdout]     |
[INFO] [stdout] 450 | impl<const X: usize> BQ769x0<X> where [(); X * 2]: Sized, [(); X * 4]: Sized {
[INFO] [stdout]     |                                                                ^ cannot perform const operation using `X`
[INFO] [stdout]     |
[INFO] [stdout]     = help: const parameters may only be used as standalone arguments, i.e. `X`
[INFO] [stdout]     = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: generic parameters may not be used in const operations
[INFO] [stdout]    --> src/lib.rs:634:29
[INFO] [stdout]     |
[INFO] [stdout] 634 |         let mut buf = [0u8; X * 2];
[INFO] [stdout]     |                             ^ cannot perform const operation using `X`
[INFO] [stdout]     |
[INFO] [stdout]     = help: const parameters may only be used as standalone arguments, i.e. `X`
[INFO] [stdout]     = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `std`
[INFO] [stdout]  --> src/lib.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(not(std), no_std)]
[INFO] [stdout]   |                 ^^^ help: found config with similar value: `feature = "std"`
[INFO] [stdout]   |
[INFO] [stdout]   = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stdout]   = help: consider using a Cargo feature instead
[INFO] [stdout]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]            [lints.rust]
[INFO] [stdout]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std)'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `no_std`
[INFO] [stdout]    --> src/lib.rs:500:15
[INFO] [stdout]     |
[INFO] [stdout] 500 |         #[cfg(no_std)] {
[INFO] [stdout]     |               ^^^^^^ help: found config with similar value: `feature = "no_std"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `no_std`
[INFO] [stdout]    --> src/lib.rs:554:15
[INFO] [stdout]     |
[INFO] [stdout] 554 |         #[cfg(no_std)] {
[INFO] [stdout]     |               ^^^^^^ help: found config with similar value: `feature = "no_std"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_panic` has been stable since 1.57.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(const_panic)]
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_panic` has been stable since 1.57.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(const_panic)]
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]     --> src/lib.rs:1039:27
[INFO] [stdout]      |
[INFO] [stdout] 1039 |         let mut bq769x0 = BQ769x0::new(0x08);
[INFO] [stdout]      |                           ^^^^^^^^^^^^------ argument #2 of type `u8` is missing
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/lib.rs:451:18
[INFO] [stdout]      |
[INFO] [stdout] 451  |     pub const fn new(dev_address: u8, cell_count: u8) -> Option<Self> {
[INFO] [stdout]      |                  ^^^ ---------------  --------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]      |
[INFO] [stdout] 1039 |         let mut bq769x0 = BQ769x0::new(0x08, /* u8 */);
[INFO] [stdout]      |                                       ~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0557`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bq769x0` (lib) due to 5 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `init` found for enum `core::option::Option` in the current scope
[INFO] [stdout]     --> src/lib.rs:1051:23
[INFO] [stdout]      |
[INFO] [stdout] 1051 |         match bq769x0.init(&mut i2c, &config) {
[INFO] [stdout]      |                       ^^^^ method not found in `Option<BQ769x0<_>>`
[INFO] [stdout]      |
[INFO] [stdout] note: the method `init` exists on the type `BQ769x0<_>`
[INFO] [stdout]     --> src/lib.rs:828:5
[INFO] [stdout]      |
[INFO] [stdout] 828  | /     pub fn init<I2C>(&mut self, i2c: &mut I2C, config: &Config) -> Result<CalculatedValues, Error>
[INFO] [stdout] 829  | |         where I2C: embedded_hal::blocking::i2c::Write + embedded_hal::blocking::i2c::WriteRead
[INFO] [stdout]      | |______________________________________________________________________________________________^
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `BQ769x0<_>` value, panicking if the value is an `Option::None`
[INFO] [stdout]      |
[INFO] [stdout] 1051 |         match bq769x0.expect("REASON").init(&mut i2c, &config) {
[INFO] [stdout]      |                      +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `adc_gain` found for enum `core::option::Option` in the current scope
[INFO] [stdout]     --> src/lib.rs:1054:72
[INFO] [stdout]      |
[INFO] [stdout] 1054 |                 std::println!("adc gain:{}uV/LSB offset:{}mV", bq769x0.adc_gain(), bq769x0.adc_offset());
[INFO] [stdout]      |                                                                        ^^^^^^^^ method not found in `Option<BQ769x0<_>>`
[INFO] [stdout]      |
[INFO] [stdout] note: the method `adc_gain` exists on the type `BQ769x0<_>`
[INFO] [stdout]     --> src/lib.rs:488:5
[INFO] [stdout]      |
[INFO] [stdout] 488  |     pub fn adc_gain(&self) -> u16 {
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `BQ769x0<_>` value, panicking if the value is an `Option::None`
[INFO] [stdout]      |
[INFO] [stdout] 1054 |                 std::println!("adc gain:{}uV/LSB offset:{}mV", bq769x0.expect("REASON").adc_gain(), bq769x0.adc_offset());
[INFO] [stdout]      |                                                                       +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `adc_offset` found for enum `core::option::Option` in the current scope
[INFO] [stdout]     --> src/lib.rs:1054:92
[INFO] [stdout]      |
[INFO] [stdout] 1054 |                 std::println!("adc gain:{}uV/LSB offset:{}mV", bq769x0.adc_gain(), bq769x0.adc_offset());
[INFO] [stdout]      |                                                                                            ^^^^^^^^^^ method not found in `Option<BQ769x0<_>>`
[INFO] [stdout]      |
[INFO] [stdout] note: the method `adc_offset` exists on the type `BQ769x0<_>`
[INFO] [stdout]     --> src/lib.rs:492:5
[INFO] [stdout]      |
[INFO] [stdout] 492  |     pub fn adc_offset(&self) -> i8 {
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `BQ769x0<_>` value, panicking if the value is an `Option::None`
[INFO] [stdout]      |
[INFO] [stdout] 1054 |                 std::println!("adc gain:{}uV/LSB offset:{}mV", bq769x0.adc_gain(), bq769x0.expect("REASON").adc_offset());
[INFO] [stdout]      |                                                                                           +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0557, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bq769x0` (lib test) due to 9 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "889dc8d9e54e071b77716bbb033345cf831b25f5685a95d69f615d281ec1bce6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "889dc8d9e54e071b77716bbb033345cf831b25f5685a95d69f615d281ec1bce6", kill_on_drop: false }`
[INFO] [stdout] 889dc8d9e54e071b77716bbb033345cf831b25f5685a95d69f615d281ec1bce6
