[INFO] fetching crate pca9535 1.1.0...
[INFO] testing pca9535-1.1.0 against 1.62.0 for beta-1.63-1
[INFO] extracting crate pca9535 1.1.0 into /workspace/builds/worker-6/source
[INFO] validating manifest of crates.io crate pca9535 1.1.0 on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-6/source/.cargo/config.toml
[INFO] started tweaking crates.io crate pca9535 1.1.0
[INFO] finished tweaking crates.io crate pca9535 1.1.0
[INFO] tweaked toml for crates.io crate pca9535 1.1.0 written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serial_test v0.6.0
[INFO] [stderr]   Downloaded embedded-hal v1.0.0-alpha.5
[INFO] [stderr]   Downloaded spin_sleep v1.1.1
[INFO] [stderr]   Downloaded serial_test_derive v0.6.0
[INFO] [stderr]   Downloaded rppal v0.13.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c4cebb2d26ee5fe3ef9b531c7092b0e8e5f6a7324240eca56942234aaf2d3d64
[INFO] running `Command { std: "docker" "start" "-a" "c4cebb2d26ee5fe3ef9b531c7092b0e8e5f6a7324240eca56942234aaf2d3d64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4cebb2d26ee5fe3ef9b531c7092b0e8e5f6a7324240eca56942234aaf2d3d64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4cebb2d26ee5fe3ef9b531c7092b0e8e5f6a7324240eca56942234aaf2d3d64", kill_on_drop: false }`
[INFO] [stdout] c4cebb2d26ee5fe3ef9b531c7092b0e8e5f6a7324240eca56942234aaf2d3d64
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c25ff57c8cf2b6e670c709488836341260c5ce4311da8d345892912c6ae66f65
[INFO] running `Command { std: "docker" "start" "-a" "c25ff57c8cf2b6e670c709488836341260c5ce4311da8d345892912c6ae66f65", kill_on_drop: false }`
[INFO] [stderr]    Compiling nb v1.0.0
[INFO] [stderr]    Compiling embedded-hal v1.0.0-alpha.5
[INFO] [stderr]    Compiling pca9535 v1.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.93s
[INFO] running `Command { std: "docker" "inspect" "c25ff57c8cf2b6e670c709488836341260c5ce4311da8d345892912c6ae66f65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c25ff57c8cf2b6e670c709488836341260c5ce4311da8d345892912c6ae66f65", kill_on_drop: false }`
[INFO] [stdout] c25ff57c8cf2b6e670c709488836341260c5ce4311da8d345892912c6ae66f65
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7ab1a4ae3e54cf53c8d184ddd35830be81c761b535d68835bf664af9baf979d9
[INFO] running `Command { std: "docker" "start" "-a" "7ab1a4ae3e54cf53c8d184ddd35830be81c761b535d68835bf664af9baf979d9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling rustversion v1.0.7
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling spin_sleep v1.1.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling rppal v0.13.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling serial_test_derive v0.6.0
[INFO] [stderr]    Compiling serial_test v0.6.0
[INFO] [stderr]    Compiling pca9535 v1.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `shared_bus`
[INFO] [stdout]  --> tests/common/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use shared_bus::{BusManager, I2cProxy};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `shared_bus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `shared_bus`
[INFO] [stdout]   --> tests/common/mod.rs:18:35
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let i2c_bus: &'static _ = shared_bus::new_std!(I2c = i2c).unwrap();
[INFO] [stdout]    |                                   ^^^^^^^^^^ use of undeclared crate or module `shared_bus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `shared_bus`
[INFO] [stdout]  --> tests/common/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use shared_bus::{BusManager, I2cProxy};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `shared_bus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `shared_bus`
[INFO] [stdout]   --> tests/common/mod.rs:18:35
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let i2c_bus: &'static _ = shared_bus::new_std!(I2c = i2c).unwrap();
[INFO] [stdout]    |                                   ^^^^^^^^^^ use of undeclared crate or module `shared_bus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `I2C_BUS` in the current scope
[INFO] [stdout]   --> tests/immediate.rs:14:32
[INFO] [stdout]    |
[INFO] [stdout] 14 |           let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout]    |                                  ^^^^ method not found in `I2C_BUS`
[INFO] [stdout]    |
[INFO] [stdout]   ::: tests/common/mod.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / lazy_static! {
[INFO] [stdout] 16 | |     pub static ref I2C_BUS: Mutex<&'static BusManager<Mutex<I2c>>> = {
[INFO] [stdout] 17 | |         let i2c = I2c::new().unwrap();
[INFO] [stdout] 18 | |         let i2c_bus: &'static _ = shared_bus::new_std!(I2c = i2c).unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     };
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_- method `lock` not found for this
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `ExpanderMutex`
[INFO] [stdout]            candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `I2C_BUS` in the current scope
[INFO] [stdout]   --> tests/cached.rs:22:32
[INFO] [stdout]    |
[INFO] [stdout] 22 |           let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout]    |                                  ^^^^ method not found in `I2C_BUS`
[INFO] [stdout]    |
[INFO] [stdout]   ::: tests/common/mod.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / lazy_static! {
[INFO] [stdout] 16 | |     pub static ref I2C_BUS: Mutex<&'static BusManager<Mutex<I2c>>> = {
[INFO] [stdout] 17 | |         let i2c = I2c::new().unwrap();
[INFO] [stdout] 18 | |         let i2c_bus: &'static _ = shared_bus::new_std!(I2c = i2c).unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     };
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_- method `lock` not found for this
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `ExpanderMutex`
[INFO] [stdout]            candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]   --> tests/immediate.rs:23:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | / lazy_static! {
[INFO] [stdout] 13 | |     static ref EXPANDER: Mutex<ImmediateExpander> = {
[INFO] [stdout] 14 | |         let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 15 | |         let expander = Pca9535Immediate::new(i2c_bus.acquire_i2c(), ADDR);
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | |     };
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 23 |       let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]    |                                     ^^^^ method not found in `EXPANDER`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `ExpanderMutex`
[INFO] [stdout]            candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]   --> tests/cached.rs:33:35
[INFO] [stdout]    |
[INFO] [stdout] 15 | / lazy_static! {
[INFO] [stdout] 16 | |     static ref INTERRUPT_PIN: InputPin = {
[INFO] [stdout] 17 | |         let gpio = Gpio::new().unwrap();
[INFO] [stdout] 18 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |     };
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 33 |       let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]    |                                     ^^^^ method not found in `EXPANDER`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `ExpanderMutex`
[INFO] [stdout]            candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]   --> tests/immediate.rs:44:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | / lazy_static! {
[INFO] [stdout] 13 | |     static ref EXPANDER: Mutex<ImmediateExpander> = {
[INFO] [stdout] 14 | |         let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 15 | |         let expander = Pca9535Immediate::new(i2c_bus.acquire_i2c(), ADDR);
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | |     };
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 44 |       let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]    |                                     ^^^^ method not found in `EXPANDER`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `ExpanderMutex`
[INFO] [stdout]            candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]   --> tests/cached.rs:55:35
[INFO] [stdout]    |
[INFO] [stdout] 15 | / lazy_static! {
[INFO] [stdout] 16 | |     static ref INTERRUPT_PIN: InputPin = {
[INFO] [stdout] 17 | |         let gpio = Gpio::new().unwrap();
[INFO] [stdout] 18 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |     };
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 55 |       let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]    |                                     ^^^^ method not found in `EXPANDER`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `ExpanderMutex`
[INFO] [stdout]            candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]   --> tests/immediate.rs:76:39
[INFO] [stdout]    |
[INFO] [stdout] 12 | / lazy_static! {
[INFO] [stdout] 13 | |     static ref EXPANDER: Mutex<ImmediateExpander> = {
[INFO] [stdout] 14 | |         let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 15 | |         let expander = Pca9535Immediate::new(i2c_bus.acquire_i2c(), ADDR);
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | |     };
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 76 |           let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]    |                                         ^^^^ method not found in `EXPANDER`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `ExpanderMutex`
[INFO] [stdout]            candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]   --> tests/cached.rs:87:39
[INFO] [stdout]    |
[INFO] [stdout] 15 | / lazy_static! {
[INFO] [stdout] 16 | |     static ref INTERRUPT_PIN: InputPin = {
[INFO] [stdout] 17 | |         let gpio = Gpio::new().unwrap();
[INFO] [stdout] 18 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |     };
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 87 |           let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]    |                                         ^^^^ method not found in `EXPANDER`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `ExpanderMutex`
[INFO] [stdout]            candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]   --> tests/immediate.rs:90:39
[INFO] [stdout]    |
[INFO] [stdout] 12 | / lazy_static! {
[INFO] [stdout] 13 | |     static ref EXPANDER: Mutex<ImmediateExpander> = {
[INFO] [stdout] 14 | |         let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 15 | |         let expander = Pca9535Immediate::new(i2c_bus.acquire_i2c(), ADDR);
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | |     };
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 90 |           let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]    |                                         ^^^^ method not found in `EXPANDER`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `ExpanderMutex`
[INFO] [stdout]            candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]    --> tests/cached.rs:101:39
[INFO] [stdout]     |
[INFO] [stdout] 15  | / lazy_static! {
[INFO] [stdout] 16  | |     static ref INTERRUPT_PIN: InputPin = {
[INFO] [stdout] 17  | |         let gpio = Gpio::new().unwrap();
[INFO] [stdout] 18  | |
[INFO] [stdout] ...   |
[INFO] [stdout] 27  | |     };
[INFO] [stdout] 28  | | }
[INFO] [stdout]     | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 101 |           let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]     |                                         ^^^^ method not found in `EXPANDER`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]    --> tests/immediate.rs:104:39
[INFO] [stdout]     |
[INFO] [stdout] 12  | / lazy_static! {
[INFO] [stdout] 13  | |     static ref EXPANDER: Mutex<ImmediateExpander> = {
[INFO] [stdout] 14  | |         let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 15  | |         let expander = Pca9535Immediate::new(i2c_bus.acquire_i2c(), ADDR);
[INFO] [stdout] ...   |
[INFO] [stdout] 18  | |     };
[INFO] [stdout] 19  | | }
[INFO] [stdout]     | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 104 |           let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]     |                                         ^^^^ method not found in `EXPANDER`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]    --> tests/cached.rs:115:39
[INFO] [stdout]     |
[INFO] [stdout] 15  | / lazy_static! {
[INFO] [stdout] 16  | |     static ref INTERRUPT_PIN: InputPin = {
[INFO] [stdout] 17  | |         let gpio = Gpio::new().unwrap();
[INFO] [stdout] 18  | |
[INFO] [stdout] ...   |
[INFO] [stdout] 27  | |     };
[INFO] [stdout] 28  | | }
[INFO] [stdout]     | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 115 |           let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]     |                                         ^^^^ method not found in `EXPANDER`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]    --> tests/immediate.rs:118:39
[INFO] [stdout]     |
[INFO] [stdout] 12  | / lazy_static! {
[INFO] [stdout] 13  | |     static ref EXPANDER: Mutex<ImmediateExpander> = {
[INFO] [stdout] 14  | |         let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 15  | |         let expander = Pca9535Immediate::new(i2c_bus.acquire_i2c(), ADDR);
[INFO] [stdout] ...   |
[INFO] [stdout] 18  | |     };
[INFO] [stdout] 19  | | }
[INFO] [stdout]     | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 118 |           let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]     |                                         ^^^^ method not found in `EXPANDER`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]    --> tests/cached.rs:129:39
[INFO] [stdout]     |
[INFO] [stdout] 15  | / lazy_static! {
[INFO] [stdout] 16  | |     static ref INTERRUPT_PIN: InputPin = {
[INFO] [stdout] 17  | |         let gpio = Gpio::new().unwrap();
[INFO] [stdout] 18  | |
[INFO] [stdout] ...   |
[INFO] [stdout] 27  | |     };
[INFO] [stdout] 28  | | }
[INFO] [stdout]     | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 129 |           let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]     |                                         ^^^^ method not found in `EXPANDER`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]    --> tests/immediate.rs:132:39
[INFO] [stdout]     |
[INFO] [stdout] 12  | / lazy_static! {
[INFO] [stdout] 13  | |     static ref EXPANDER: Mutex<ImmediateExpander> = {
[INFO] [stdout] 14  | |         let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 15  | |         let expander = Pca9535Immediate::new(i2c_bus.acquire_i2c(), ADDR);
[INFO] [stdout] ...   |
[INFO] [stdout] 18  | |     };
[INFO] [stdout] 19  | | }
[INFO] [stdout]     | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 132 |           let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]     |                                         ^^^^ method not found in `EXPANDER`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]    --> tests/cached.rs:143:39
[INFO] [stdout]     |
[INFO] [stdout] 15  | / lazy_static! {
[INFO] [stdout] 16  | |     static ref INTERRUPT_PIN: InputPin = {
[INFO] [stdout] 17  | |         let gpio = Gpio::new().unwrap();
[INFO] [stdout] 18  | |
[INFO] [stdout] ...   |
[INFO] [stdout] 27  | |     };
[INFO] [stdout] 28  | | }
[INFO] [stdout]     | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 143 |           let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]     |                                         ^^^^ method not found in `EXPANDER`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]    --> tests/immediate.rs:160:39
[INFO] [stdout]     |
[INFO] [stdout] 12  | / lazy_static! {
[INFO] [stdout] 13  | |     static ref EXPANDER: Mutex<ImmediateExpander> = {
[INFO] [stdout] 14  | |         let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 15  | |         let expander = Pca9535Immediate::new(i2c_bus.acquire_i2c(), ADDR);
[INFO] [stdout] ...   |
[INFO] [stdout] 18  | |     };
[INFO] [stdout] 19  | | }
[INFO] [stdout]     | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 160 |           let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]     |                                         ^^^^ method not found in `EXPANDER`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `EXPANDER` in the current scope
[INFO] [stdout]    --> tests/cached.rs:174:39
[INFO] [stdout]     |
[INFO] [stdout] 15  | / lazy_static! {
[INFO] [stdout] 16  | |     static ref INTERRUPT_PIN: InputPin = {
[INFO] [stdout] 17  | |         let gpio = Gpio::new().unwrap();
[INFO] [stdout] 18  | |
[INFO] [stdout] ...   |
[INFO] [stdout] 27  | |     };
[INFO] [stdout] 28  | | }
[INFO] [stdout]     | |_- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 174 |           let expander = &mut *EXPANDER.lock().unwrap();
[INFO] [stdout]     |                                         ^^^^ method not found in `EXPANDER`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `I2C_BUS` in the current scope
[INFO] [stdout]    --> tests/immediate.rs:216:36
[INFO] [stdout]     |
[INFO] [stdout] 216 |               let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout]     |                                      ^^^^ method not found in `I2C_BUS`
[INFO] [stdout]     |
[INFO] [stdout]    ::: tests/common/mod.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout] 15  | / lazy_static! {
[INFO] [stdout] 16  | |     pub static ref I2C_BUS: Mutex<&'static BusManager<Mutex<I2c>>> = {
[INFO] [stdout] 17  | |         let i2c = I2c::new().unwrap();
[INFO] [stdout] 18  | |         let i2c_bus: &'static _ = shared_bus::new_std!(I2c = i2c).unwrap();
[INFO] [stdout] ...   |
[INFO] [stdout] 40  | |     };
[INFO] [stdout] 41  | | }
[INFO] [stdout]     | |_- method `lock` not found for this
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `I2C_BUS` in the current scope
[INFO] [stdout]    --> tests/cached.rs:234:36
[INFO] [stdout]     |
[INFO] [stdout] 234 |               let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout]     |                                      ^^^^ method not found in `I2C_BUS`
[INFO] [stdout]     |
[INFO] [stdout]    ::: tests/common/mod.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout] 15  | / lazy_static! {
[INFO] [stdout] 16  | |     pub static ref I2C_BUS: Mutex<&'static BusManager<Mutex<I2c>>> = {
[INFO] [stdout] 17  | |         let i2c = I2c::new().unwrap();
[INFO] [stdout] 18  | |         let i2c_bus: &'static _ = shared_bus::new_std!(I2c = i2c).unwrap();
[INFO] [stdout] ...   |
[INFO] [stdout] 40  | |     };
[INFO] [stdout] 41  | | }
[INFO] [stdout]     | |_- method `lock` not found for this
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `PCA9535_GPIO` in the current scope
[INFO] [stdout]    --> tests/immediate.rs:239:41
[INFO] [stdout]     |
[INFO] [stdout] 214 | /     lazy_static! {
[INFO] [stdout] 215 | |         static ref IO_EXPANDER: IoExpander<ShareableI2c, ImmediateExpander, Mutex<ImmediateExpander>> = {
[INFO] [stdout] 216 | |             let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 217 | |             let expander = Pca9535Immediate::new(i2c_bus.acquire_i2c(), ADDR);
[INFO] [stdout] ...   |
[INFO] [stdout] 232 | |         };
[INFO] [stdout] 233 | |     }
[INFO] [stdout]     | |_____- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 239 |           let pca9535_gpio = PCA9535_GPIO.lock().unwrap();
[INFO] [stdout]     |                                           ^^^^ method not found in `PCA9535_GPIO`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `PCA9535_GPIO` in the current scope
[INFO] [stdout]    --> tests/cached.rs:258:41
[INFO] [stdout]     |
[INFO] [stdout] 232 | /     lazy_static! {
[INFO] [stdout] 233 | |         static ref IO_EXPANDER: IoExpander<ShareableI2c, CachedExpander, Mutex<CachedExpander>> = {
[INFO] [stdout] 234 | |             let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 235 | |             let expander =
[INFO] [stdout] ...   |
[INFO] [stdout] 251 | |         };
[INFO] [stdout] 252 | |     }
[INFO] [stdout]     | |_____- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 258 |           let pca9535_gpio = PCA9535_GPIO.lock().unwrap();
[INFO] [stdout]     |                                           ^^^^ method not found in `PCA9535_GPIO`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `PCA9535_GPIO` in the current scope
[INFO] [stdout]    --> tests/immediate.rs:250:41
[INFO] [stdout]     |
[INFO] [stdout] 214 | /     lazy_static! {
[INFO] [stdout] 215 | |         static ref IO_EXPANDER: IoExpander<ShareableI2c, ImmediateExpander, Mutex<ImmediateExpander>> = {
[INFO] [stdout] 216 | |             let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 217 | |             let expander = Pca9535Immediate::new(i2c_bus.acquire_i2c(), ADDR);
[INFO] [stdout] ...   |
[INFO] [stdout] 232 | |         };
[INFO] [stdout] 233 | |     }
[INFO] [stdout]     | |_____- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 250 |           let pca9535_gpio = PCA9535_GPIO.lock().unwrap();
[INFO] [stdout]     |                                           ^^^^ method not found in `PCA9535_GPIO`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `PCA9535_GPIO` in the current scope
[INFO] [stdout]    --> tests/immediate.rs:261:45
[INFO] [stdout]     |
[INFO] [stdout] 214 | /     lazy_static! {
[INFO] [stdout] 215 | |         static ref IO_EXPANDER: IoExpander<ShareableI2c, ImmediateExpander, Mutex<ImmediateExpander>> = {
[INFO] [stdout] 216 | |             let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 217 | |             let expander = Pca9535Immediate::new(i2c_bus.acquire_i2c(), ADDR);
[INFO] [stdout] ...   |
[INFO] [stdout] 232 | |         };
[INFO] [stdout] 233 | |     }
[INFO] [stdout]     | |_____- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 261 |           let mut pca9535_gpio = PCA9535_GPIO.lock().unwrap();
[INFO] [stdout]     |                                               ^^^^ method not found in `PCA9535_GPIO`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `PCA9535_GPIO` in the current scope
[INFO] [stdout]    --> tests/cached.rs:269:41
[INFO] [stdout]     |
[INFO] [stdout] 232 | /     lazy_static! {
[INFO] [stdout] 233 | |         static ref IO_EXPANDER: IoExpander<ShareableI2c, CachedExpander, Mutex<CachedExpander>> = {
[INFO] [stdout] 234 | |             let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 235 | |             let expander =
[INFO] [stdout] ...   |
[INFO] [stdout] 251 | |         };
[INFO] [stdout] 252 | |     }
[INFO] [stdout]     | |_____- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 269 |           let pca9535_gpio = PCA9535_GPIO.lock().unwrap();
[INFO] [stdout]     |                                           ^^^^ method not found in `PCA9535_GPIO`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `PCA9535_GPIO` in the current scope
[INFO] [stdout]    --> tests/immediate.rs:272:45
[INFO] [stdout]     |
[INFO] [stdout] 214 | /     lazy_static! {
[INFO] [stdout] 215 | |         static ref IO_EXPANDER: IoExpander<ShareableI2c, ImmediateExpander, Mutex<ImmediateExpander>> = {
[INFO] [stdout] 216 | |             let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 217 | |             let expander = Pca9535Immediate::new(i2c_bus.acquire_i2c(), ADDR);
[INFO] [stdout] ...   |
[INFO] [stdout] 232 | |         };
[INFO] [stdout] 233 | |     }
[INFO] [stdout]     | |_____- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 272 |           let mut pca9535_gpio = PCA9535_GPIO.lock().unwrap();
[INFO] [stdout]     |                                               ^^^^ method not found in `PCA9535_GPIO`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Expander`
[INFO] [stdout]  --> tests/immediate.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | use pca9535::{Expander, Pca9535Immediate, Register};
[INFO] [stdout]   |               ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StandardExpanderInterface`
[INFO] [stdout]   --> tests/immediate.rs:71:29
[INFO] [stdout]    |
[INFO] [stdout] 71 |     use pca9535::{GPIOBank, StandardExpanderInterface};
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `PCA9535_GPIO` in the current scope
[INFO] [stdout]    --> tests/cached.rs:280:45
[INFO] [stdout]     |
[INFO] [stdout] 232 | /     lazy_static! {
[INFO] [stdout] 233 | |         static ref IO_EXPANDER: IoExpander<ShareableI2c, CachedExpander, Mutex<CachedExpander>> = {
[INFO] [stdout] 234 | |             let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 235 | |             let expander =
[INFO] [stdout] ...   |
[INFO] [stdout] 251 | |         };
[INFO] [stdout] 252 | |     }
[INFO] [stdout]     | |_____- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 280 |           let mut pca9535_gpio = PCA9535_GPIO.lock().unwrap();
[INFO] [stdout]     |                                               ^^^^ method not found in `PCA9535_GPIO`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pca9535` due to 17 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `PCA9535_GPIO` in the current scope
[INFO] [stdout]    --> tests/cached.rs:291:45
[INFO] [stdout]     |
[INFO] [stdout] 232 | /     lazy_static! {
[INFO] [stdout] 233 | |         static ref IO_EXPANDER: IoExpander<ShareableI2c, CachedExpander, Mutex<CachedExpander>> = {
[INFO] [stdout] 234 | |             let i2c_bus = *I2C_BUS.lock().unwrap();
[INFO] [stdout] 235 | |             let expander =
[INFO] [stdout] ...   |
[INFO] [stdout] 251 | |         };
[INFO] [stdout] 252 | |     }
[INFO] [stdout]     | |_____- method `lock` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 291 |           let mut pca9535_gpio = PCA9535_GPIO.lock().unwrap();
[INFO] [stdout]     |                                               ^^^^ method not found in `PCA9535_GPIO`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `lock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExpanderMutex`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Expander`
[INFO] [stdout]   --> tests/cached.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use pca9535::{Expander, Pca9535Cached, Register};
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StandardExpanderInterface`
[INFO] [stdout]   --> tests/cached.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 82 |     use pca9535::{GPIOBank, StandardExpanderInterface};
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pca9535` due to 17 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7ab1a4ae3e54cf53c8d184ddd35830be81c761b535d68835bf664af9baf979d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ab1a4ae3e54cf53c8d184ddd35830be81c761b535d68835bf664af9baf979d9", kill_on_drop: false }`
[INFO] [stdout] 7ab1a4ae3e54cf53c8d184ddd35830be81c761b535d68835bf664af9baf979d9
