[INFO] fetching crate keypad 0.1.4... [INFO] checking keypad-0.1.4 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [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 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded embedded-hal v0.2.4 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9baf43d98ae658d78cf7fb133ebb6a1ecb6db09d566ce33955470b7cd4f87874 [INFO] running `Command { std: "docker" "start" "-a" "9baf43d98ae658d78cf7fb133ebb6a1ecb6db09d566ce33955470b7cd4f87874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9baf43d98ae658d78cf7fb133ebb6a1ecb6db09d566ce33955470b7cd4f87874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9baf43d98ae658d78cf7fb133ebb6a1ecb6db09d566ce33955470b7cd4f87874", kill_on_drop: false }` [INFO] [stdout] 9baf43d98ae658d78cf7fb133ebb6a1ecb6db09d566ce33955470b7cd4f87874 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 89ea643f3f75a309ddf50e520765baa71883ba8b33d62d9f295de3f7f22dd05e [INFO] running `Command { std: "docker" "start" "-a" "89ea643f3f75a309ddf50e520765baa71883ba8b33d62d9f295de3f7f22dd05e", kill_on_drop: false }` [INFO] [stderr] Checking embedded-hal v0.2.4 [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: 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: 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 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 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: 21 warnings emitted [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 `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 `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 `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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.14s [INFO] running `Command { std: "docker" "inspect" "89ea643f3f75a309ddf50e520765baa71883ba8b33d62d9f295de3f7f22dd05e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89ea643f3f75a309ddf50e520765baa71883ba8b33d62d9f295de3f7f22dd05e", kill_on_drop: false }` [INFO] [stdout] 89ea643f3f75a309ddf50e520765baa71883ba8b33d62d9f295de3f7f22dd05e