[INFO] fetching crate keypad 0.1.4... [INFO] testing keypad-0.1.4 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate keypad 0.1.4 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate keypad 0.1.4 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate keypad 0.1.4 [INFO] finished tweaking crates.io crate keypad 0.1.4 [INFO] tweaked toml for crates.io crate keypad 0.1.4 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 035e3aab1402ebc01eddb94c29731942010d5d2ae8970f55ef3f78758a2f2061 [INFO] running `Command { std: "docker" "start" "-a" "035e3aab1402ebc01eddb94c29731942010d5d2ae8970f55ef3f78758a2f2061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "035e3aab1402ebc01eddb94c29731942010d5d2ae8970f55ef3f78758a2f2061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "035e3aab1402ebc01eddb94c29731942010d5d2ae8970f55ef3f78758a2f2061", kill_on_drop: false }` [INFO] [stdout] 035e3aab1402ebc01eddb94c29731942010d5d2ae8970f55ef3f78758a2f2061 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 563c7acecdb1ffcb0d4faeff07c743f5278e22b7c3bbd130de811925c9fe72b0 [INFO] running `Command { std: "docker" "start" "-a" "563c7acecdb1ffcb0d4faeff07c743f5278e22b7c3bbd130de811925c9fe72b0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.5 [INFO] [stderr] Compiling keypad v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | row: &'a InputPin, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn InputPin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 170 | col: &'a RefCell, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn OutputPin` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn InputPin` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:175:52 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn OutputPin` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:148:39 [INFO] [stdout] | [INFO] [stdout] 148 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | row: &'a InputPin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 170 | col: &'a RefCell, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | impl<'a> InputPin for KeypadInput<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:175:52 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | impl OutputPin for $Pin> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | impl OutputPin for $Pin> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | impl InputPin for $Pin> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:188:31 [INFO] [stdout] | [INFO] [stdout] 188 | self.col.borrow_mut().set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | let out = self.row.is_low(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:190:31 [INFO] [stdout] | [INFO] [stdout] 190 | self.col.borrow_mut().set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "563c7acecdb1ffcb0d4faeff07c743f5278e22b7c3bbd130de811925c9fe72b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "563c7acecdb1ffcb0d4faeff07c743f5278e22b7c3bbd130de811925c9fe72b0", kill_on_drop: false }` [INFO] [stdout] 563c7acecdb1ffcb0d4faeff07c743f5278e22b7c3bbd130de811925c9fe72b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28f647617897d2d4f553e7dd364a8f0de100c47faa0217af2dc8835c01f28fd3 [INFO] running `Command { std: "docker" "start" "-a" "28f647617897d2d4f553e7dd364a8f0de100c47faa0217af2dc8835c01f28fd3", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | row: &'a InputPin, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn InputPin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 170 | col: &'a RefCell, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn OutputPin` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn InputPin` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:175:52 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn OutputPin` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:148:39 [INFO] [stdout] | [INFO] [stdout] 148 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | row: &'a InputPin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 170 | col: &'a RefCell, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | impl<'a> InputPin for KeypadInput<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:175:52 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | impl OutputPin for $Pin> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | impl OutputPin for $Pin> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | impl InputPin for $Pin> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:188:31 [INFO] [stdout] | [INFO] [stdout] 188 | self.col.borrow_mut().set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | let out = self.row.is_low(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:190:31 [INFO] [stdout] | [INFO] [stdout] 190 | self.col.borrow_mut().set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling keypad v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `keypad::embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> examples/basic.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use keypad::embedded_hal::digital::InputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `keypad::embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> examples/basic.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / keypad_struct!{ [INFO] [stdout] 20 | | pub struct ExampleKeypad { [INFO] [stdout] 21 | | rows: ( [INFO] [stdout] 22 | | mock_hal::gpioa::PA0>, [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `keypad_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `keypad::embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> examples/basic.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / keypad_struct!{ [INFO] [stdout] 20 | | pub struct ExampleKeypad { [INFO] [stdout] 21 | | rows: ( [INFO] [stdout] 22 | | mock_hal::gpioa::PA0>, [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `keypad_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/basic.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / keypad_struct!{ [INFO] [stdout] 20 | | pub struct ExampleKeypad { [INFO] [stdout] 21 | | rows: ( [INFO] [stdout] 22 | | mock_hal::gpioa::PA0>, [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `keypad_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | row: &'a InputPin, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn InputPin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 170 | col: &'a RefCell, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn OutputPin` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn InputPin` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:175:52 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn OutputPin` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `keypad::embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> examples/basic.rs:64:54 [INFO] [stdout] | [INFO] [stdout] 64 | println!("Is first key pressed? {}\n", first_key.is_low()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `keypad::embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> examples/basic.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | let is_pressed = if key.is_low() { 1 } else { 0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:148:39 [INFO] [stdout] | [INFO] [stdout] 148 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | row: &'a InputPin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 170 | col: &'a RefCell, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | impl<'a> InputPin for KeypadInput<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:175:52 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | impl OutputPin for $Pin> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | impl OutputPin for $Pin> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | impl InputPin for $Pin> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:188:31 [INFO] [stdout] | [INFO] [stdout] 188 | self.col.borrow_mut().set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | let out = self.row.is_low(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:190:31 [INFO] [stdout] | [INFO] [stdout] 190 | self.col.borrow_mut().set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/mock_hal.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stdout] 203 | | (PA0, pa0, Input), [INFO] [stdout] 204 | | (PA1, pa1, Input), [INFO] [stdout] 205 | | (PA2, pa2, Input), [INFO] [stdout] ... | [INFO] [stdout] 218 | | (PA15, pa15, Input), [INFO] [stdout] 219 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.61s [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "28f647617897d2d4f553e7dd364a8f0de100c47faa0217af2dc8835c01f28fd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28f647617897d2d4f553e7dd364a8f0de100c47faa0217af2dc8835c01f28fd3", kill_on_drop: false }` [INFO] [stdout] 28f647617897d2d4f553e7dd364a8f0de100c47faa0217af2dc8835c01f28fd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 26ae278eb7165b4ceeb2210b76428b5d291c6bdfd515a72e950ea459194ba8a7 [INFO] running `Command { std: "docker" "start" "-a" "26ae278eb7165b4ceeb2210b76428b5d291c6bdfd515a72e950ea459194ba8a7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:169:14 [INFO] [stderr] | [INFO] [stderr] 169 | row: &'a InputPin, [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn InputPin` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:170:22 [INFO] [stderr] | [INFO] [stderr] 170 | col: &'a RefCell, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn OutputPin` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:175:25 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn InputPin` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:175:52 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn OutputPin` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:148:29 [INFO] [stderr] | [INFO] [stderr] 148 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:148:39 [INFO] [stderr] | [INFO] [stderr] 148 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:169:14 [INFO] [stderr] | [INFO] [stderr] 169 | row: &'a InputPin, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:170:22 [INFO] [stderr] | [INFO] [stderr] 170 | col: &'a RefCell, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:180:10 [INFO] [stderr] | [INFO] [stderr] 180 | impl<'a> InputPin for KeypadInput<'a> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:175:25 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:175:52 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/mock_hal.rs:64:41 [INFO] [stderr] | [INFO] [stderr] 64 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stderr] 203 | | (PA0, pa0, Input), [INFO] [stderr] 204 | | (PA1, pa1, Input), [INFO] [stderr] 205 | | (PA2, pa2, Input), [INFO] [stderr] ... | [INFO] [stderr] 218 | | (PA15, pa15, Input), [INFO] [stderr] 219 | | ]); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/mock_hal.rs:64:51 [INFO] [stderr] | [INFO] [stderr] 64 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stderr] 203 | | (PA0, pa0, Input), [INFO] [stderr] 204 | | (PA1, pa1, Input), [INFO] [stderr] 205 | | (PA2, pa2, Input), [INFO] [stderr] ... | [INFO] [stderr] 218 | | (PA15, pa15, Input), [INFO] [stderr] 219 | | ]); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/mock_hal.rs:155:22 [INFO] [stderr] | [INFO] [stderr] 155 | impl OutputPin for $Pin> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stderr] 203 | | (PA0, pa0, Input), [INFO] [stderr] 204 | | (PA1, pa1, Input), [INFO] [stderr] 205 | | (PA2, pa2, Input), [INFO] [stderr] ... | [INFO] [stderr] 218 | | (PA15, pa15, Input), [INFO] [stderr] 219 | | ]); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/mock_hal.rs:166:22 [INFO] [stderr] | [INFO] [stderr] 166 | impl OutputPin for $Pin> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stderr] 203 | | (PA0, pa0, Input), [INFO] [stderr] 204 | | (PA1, pa1, Input), [INFO] [stderr] 205 | | (PA2, pa2, Input), [INFO] [stderr] ... | [INFO] [stderr] 218 | | (PA15, pa15, Input), [INFO] [stderr] 219 | | ]); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/mock_hal.rs:177:28 [INFO] [stderr] | [INFO] [stderr] 177 | impl InputPin for $Pin> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stderr] 203 | | (PA0, pa0, Input), [INFO] [stderr] 204 | | (PA1, pa1, Input), [INFO] [stderr] 205 | | (PA2, pa2, Input), [INFO] [stderr] ... | [INFO] [stderr] 218 | | (PA15, pa15, Input), [INFO] [stderr] 219 | | ]); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:183:15 [INFO] [stderr] | [INFO] [stderr] 183 | !self.is_low() [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:188:31 [INFO] [stderr] | [INFO] [stderr] 188 | self.col.borrow_mut().set_low(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:189:28 [INFO] [stderr] | [INFO] [stderr] 189 | let out = self.row.is_low(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:190:31 [INFO] [stderr] | [INFO] [stderr] 190 | self.col.borrow_mut().set_high(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/mock_hal.rs:180:31 [INFO] [stderr] | [INFO] [stderr] 180 | !self.is_low() [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stderr] 203 | | (PA0, pa0, Input), [INFO] [stderr] 204 | | (PA1, pa1, Input), [INFO] [stderr] 205 | | (PA2, pa2, Input), [INFO] [stderr] ... | [INFO] [stderr] 218 | | (PA15, pa15, Input), [INFO] [stderr] 219 | | ]); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 21 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:169:14 [INFO] [stderr] | [INFO] [stderr] 169 | row: &'a InputPin, [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn InputPin` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:170:22 [INFO] [stderr] | [INFO] [stderr] 170 | col: &'a RefCell, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn OutputPin` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:175:25 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn InputPin` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:175:52 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn OutputPin` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:148:29 [INFO] [stderr] | [INFO] [stderr] 148 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:148:39 [INFO] [stderr] | [INFO] [stderr] 148 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:169:14 [INFO] [stderr] | [INFO] [stderr] 169 | row: &'a InputPin, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:170:22 [INFO] [stderr] | [INFO] [stderr] 170 | col: &'a RefCell, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:180:10 [INFO] [stderr] | [INFO] [stderr] 180 | impl<'a> InputPin for KeypadInput<'a> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:175:25 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:175:52 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn new(row: &'a InputPin, col: &'a RefCell) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/mock_hal.rs:64:41 [INFO] [stderr] | [INFO] [stderr] 64 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stderr] 203 | | (PA0, pa0, Input), [INFO] [stderr] 204 | | (PA1, pa1, Input), [INFO] [stderr] 205 | | (PA2, pa2, Input), [INFO] [stderr] ... | [INFO] [stderr] 218 | | (PA15, pa15, Input), [INFO] [stderr] 219 | | ]); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/mock_hal.rs:64:51 [INFO] [stderr] | [INFO] [stderr] 64 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stderr] 203 | | (PA0, pa0, Input), [INFO] [stderr] 204 | | (PA1, pa1, Input), [INFO] [stderr] 205 | | (PA2, pa2, Input), [INFO] [stderr] ... | [INFO] [stderr] 218 | | (PA15, pa15, Input), [INFO] [stderr] 219 | | ]); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/mock_hal.rs:155:22 [INFO] [stderr] | [INFO] [stderr] 155 | impl OutputPin for $Pin> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stderr] 203 | | (PA0, pa0, Input), [INFO] [stderr] 204 | | (PA1, pa1, Input), [INFO] [stderr] 205 | | (PA2, pa2, Input), [INFO] [stderr] ... | [INFO] [stderr] 218 | | (PA15, pa15, Input), [INFO] [stderr] 219 | | ]); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/mock_hal.rs:166:22 [INFO] [stderr] | [INFO] [stderr] 166 | impl OutputPin for $Pin> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stderr] 203 | | (PA0, pa0, Input), [INFO] [stderr] 204 | | (PA1, pa1, Input), [INFO] [stderr] 205 | | (PA2, pa2, Input), [INFO] [stderr] ... | [INFO] [stderr] 218 | | (PA15, pa15, Input), [INFO] [stderr] 219 | | ]); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/mock_hal.rs:177:28 [INFO] [stderr] | [INFO] [stderr] 177 | impl InputPin for $Pin> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stderr] 203 | | (PA0, pa0, Input), [INFO] [stderr] 204 | | (PA1, pa1, Input), [INFO] [stderr] 205 | | (PA2, pa2, Input), [INFO] [stderr] ... | [INFO] [stderr] 218 | | (PA15, pa15, Input), [INFO] [stderr] 219 | | ]); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:183:15 [INFO] [stderr] | [INFO] [stderr] 183 | !self.is_low() [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:188:31 [INFO] [stderr] | [INFO] [stderr] 188 | self.col.borrow_mut().set_low(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:189:28 [INFO] [stderr] | [INFO] [stderr] 189 | let out = self.row.is_low(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:190:31 [INFO] [stderr] | [INFO] [stderr] 190 | self.col.borrow_mut().set_high(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/mock_hal.rs:180:31 [INFO] [stderr] | [INFO] [stderr] 180 | !self.is_low() [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | / gpio!( GPIOA, gpioa, [ [INFO] [stderr] 203 | | (PA0, pa0, Input), [INFO] [stderr] 204 | | (PA1, pa1, Input), [INFO] [stderr] 205 | | (PA2, pa2, Input), [INFO] [stderr] ... | [INFO] [stderr] 218 | | (PA15, pa15, Input), [INFO] [stderr] 219 | | ]); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 21 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `keypad::embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> examples/basic.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use keypad::embedded_hal::digital::InputPin; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `keypad::embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> examples/basic.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / keypad_struct!{ [INFO] [stderr] 20 | | pub struct ExampleKeypad { [INFO] [stderr] 21 | | rows: ( [INFO] [stderr] 22 | | mock_hal::gpioa::PA0>, [INFO] [stderr] ... | [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `keypad_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `keypad::embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> examples/basic.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / keypad_struct!{ [INFO] [stderr] 20 | | pub struct ExampleKeypad { [INFO] [stderr] 21 | | rows: ( [INFO] [stderr] 22 | | mock_hal::gpioa::PA0>, [INFO] [stderr] ... | [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `keypad_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> examples/basic.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / keypad_struct!{ [INFO] [stderr] 20 | | pub struct ExampleKeypad { [INFO] [stderr] 21 | | rows: ( [INFO] [stderr] 22 | | mock_hal::gpioa::PA0>, [INFO] [stderr] ... | [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `keypad_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `keypad::embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> examples/basic.rs:64:54 [INFO] [stderr] | [INFO] [stderr] 64 | println!("Is first key pressed? {}\n", first_key.is_low()); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `keypad::embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> examples/basic.rs:72:37 [INFO] [stderr] | [INFO] [stderr] 72 | let is_pressed = if key.is_low() { 1 } else { 0 }; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/keypad-1178c69358978ff8) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests keypad [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - keypad_new (line 377) ... ok [INFO] [stdout] test src/lib.rs - (line 56) ... FAILED [INFO] [stdout] test src/lib.rs - keypad_struct (line 211) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 56) stdout ---- [INFO] [stdout] warning: use of deprecated trait `keypad::embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 7 | use keypad::embedded_hal::digital::InputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `keypad::embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 12 | / keypad_struct!{ [INFO] [stdout] 13 | | #[doc="My super-special keypad."] [INFO] [stdout] 14 | | pub struct ExampleKeypad { [INFO] [stdout] 15 | | rows: ( [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `keypad_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `keypad::embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 12 | / keypad_struct!{ [INFO] [stdout] 13 | | #[doc="My super-special keypad."] [INFO] [stdout] 14 | | pub struct ExampleKeypad { [INFO] [stdout] 15 | | rows: ( [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `keypad_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 12 | / keypad_struct!{ [INFO] [stdout] 13 | | #[doc="My super-special keypad."] [INFO] [stdout] 14 | | pub struct ExampleKeypad { [INFO] [stdout] 15 | | rows: ( [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `keypad_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `keypad::embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:113:54 [INFO] [stdout] | [INFO] [stdout] 58 | println!("Is first key pressed? {}\n", first_key.is_low()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `keypad::embedded_hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/lib.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 65 | let is_pressed = if key.is_low() { 1 } else { 0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'attempted to leave type `[[keypad::KeypadInput; 5]; 4]` uninitialized, which is invalid', /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/mem/mod.rs:660:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x563297bd7a70 - std::backtrace_rs::backtrace::libunwind::trace::h706b838f5bbd876b [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x563297bd7a70 - std::backtrace_rs::backtrace::trace_unsynchronized::hc15f29ae7822b7b8 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x563297bd7a70 - std::sys_common::backtrace::_print_fmt::h7c580c971f91926c [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x563297bd7a70 - ::fmt::h2a772198c4032452 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x563297bf150c - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x563297bd6205 - std::io::Write::write_fmt::h00f38d9eb2c32e02 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/io/mod.rs:1663:15 [INFO] [stdout] 6: 0x563297bd969b - std::sys_common::backtrace::_print::h5b3c171e6f864ae4 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x563297bd969b - std::sys_common::backtrace::print::h93b9e9ed2a98e611 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x563297bd969b - std::panicking::default_hook::{{closure}}::hd8da92bb68d520c5 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x563297bd9171 - std::panicking::default_hook::hdbc8b2951c5afbab [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x563297bd9d64 - std::panicking::rust_panic_with_hook::h8a4c841655926f4e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x563297bd9817 - std::panicking::begin_panic_handler::{{closure}}::h471b6bc74904b7b0 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:517:13 [INFO] [stdout] 12: 0x563297bd7f6c - std::sys_common::backtrace::__rust_end_short_backtrace::h309f5c707f29932f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x563297bd97a9 - rust_begin_unwind [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x563297bc5fd1 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x563297bc5f1d - core::panicking::panic::hd695e3b1d0dd4ef4 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/panicking.rs:50:5 [INFO] [stdout] 16: 0x563297bc8116 - rust_out::ExampleKeypad::decompose::h545c77d4f3a5c823 [INFO] [stdout] 17: 0x563297bc7c5c - rust_out::main::h61823b600df25383 [INFO] [stdout] 18: 0x563297bc6e13 - core::ops::function::FnOnce::call_once::h6cb22c19cf103035 [INFO] [stdout] 19: 0x563297bc6af9 - std::sys_common::backtrace::__rust_begin_short_backtrace::h755618c0981a0533 [INFO] [stdout] 20: 0x563297bc6b79 - std::rt::lang_start::{{closure}}::h3e3e948d2e1cdd2b [INFO] [stdout] 21: 0x563297bda26a - core::ops::function::impls:: for &F>::call_once::hcbe5785d54a49ce2 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 22: 0x563297bda26a - std::panicking::try::do_call::h1c15e7ee8563c29d [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 23: 0x563297bda26a - std::panicking::try::hb8b07cef009cb4fc [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 24: 0x563297bda26a - std::panic::catch_unwind::h65a8efbe596bcbb1 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 25: 0x563297bda26a - std::rt::lang_start_internal::{{closure}}::h66ded7ab0f18e9fb [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/rt.rs:45:48 [INFO] [stdout] 26: 0x563297bda26a - std::panicking::try::do_call::h29cafa65efb3f3f3 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 27: 0x563297bda26a - std::panicking::try::h412fc5378b4dbfc4 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 28: 0x563297bda26a - std::panic::catch_unwind::h555def6aac5bf192 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 29: 0x563297bda26a - std::rt::lang_start_internal::hfff48202d7fee6e3 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/rt.rs:45:20 [INFO] [stdout] 30: 0x563297bc6b51 - std::rt::lang_start::ha47a1fac43a2373f [INFO] [stdout] 31: 0x563297bc8443 - main [INFO] [stdout] 32: 0x7fda1f1d00b3 - __libc_start_main [INFO] [stdout] 33: 0x563297bc672e - _start [INFO] [stdout] 34: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 56) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.67s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "26ae278eb7165b4ceeb2210b76428b5d291c6bdfd515a72e950ea459194ba8a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26ae278eb7165b4ceeb2210b76428b5d291c6bdfd515a72e950ea459194ba8a7", kill_on_drop: false }` [INFO] [stdout] 26ae278eb7165b4ceeb2210b76428b5d291c6bdfd515a72e950ea459194ba8a7