[INFO] fetching crate yubikey 0.3.1... [INFO] checking yubikey-0.3.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate yubikey 0.3.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate yubikey 0.3.1 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate yubikey 0.3.1 [INFO] finished tweaking crates.io crate yubikey 0.3.1 [INFO] tweaked toml for crates.io crate yubikey 0.3.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libusb v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db6631512bb21ee8e3dcc0abd17de260aeb3321999e0c4a1a0e27b19ecef7fd5 [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" "db6631512bb21ee8e3dcc0abd17de260aeb3321999e0c4a1a0e27b19ecef7fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db6631512bb21ee8e3dcc0abd17de260aeb3321999e0c4a1a0e27b19ecef7fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db6631512bb21ee8e3dcc0abd17de260aeb3321999e0c4a1a0e27b19ecef7fd5", kill_on_drop: false }` [INFO] [stdout] db6631512bb21ee8e3dcc0abd17de260aeb3321999e0c4a1a0e27b19ecef7fd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9443529abcafe411916a448fdfb4b41a98c74157ceb526e3ba69500d31032460 [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" "9443529abcafe411916a448fdfb4b41a98c74157ceb526e3ba69500d31032460", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling libusb-sys v0.2.3 [INFO] [stderr] Checking bit-set v0.2.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking libusb v0.2.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking yubikey v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / bitflags! { [INFO] [stdout] 8 | | pub flags Flags: u8 { [INFO] [stdout] 9 | | const SLOT_WRITE_FLAG = 0x80, [INFO] [stdout] 10 | | const RESP_PENDING_FLAG = 0x40 [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / bitflags! { [INFO] [stdout] 8 | | pub flags Flags: u8 { [INFO] [stdout] 9 | | const SLOT_WRITE_FLAG = 0x80, [INFO] [stdout] 10 | | const RESP_PENDING_FLAG = 0x40 [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | try!(self.read(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(try!(self.h.read_control(reqtype, HID_GET_REPORT, value, 0, buf, Duration::new(2, 0)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | try!(self.wait(|x| !x.contains(SLOT_WRITE_FLAG), &mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | try!(self.raw_write(&packet)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | if try!(self.h.write_control(reqtype, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | try!(self.raw_write(&[0, 0, 0, 0, 0, 0, 0, 0x8f])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | try!(self.wait(|x| !x.contains(SLOT_WRITE_FLAG), &mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | try!(self.wait(|f| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | if try!(self.read(&mut response[r0..r0 + 8])) < 8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | try!(self.write_reset()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / bitflags! { [INFO] [stdout] 107 | | pub flags TicketFlags: u8 { [INFO] [stdout] 108 | | const TAB_FIRST = 0x1, [INFO] [stdout] 109 | | const APPEND_TAB1 = 0x2, [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / bitflags! { [INFO] [stdout] 8 | | pub flags Flags: u8 { [INFO] [stdout] 9 | | const SLOT_WRITE_FLAG = 0x80, [INFO] [stdout] 10 | | const RESP_PENDING_FLAG = 0x40 [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / bitflags! { [INFO] [stdout] 107 | | pub flags TicketFlags: u8 { [INFO] [stdout] 108 | | const TAB_FIRST = 0x1, [INFO] [stdout] 109 | | const APPEND_TAB1 = 0x2, [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / bitflags! { [INFO] [stdout] 121 | | pub flags ConfigFlags: u8 { [INFO] [stdout] 122 | | // Yubikey 1.0 [INFO] [stdout] 123 | | const SEND_REF = 0x1, [INFO] [stdout] ... | [INFO] [stdout] 144 | | } [INFO] [stdout] 145 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / bitflags! { [INFO] [stdout] 121 | | pub flags ConfigFlags: u8 { [INFO] [stdout] 122 | | // Yubikey 1.0 [INFO] [stdout] 123 | | const SEND_REF = 0x1, [INFO] [stdout] ... | [INFO] [stdout] 144 | | } [INFO] [stdout] 145 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / bitflags! { [INFO] [stdout] 148 | | pub flags ExtendedFlags: u8 { [INFO] [stdout] 149 | | const SERIAL_BTN_VISIBLE = 0x01, [INFO] [stdout] 150 | | const SERIAL_USB_VISIBLE = 0x02, [INFO] [stdout] ... | [INFO] [stdout] 157 | | } [INFO] [stdout] 158 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / bitflags! { [INFO] [stdout] 8 | | pub flags Flags: u8 { [INFO] [stdout] 9 | | const SLOT_WRITE_FLAG = 0x80, [INFO] [stdout] 10 | | const RESP_PENDING_FLAG = 0x40 [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | try!(self.read(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(try!(self.h.read_control(reqtype, HID_GET_REPORT, value, 0, buf, Duration::new(2, 0)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | try!(self.wait(|x| !x.contains(SLOT_WRITE_FLAG), &mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | try!(self.raw_write(&packet)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | if try!(self.h.write_control(reqtype, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | try!(self.raw_write(&[0, 0, 0, 0, 0, 0, 0, 0x8f])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | try!(self.wait(|x| !x.contains(SLOT_WRITE_FLAG), &mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | try!(self.wait(|f| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | if try!(self.read(&mut response[r0..r0 + 8])) < 8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handle.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | try!(self.write_reset()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / bitflags! { [INFO] [stdout] 148 | | pub flags ExtendedFlags: u8 { [INFO] [stdout] 149 | | const SERIAL_BTN_VISIBLE = 0x01, [INFO] [stdout] 150 | | const SERIAL_USB_VISIBLE = 0x02, [INFO] [stdout] ... | [INFO] [stdout] 157 | | } [INFO] [stdout] 158 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let mut h = try!(self.0.open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | try!(self.wait(|f| !f.contains(SLOT_WRITE_FLAG), &mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | try!(self.write_frame(&d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | try!(self.read_response(&mut response)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | try!(self.wait(|f| !f.contains(SLOT_WRITE_FLAG), &mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | try!(self.write_frame(&d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | try!(self.read_response(&mut response)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | try!(self.wait(|f| !f.contains(SLOT_WRITE_FLAG), &mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 415 | try!(self.write_frame(&d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | try!(self.wait(|f| !f.contains(SLOT_WRITE_FLAG), &mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | try!(self.wait(|f| !f.contains(SLOT_WRITE_FLAG), &mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | try!(self.write_frame(&d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / bitflags! { [INFO] [stdout] 107 | | pub flags TicketFlags: u8 { [INFO] [stdout] 108 | | const TAB_FIRST = 0x1, [INFO] [stdout] 109 | | const APPEND_TAB1 = 0x2, [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:462:1 [INFO] [stdout] | [INFO] [stdout] 462 | / bitflags! { [INFO] [stdout] 463 | | flags Capabilities: u8 { [INFO] [stdout] 464 | | const OTP = 0x1, [INFO] [stdout] 465 | | const U2F = 0x2, [INFO] [stdout] 466 | | const CCID = 0x4, [INFO] [stdout] 467 | | } [INFO] [stdout] 468 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:462:1 [INFO] [stdout] | [INFO] [stdout] 462 | / bitflags! { [INFO] [stdout] 463 | | flags Capabilities: u8 { [INFO] [stdout] 464 | | const OTP = 0x1, [INFO] [stdout] 465 | | const U2F = 0x2, [INFO] [stdout] 466 | | const CCID = 0x4, [INFO] [stdout] 467 | | } [INFO] [stdout] 468 | | } [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: unused import: `util::*` [INFO] [stdout] --> src/handle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use util::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / bitflags! { [INFO] [stdout] 107 | | pub flags TicketFlags: u8 { [INFO] [stdout] 108 | | const TAB_FIRST = 0x1, [INFO] [stdout] 109 | | const APPEND_TAB1 = 0x2, [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / bitflags! { [INFO] [stdout] 121 | | pub flags ConfigFlags: u8 { [INFO] [stdout] 122 | | // Yubikey 1.0 [INFO] [stdout] 123 | | const SEND_REF = 0x1, [INFO] [stdout] ... | [INFO] [stdout] 144 | | } [INFO] [stdout] 145 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / bitflags! { [INFO] [stdout] 121 | | pub flags ConfigFlags: u8 { [INFO] [stdout] 122 | | // Yubikey 1.0 [INFO] [stdout] 123 | | const SEND_REF = 0x1, [INFO] [stdout] ... | [INFO] [stdout] 144 | | } [INFO] [stdout] 145 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / bitflags! { [INFO] [stdout] 148 | | pub flags ExtendedFlags: u8 { [INFO] [stdout] 149 | | const SERIAL_BTN_VISIBLE = 0x01, [INFO] [stdout] 150 | | const SERIAL_USB_VISIBLE = 0x02, [INFO] [stdout] ... | [INFO] [stdout] 157 | | } [INFO] [stdout] 158 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / bitflags! { [INFO] [stdout] 148 | | pub flags ExtendedFlags: u8 { [INFO] [stdout] 149 | | const SERIAL_BTN_VISIBLE = 0x01, [INFO] [stdout] 150 | | const SERIAL_USB_VISIBLE = 0x02, [INFO] [stdout] ... | [INFO] [stdout] 157 | | } [INFO] [stdout] 158 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let mut h = try!(self.0.open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | try!(self.wait(|f| !f.contains(SLOT_WRITE_FLAG), &mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | try!(self.write_frame(&d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | try!(self.read_response(&mut response)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | try!(self.wait(|f| !f.contains(SLOT_WRITE_FLAG), &mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | try!(self.write_frame(&d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | try!(self.read_response(&mut response)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | try!(self.wait(|f| !f.contains(SLOT_WRITE_FLAG), &mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 415 | try!(self.write_frame(&d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | try!(self.wait(|f| !f.contains(SLOT_WRITE_FLAG), &mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | try!(self.wait(|f| !f.contains(SLOT_WRITE_FLAG), &mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | try!(self.write_frame(&d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:462:1 [INFO] [stdout] | [INFO] [stdout] 462 | / bitflags! { [INFO] [stdout] 463 | | flags Capabilities: u8 { [INFO] [stdout] 464 | | const OTP = 0x1, [INFO] [stdout] 465 | | const U2F = 0x2, [INFO] [stdout] 466 | | const CCID = 0x4, [INFO] [stdout] 467 | | } [INFO] [stdout] 468 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:462:1 [INFO] [stdout] | [INFO] [stdout] 462 | / bitflags! { [INFO] [stdout] 463 | | flags Capabilities: u8 { [INFO] [stdout] 464 | | const OTP = 0x1, [INFO] [stdout] 465 | | const U2F = 0x2, [INFO] [stdout] 466 | | const CCID = 0x4, [INFO] [stdout] 467 | | } [INFO] [stdout] 468 | | } [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: unused import: `util::*` [INFO] [stdout] --> src/handle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use util::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 173 | IO(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | USB(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 173 | IO(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | USB(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/config.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VERSION_4` [INFO] [stdout] --> src/lib.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 219 | / const VERSION_4: Version = Version { [INFO] [stdout] 220 | | major: 4, [INFO] [stdout] 221 | | minor: 0, [INFO] [stdout] 222 | | build: 0, [INFO] [stdout] 223 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_capabilities` [INFO] [stdout] --> src/lib.rs:428:8 [INFO] [stdout] | [INFO] [stdout] 428 | fn read_capabilities(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/config.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VERSION_4` [INFO] [stdout] --> src/lib.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 219 | / const VERSION_4: Version = Version { [INFO] [stdout] 220 | | major: 4, [INFO] [stdout] 221 | | minor: 0, [INFO] [stdout] 222 | | build: 0, [INFO] [stdout] 223 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_capabilities` [INFO] [stdout] --> src/lib.rs:428:8 [INFO] [stdout] | [INFO] [stdout] 428 | fn read_capabilities(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.95s [INFO] running `Command { std: "docker" "inspect" "9443529abcafe411916a448fdfb4b41a98c74157ceb526e3ba69500d31032460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9443529abcafe411916a448fdfb4b41a98c74157ceb526e3ba69500d31032460", kill_on_drop: false }` [INFO] [stdout] 9443529abcafe411916a448fdfb4b41a98c74157ceb526e3ba69500d31032460