[INFO] fetching crate keypad 0.1.4... [INFO] checking keypad-0.1.4 against beta for pr-78714 [INFO] extracting crate keypad 0.1.4 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate keypad 0.1.4 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9149c5fcd70c8ac1d5387ea14c7ea19ba57e63b2b2500b98c57138a97babd4f8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9149c5fcd70c8ac1d5387ea14c7ea19ba57e63b2b2500b98c57138a97babd4f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9149c5fcd70c8ac1d5387ea14c7ea19ba57e63b2b2500b98c57138a97babd4f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9149c5fcd70c8ac1d5387ea14c7ea19ba57e63b2b2500b98c57138a97babd4f8", kill_on_drop: false }` [INFO] [stdout] 9149c5fcd70c8ac1d5387ea14c7ea19ba57e63b2b2500b98c57138a97babd4f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee880aeace5e8bafc4333580f48fb42a53bd9e64ba3f2d7d1ffdc827b8b1578d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ee880aeace5e8bafc4333580f48fb42a53bd9e64ba3f2d7d1ffdc827b8b1578d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking 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] [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] [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] [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] [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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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] [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] [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] [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] [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 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 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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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/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 a macro (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 a macro (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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> examples/basic.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(nll)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keypad` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ee880aeace5e8bafc4333580f48fb42a53bd9e64ba3f2d7d1ffdc827b8b1578d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee880aeace5e8bafc4333580f48fb42a53bd9e64ba3f2d7d1ffdc827b8b1578d", kill_on_drop: false }` [INFO] [stdout] ee880aeace5e8bafc4333580f48fb42a53bd9e64ba3f2d7d1ffdc827b8b1578d