[INFO] fetching crate ptp 0.5.0... [INFO] checking ptp-0.5.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate ptp 0.5.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ptp 0.5.0 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 ptp 0.5.0 [INFO] finished tweaking crates.io crate ptp 0.5.0 [INFO] tweaked toml for crates.io crate ptp 0.5.0 written to /workspace/builds/worker-0/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] Blocking waiting for file lock on package cache [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24098769546b00bf326d0d3dd9f0bf03adf30f663746df266018261b558e7766 [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" "24098769546b00bf326d0d3dd9f0bf03adf30f663746df266018261b558e7766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24098769546b00bf326d0d3dd9f0bf03adf30f663746df266018261b558e7766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24098769546b00bf326d0d3dd9f0bf03adf30f663746df266018261b558e7766", kill_on_drop: false }` [INFO] [stdout] 24098769546b00bf326d0d3dd9f0bf03adf30f663746df266018261b558e7766 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 069afc976a7628e569bfc2eee13f7bc344841afa08a988cdf39f571a6f580f88 [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" "069afc976a7628e569bfc2eee13f7bc344841afa08a988cdf39f571a6f580f88", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking bit-set v0.2.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling libusb-sys v0.2.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking libusb v0.3.0 [INFO] [stderr] Checking ptp v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | Ok(try!(self.read_u8())) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | Ok(try!(self.read_i8())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | Ok(try!(self.read_u16::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | Ok(try!(self.read_i16::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | Ok(try!(self.read_u32::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | Ok(try!(self.read_i32::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | Ok(try!(self.read_u64::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | Ok(try!(self.read_i64::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | let hi = try!(self.read_u64::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | let lo = try!(self.read_u64::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 291 | let hi = try!(self.read_u64::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | let lo = try!(self.read_u64::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:300:19 [INFO] [stdout] | [INFO] [stdout] 300 | let len = try!(self.read_u32::()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | let len = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:348:34 [INFO] [stdout] | [INFO] [stdout] 348 | let data: Vec = try!((0..(len - 1)).map(|_| self.read_u16::()).collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | try!(self.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:514:28 [INFO] [stdout] | [INFO] [stdout] 514 | 0x0001 => INT8(try!(reader.read_ptp_i8())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:515:29 [INFO] [stdout] | [INFO] [stdout] 515 | 0x0002 => UINT8(try!(reader.read_ptp_u8())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:516:29 [INFO] [stdout] | [INFO] [stdout] 516 | 0x0003 => INT16(try!(reader.read_ptp_i16())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:517:30 [INFO] [stdout] | [INFO] [stdout] 517 | 0x0004 => UINT16(try!(reader.read_ptp_u16())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:518:29 [INFO] [stdout] | [INFO] [stdout] 518 | 0x0005 => INT32(try!(reader.read_ptp_i32())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:519:30 [INFO] [stdout] | [INFO] [stdout] 519 | 0x0006 => UINT32(try!(reader.read_ptp_u32())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:520:29 [INFO] [stdout] | [INFO] [stdout] 520 | 0x0007 => INT64(try!(reader.read_ptp_i64())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:521:30 [INFO] [stdout] | [INFO] [stdout] 521 | 0x0008 => UINT64(try!(reader.read_ptp_u64())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:522:30 [INFO] [stdout] | [INFO] [stdout] 522 | 0x0009 => INT128(try!(reader.read_ptp_i128())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:523:31 [INFO] [stdout] | [INFO] [stdout] 523 | 0x000A => UINT128(try!(reader.read_ptp_u128())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:524:29 [INFO] [stdout] | [INFO] [stdout] 524 | 0x4001 => AINT8(try!(reader.read_ptp_i8_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:525:30 [INFO] [stdout] | [INFO] [stdout] 525 | 0x4002 => AUINT8(try!(reader.read_ptp_u8_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:526:30 [INFO] [stdout] | [INFO] [stdout] 526 | 0x4003 => AINT16(try!(reader.read_ptp_i16_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:527:31 [INFO] [stdout] | [INFO] [stdout] 527 | 0x4004 => AUINT16(try!(reader.read_ptp_u16_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:528:30 [INFO] [stdout] | [INFO] [stdout] 528 | 0x4005 => AINT32(try!(reader.read_ptp_i32_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:529:31 [INFO] [stdout] | [INFO] [stdout] 529 | 0x4006 => AUINT32(try!(reader.read_ptp_u32_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:530:30 [INFO] [stdout] | [INFO] [stdout] 530 | 0x4007 => AINT64(try!(reader.read_ptp_i64_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:531:31 [INFO] [stdout] | [INFO] [stdout] 531 | 0x4008 => AUINT64(try!(reader.read_ptp_u64_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:532:31 [INFO] [stdout] | [INFO] [stdout] 532 | 0x4009 => AINT128(try!(reader.read_ptp_i128_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:533:32 [INFO] [stdout] | [INFO] [stdout] 533 | 0x400A => AUINT128(try!(reader.read_ptp_u128_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:534:27 [INFO] [stdout] | [INFO] [stdout] 534 | 0xFFFF => STR(try!(reader.read_ptp_str())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:624:22 [INFO] [stdout] | [INFO] [stdout] 624 | Version: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:625:25 [INFO] [stdout] | [INFO] [stdout] 625 | VendorExID: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:626:30 [INFO] [stdout] | [INFO] [stdout] 626 | VendorExVersion: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:627:34 [INFO] [stdout] | [INFO] [stdout] 627 | VendorExtensionDesc: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:628:29 [INFO] [stdout] | [INFO] [stdout] 628 | FunctionalMode: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:629:34 [INFO] [stdout] | [INFO] [stdout] 629 | OperationsSupported: try!(cur.read_ptp_u16_vec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:630:30 [INFO] [stdout] | [INFO] [stdout] 630 | EventsSupported: try!(cur.read_ptp_u16_vec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:631:40 [INFO] [stdout] | [INFO] [stdout] 631 | DevicePropertiesSupported: try!(cur.read_ptp_u16_vec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:632:29 [INFO] [stdout] | [INFO] [stdout] 632 | CaptureFormats: try!(cur.read_ptp_u16_vec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:633:27 [INFO] [stdout] | [INFO] [stdout] 633 | ImageFormats: try!(cur.read_ptp_u16_vec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:634:27 [INFO] [stdout] | [INFO] [stdout] 634 | Manufacturer: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:635:20 [INFO] [stdout] | [INFO] [stdout] 635 | Model: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:636:28 [INFO] [stdout] | [INFO] [stdout] 636 | DeviceVersion: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:637:27 [INFO] [stdout] | [INFO] [stdout] 637 | SerialNumber: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:671:24 [INFO] [stdout] | [INFO] [stdout] 671 | StorageID: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:672:27 [INFO] [stdout] | [INFO] [stdout] 672 | ObjectFormat: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:673:31 [INFO] [stdout] | [INFO] [stdout] 673 | ProtectionStatus: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:674:35 [INFO] [stdout] | [INFO] [stdout] 674 | ObjectCompressedSize: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:675:26 [INFO] [stdout] | [INFO] [stdout] 675 | ThumbFormat: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:676:34 [INFO] [stdout] | [INFO] [stdout] 676 | ThumbCompressedSize: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:677:28 [INFO] [stdout] | [INFO] [stdout] 677 | ThumbPixWidth: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:678:29 [INFO] [stdout] | [INFO] [stdout] 678 | ThumbPixHeight: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:679:28 [INFO] [stdout] | [INFO] [stdout] 679 | ImagePixWidth: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | ImagePixHeight: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:681:28 [INFO] [stdout] | [INFO] [stdout] 681 | ImageBitDepth: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:682:27 [INFO] [stdout] | [INFO] [stdout] 682 | ParentObject: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:683:30 [INFO] [stdout] | [INFO] [stdout] 683 | AssociationType: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:684:30 [INFO] [stdout] | [INFO] [stdout] 684 | AssociationDesc: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:685:29 [INFO] [stdout] | [INFO] [stdout] 685 | SequenceNumber: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:686:23 [INFO] [stdout] | [INFO] [stdout] 686 | Filename: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:687:26 [INFO] [stdout] | [INFO] [stdout] 687 | CaptureDate: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:688:31 [INFO] [stdout] | [INFO] [stdout] 688 | ModificationDate: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:689:23 [INFO] [stdout] | [INFO] [stdout] 689 | Keywords: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:711:26 [INFO] [stdout] | [INFO] [stdout] 711 | StorageType: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:712:29 [INFO] [stdout] | [INFO] [stdout] 712 | FilesystemType: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:713:31 [INFO] [stdout] | [INFO] [stdout] 713 | AccessCapability: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | Ok(try!(self.read_u8())) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | Ok(try!(self.read_i8())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | Ok(try!(self.read_u16::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | Ok(try!(self.read_i16::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | Ok(try!(self.read_u32::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | Ok(try!(self.read_i32::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | Ok(try!(self.read_u64::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | Ok(try!(self.read_i64::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | let hi = try!(self.read_u64::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | let lo = try!(self.read_u64::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 291 | let hi = try!(self.read_u64::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | let lo = try!(self.read_u64::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:300:19 [INFO] [stdout] | [INFO] [stdout] 300 | let len = try!(self.read_u32::()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | let len = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:348:34 [INFO] [stdout] | [INFO] [stdout] 348 | let data: Vec = try!((0..(len - 1)).map(|_| self.read_u16::()).collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | try!(self.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:514:28 [INFO] [stdout] | [INFO] [stdout] 514 | 0x0001 => INT8(try!(reader.read_ptp_i8())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:515:29 [INFO] [stdout] | [INFO] [stdout] 515 | 0x0002 => UINT8(try!(reader.read_ptp_u8())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:516:29 [INFO] [stdout] | [INFO] [stdout] 516 | 0x0003 => INT16(try!(reader.read_ptp_i16())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:517:30 [INFO] [stdout] | [INFO] [stdout] 517 | 0x0004 => UINT16(try!(reader.read_ptp_u16())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:518:29 [INFO] [stdout] | [INFO] [stdout] 518 | 0x0005 => INT32(try!(reader.read_ptp_i32())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:714:26 [INFO] [stdout] | [INFO] [stdout] 714 | MaxCapacity: try!(cur.read_ptp_u64()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:715:31 [INFO] [stdout] | [INFO] [stdout] 715 | FreeSpaceInBytes: try!(cur.read_ptp_u64()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:716:32 [INFO] [stdout] | [INFO] [stdout] 716 | FreeSpaceInImages: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:717:33 [INFO] [stdout] | [INFO] [stdout] 717 | StorageDescription: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:718:26 [INFO] [stdout] | [INFO] [stdout] 718 | VolumeLabel: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:755:27 [INFO] [stdout] | [INFO] [stdout] 755 | PropertyCode: try!(cur.read_u16::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:757:29 [INFO] [stdout] | [INFO] [stdout] 757 | data_type = try!(cur.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:760:21 [INFO] [stdout] | [INFO] [stdout] 760 | GetSet: try!(cur.read_u8()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:761:23 [INFO] [stdout] | [INFO] [stdout] 761 | IsEnable: try!(cur.read_u8()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:762:29 [INFO] [stdout] | [INFO] [stdout] 762 | FactoryDefault: try!(PtpDataType::read_type(data_type, cur)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:763:22 [INFO] [stdout] | [INFO] [stdout] 763 | Current: try!(PtpDataType::read_type(data_type, cur)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:765:23 [INFO] [stdout] | [INFO] [stdout] 765 | match try!(cur.read_u8()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:769:39 [INFO] [stdout] | [INFO] [stdout] 769 | ... minValue: try!(PtpDataType::read_type(data_type, cur)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:770:39 [INFO] [stdout] | [INFO] [stdout] 770 | ... maxValue: try!(PtpDataType::read_type(data_type, cur)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:771:35 [INFO] [stdout] | [INFO] [stdout] 771 | ... step: try!(PtpDataType::read_type(data_type, cur)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:777:43 [INFO] [stdout] | [INFO] [stdout] 777 | ... let len = try!(cur.read_u16::()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:780:46 [INFO] [stdout] | [INFO] [stdout] 780 | ... arr.push(try!(PtpDataType::read_type(data_type, cur))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:809:19 [INFO] [stdout] | [INFO] [stdout] 809 | let len = try!(r.read_u32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:810:23 [INFO] [stdout] | [INFO] [stdout] 810 | let msgtype = try!(r.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:811:21 [INFO] [stdout] | [INFO] [stdout] 811 | let mtype = try!(PtpContainerType::from_u16(msgtype) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:813:20 [INFO] [stdout] | [INFO] [stdout] 813 | let code = try!(r.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:814:19 [INFO] [stdout] | [INFO] [stdout] 814 | let tid = try!(r.read_u32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:863:27 [INFO] [stdout] | [INFO] [stdout] 863 | let config_desc = try!(device.active_config_descriptor()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:865:30 [INFO] [stdout] | [INFO] [stdout] 865 | let interface_desc = try!(config_desc.interfaces() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:872:26 [INFO] [stdout] | [INFO] [stdout] 872 | let mut handle = try!(device.open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:874:9 [INFO] [stdout] | [INFO] [stdout] 874 | try!(handle.claim_interface(interface_desc.interface_number())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:875:9 [INFO] [stdout] | [INFO] [stdout] 875 | try!(handle.set_alternate_setting(interface_desc.interface_number(), interface_desc.setting_number())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:886:21 [INFO] [stdout] | [INFO] [stdout] 886 | ep_in: try!(find_endpoint(libusb::Direction::In, libusb::TransferType::Bulk)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:887:21 [INFO] [stdout] | [INFO] [stdout] 887 | ep_out: try!(find_endpoint(libusb::Direction::Out, libusb::TransferType::Bulk)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:888:22 [INFO] [stdout] | [INFO] [stdout] 888 | _ep_int: try!(find_endpoint(libusb::Direction::In, libusb::TransferType::Interrupt)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:925:9 [INFO] [stdout] | [INFO] [stdout] 925 | try!(self.handle.write_bulk(self.ep_out, &cmd_message, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:942:13 [INFO] [stdout] | [INFO] [stdout] 942 | try!(self.handle.write_bulk(self.ep_out, &data_message, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:955:40 [INFO] [stdout] | [INFO] [stdout] 955 | let (container, payload) = try!(self.read_txn_phase(timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:983:21 [INFO] [stdout] | [INFO] [stdout] 983 | let n = try!(self.handle.read_bulk(self.ep_in, &mut unintialized_buf[..], timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:987:21 [INFO] [stdout] | [INFO] [stdout] 987 | let cinfo = try!(PtpContainerInfo::parse(&buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1005:25 [INFO] [stdout] | [INFO] [stdout] 1005 | let n = try!(self.handle.read_bulk(self.ep_in, pslice, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1016:20 [INFO] [stdout] | [INFO] [stdout] 1016 | let data = try!(self.command(StandardCommandCode::GetObjectInfo, &[handle], None, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1017:12 [INFO] [stdout] | [INFO] [stdout] 1017 | Ok(try!(PtpObjectInfo::decode(&data))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1030:20 [INFO] [stdout] | [INFO] [stdout] 1030 | let data = try!(self.command(StandardCommandCode::GetObjectHandles, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1035:21 [INFO] [stdout] | [INFO] [stdout] 1035 | let value = try!(cur.read_ptp_u32_vec()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1036:9 [INFO] [stdout] | [INFO] [stdout] 1036 | try!(cur.expect_end()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1064:20 [INFO] [stdout] | [INFO] [stdout] 1064 | let data = try!(self.command(StandardCommandCode::GetNumObjects, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1070:21 [INFO] [stdout] | [INFO] [stdout] 1070 | let value = try!(cur.read_ptp_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1071:9 [INFO] [stdout] | [INFO] [stdout] 1071 | try!(cur.expect_end()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1077:20 [INFO] [stdout] | [INFO] [stdout] 1077 | let data = try!(self.command(StandardCommandCode::GetStorageInfo, &[storage_id], None, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1081:19 [INFO] [stdout] | [INFO] [stdout] 1081 | let res = try!(PtpStorageInfo::decode(&mut cur)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1082:9 [INFO] [stdout] | [INFO] [stdout] 1082 | try!(cur.expect_end()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1088:20 [INFO] [stdout] | [INFO] [stdout] 1088 | let data = try!(self.command(StandardCommandCode::GetStorageIDs, &[], None, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1092:21 [INFO] [stdout] | [INFO] [stdout] 1092 | let value = try!(cur.read_ptp_u32_vec()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1093:9 [INFO] [stdout] | [INFO] [stdout] 1093 | try!(cur.expect_end()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1111:20 [INFO] [stdout] | [INFO] [stdout] 1111 | let data = try!(self.command(StandardCommandCode::GetDeviceInfo, &[0, 0, 0], None, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1113:27 [INFO] [stdout] | [INFO] [stdout] 1113 | let device_info = try!(PtpDeviceInfo::decode(&data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1121:9 [INFO] [stdout] | [INFO] [stdout] 1121 | try!(self.command(StandardCommandCode::OpenSession, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1129:9 [INFO] [stdout] | [INFO] [stdout] 1129 | try!(self.command(StandardCommandCode::CloseSession, &[], None, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1135:9 [INFO] [stdout] | [INFO] [stdout] 1135 | try!(self.close_session(timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1136:9 [INFO] [stdout] | [INFO] [stdout] 1136 | try!(self.handle.release_interface(self.iface)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:830:28 [INFO] [stdout] | [INFO] [stdout] 830 | fn ptp_gen_message(w: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:844:32 [INFO] [stdout] | [INFO] [stdout] 844 | fn ptp_gen_cmd_message(w: &mut Write, code: CommandCode, tid: u32, params: &[u32]) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:519:30 [INFO] [stdout] | [INFO] [stdout] 519 | 0x0006 => UINT32(try!(reader.read_ptp_u32())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:520:29 [INFO] [stdout] | [INFO] [stdout] 520 | 0x0007 => INT64(try!(reader.read_ptp_i64())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:521:30 [INFO] [stdout] | [INFO] [stdout] 521 | 0x0008 => UINT64(try!(reader.read_ptp_u64())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:522:30 [INFO] [stdout] | [INFO] [stdout] 522 | 0x0009 => INT128(try!(reader.read_ptp_i128())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:523:31 [INFO] [stdout] | [INFO] [stdout] 523 | 0x000A => UINT128(try!(reader.read_ptp_u128())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:524:29 [INFO] [stdout] | [INFO] [stdout] 524 | 0x4001 => AINT8(try!(reader.read_ptp_i8_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:525:30 [INFO] [stdout] | [INFO] [stdout] 525 | 0x4002 => AUINT8(try!(reader.read_ptp_u8_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:526:30 [INFO] [stdout] | [INFO] [stdout] 526 | 0x4003 => AINT16(try!(reader.read_ptp_i16_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:527:31 [INFO] [stdout] | [INFO] [stdout] 527 | 0x4004 => AUINT16(try!(reader.read_ptp_u16_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:528:30 [INFO] [stdout] | [INFO] [stdout] 528 | 0x4005 => AINT32(try!(reader.read_ptp_i32_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:529:31 [INFO] [stdout] | [INFO] [stdout] 529 | 0x4006 => AUINT32(try!(reader.read_ptp_u32_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:530:30 [INFO] [stdout] | [INFO] [stdout] 530 | 0x4007 => AINT64(try!(reader.read_ptp_i64_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:531:31 [INFO] [stdout] | [INFO] [stdout] 531 | 0x4008 => AUINT64(try!(reader.read_ptp_u64_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:532:31 [INFO] [stdout] | [INFO] [stdout] 532 | 0x4009 => AINT128(try!(reader.read_ptp_i128_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:533:32 [INFO] [stdout] | [INFO] [stdout] 533 | 0x400A => AUINT128(try!(reader.read_ptp_u128_vec())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:534:27 [INFO] [stdout] | [INFO] [stdout] 534 | 0xFFFF => STR(try!(reader.read_ptp_str())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:624:22 [INFO] [stdout] | [INFO] [stdout] 624 | Version: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:625:25 [INFO] [stdout] | [INFO] [stdout] 625 | VendorExID: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:626:30 [INFO] [stdout] | [INFO] [stdout] 626 | VendorExVersion: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:627:34 [INFO] [stdout] | [INFO] [stdout] 627 | VendorExtensionDesc: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:628:29 [INFO] [stdout] | [INFO] [stdout] 628 | FunctionalMode: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:629:34 [INFO] [stdout] | [INFO] [stdout] 629 | OperationsSupported: try!(cur.read_ptp_u16_vec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:630:30 [INFO] [stdout] | [INFO] [stdout] 630 | EventsSupported: try!(cur.read_ptp_u16_vec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:631:40 [INFO] [stdout] | [INFO] [stdout] 631 | DevicePropertiesSupported: try!(cur.read_ptp_u16_vec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:632:29 [INFO] [stdout] | [INFO] [stdout] 632 | CaptureFormats: try!(cur.read_ptp_u16_vec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:633:27 [INFO] [stdout] | [INFO] [stdout] 633 | ImageFormats: try!(cur.read_ptp_u16_vec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:634:27 [INFO] [stdout] | [INFO] [stdout] 634 | Manufacturer: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:635:20 [INFO] [stdout] | [INFO] [stdout] 635 | Model: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:636:28 [INFO] [stdout] | [INFO] [stdout] 636 | DeviceVersion: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:637:27 [INFO] [stdout] | [INFO] [stdout] 637 | SerialNumber: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:671:24 [INFO] [stdout] | [INFO] [stdout] 671 | StorageID: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:672:27 [INFO] [stdout] | [INFO] [stdout] 672 | ObjectFormat: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:673:31 [INFO] [stdout] | [INFO] [stdout] 673 | ProtectionStatus: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:674:35 [INFO] [stdout] | [INFO] [stdout] 674 | ObjectCompressedSize: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:675:26 [INFO] [stdout] | [INFO] [stdout] 675 | ThumbFormat: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:676:34 [INFO] [stdout] | [INFO] [stdout] 676 | ThumbCompressedSize: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:677:28 [INFO] [stdout] | [INFO] [stdout] 677 | ThumbPixWidth: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:678:29 [INFO] [stdout] | [INFO] [stdout] 678 | ThumbPixHeight: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:679:28 [INFO] [stdout] | [INFO] [stdout] 679 | ImagePixWidth: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | ImagePixHeight: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:681:28 [INFO] [stdout] | [INFO] [stdout] 681 | ImageBitDepth: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:682:27 [INFO] [stdout] | [INFO] [stdout] 682 | ParentObject: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:683:30 [INFO] [stdout] | [INFO] [stdout] 683 | AssociationType: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:684:30 [INFO] [stdout] | [INFO] [stdout] 684 | AssociationDesc: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:685:29 [INFO] [stdout] | [INFO] [stdout] 685 | SequenceNumber: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:686:23 [INFO] [stdout] | [INFO] [stdout] 686 | Filename: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:687:26 [INFO] [stdout] | [INFO] [stdout] 687 | CaptureDate: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:688:31 [INFO] [stdout] | [INFO] [stdout] 688 | ModificationDate: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:689:23 [INFO] [stdout] | [INFO] [stdout] 689 | Keywords: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:711:26 [INFO] [stdout] | [INFO] [stdout] 711 | StorageType: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:712:29 [INFO] [stdout] | [INFO] [stdout] 712 | FilesystemType: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:713:31 [INFO] [stdout] | [INFO] [stdout] 713 | AccessCapability: try!(cur.read_ptp_u16()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:714:26 [INFO] [stdout] | [INFO] [stdout] 714 | MaxCapacity: try!(cur.read_ptp_u64()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:715:31 [INFO] [stdout] | [INFO] [stdout] 715 | FreeSpaceInBytes: try!(cur.read_ptp_u64()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:716:32 [INFO] [stdout] | [INFO] [stdout] 716 | FreeSpaceInImages: try!(cur.read_ptp_u32()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:717:33 [INFO] [stdout] | [INFO] [stdout] 717 | StorageDescription: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:718:26 [INFO] [stdout] | [INFO] [stdout] 718 | VolumeLabel: try!(cur.read_ptp_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:755:27 [INFO] [stdout] | [INFO] [stdout] 755 | PropertyCode: try!(cur.read_u16::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:757:29 [INFO] [stdout] | [INFO] [stdout] 757 | data_type = try!(cur.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:760:21 [INFO] [stdout] | [INFO] [stdout] 760 | GetSet: try!(cur.read_u8()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:761:23 [INFO] [stdout] | [INFO] [stdout] 761 | IsEnable: try!(cur.read_u8()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:762:29 [INFO] [stdout] | [INFO] [stdout] 762 | FactoryDefault: try!(PtpDataType::read_type(data_type, cur)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:763:22 [INFO] [stdout] | [INFO] [stdout] 763 | Current: try!(PtpDataType::read_type(data_type, cur)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:765:23 [INFO] [stdout] | [INFO] [stdout] 765 | match try!(cur.read_u8()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:769:39 [INFO] [stdout] | [INFO] [stdout] 769 | ... minValue: try!(PtpDataType::read_type(data_type, cur)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:770:39 [INFO] [stdout] | [INFO] [stdout] 770 | ... maxValue: try!(PtpDataType::read_type(data_type, cur)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:771:35 [INFO] [stdout] | [INFO] [stdout] 771 | ... step: try!(PtpDataType::read_type(data_type, cur)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:777:43 [INFO] [stdout] | [INFO] [stdout] 777 | ... let len = try!(cur.read_u16::()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:780:46 [INFO] [stdout] | [INFO] [stdout] 780 | ... arr.push(try!(PtpDataType::read_type(data_type, cur))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:809:19 [INFO] [stdout] | [INFO] [stdout] 809 | let len = try!(r.read_u32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:810:23 [INFO] [stdout] | [INFO] [stdout] 810 | let msgtype = try!(r.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:811:21 [INFO] [stdout] | [INFO] [stdout] 811 | let mtype = try!(PtpContainerType::from_u16(msgtype) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:813:20 [INFO] [stdout] | [INFO] [stdout] 813 | let code = try!(r.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:814:19 [INFO] [stdout] | [INFO] [stdout] 814 | let tid = try!(r.read_u32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:863:27 [INFO] [stdout] | [INFO] [stdout] 863 | let config_desc = try!(device.active_config_descriptor()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:865:30 [INFO] [stdout] | [INFO] [stdout] 865 | let interface_desc = try!(config_desc.interfaces() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:872:26 [INFO] [stdout] | [INFO] [stdout] 872 | let mut handle = try!(device.open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:874:9 [INFO] [stdout] | [INFO] [stdout] 874 | try!(handle.claim_interface(interface_desc.interface_number())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:875:9 [INFO] [stdout] | [INFO] [stdout] 875 | try!(handle.set_alternate_setting(interface_desc.interface_number(), interface_desc.setting_number())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:886:21 [INFO] [stdout] | [INFO] [stdout] 886 | ep_in: try!(find_endpoint(libusb::Direction::In, libusb::TransferType::Bulk)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:887:21 [INFO] [stdout] | [INFO] [stdout] 887 | ep_out: try!(find_endpoint(libusb::Direction::Out, libusb::TransferType::Bulk)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:888:22 [INFO] [stdout] | [INFO] [stdout] 888 | _ep_int: try!(find_endpoint(libusb::Direction::In, libusb::TransferType::Interrupt)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:925:9 [INFO] [stdout] | [INFO] [stdout] 925 | try!(self.handle.write_bulk(self.ep_out, &cmd_message, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:942:13 [INFO] [stdout] | [INFO] [stdout] 942 | try!(self.handle.write_bulk(self.ep_out, &data_message, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:955:40 [INFO] [stdout] | [INFO] [stdout] 955 | let (container, payload) = try!(self.read_txn_phase(timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:983:21 [INFO] [stdout] | [INFO] [stdout] 983 | let n = try!(self.handle.read_bulk(self.ep_in, &mut unintialized_buf[..], timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:987:21 [INFO] [stdout] | [INFO] [stdout] 987 | let cinfo = try!(PtpContainerInfo::parse(&buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1005:25 [INFO] [stdout] | [INFO] [stdout] 1005 | let n = try!(self.handle.read_bulk(self.ep_in, pslice, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1016:20 [INFO] [stdout] | [INFO] [stdout] 1016 | let data = try!(self.command(StandardCommandCode::GetObjectInfo, &[handle], None, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1017:12 [INFO] [stdout] | [INFO] [stdout] 1017 | Ok(try!(PtpObjectInfo::decode(&data))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1030:20 [INFO] [stdout] | [INFO] [stdout] 1030 | let data = try!(self.command(StandardCommandCode::GetObjectHandles, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1035:21 [INFO] [stdout] | [INFO] [stdout] 1035 | let value = try!(cur.read_ptp_u32_vec()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1036:9 [INFO] [stdout] | [INFO] [stdout] 1036 | try!(cur.expect_end()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1064:20 [INFO] [stdout] | [INFO] [stdout] 1064 | let data = try!(self.command(StandardCommandCode::GetNumObjects, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1070:21 [INFO] [stdout] | [INFO] [stdout] 1070 | let value = try!(cur.read_ptp_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1071:9 [INFO] [stdout] | [INFO] [stdout] 1071 | try!(cur.expect_end()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1077:20 [INFO] [stdout] | [INFO] [stdout] 1077 | let data = try!(self.command(StandardCommandCode::GetStorageInfo, &[storage_id], None, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1081:19 [INFO] [stdout] | [INFO] [stdout] 1081 | let res = try!(PtpStorageInfo::decode(&mut cur)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1082:9 [INFO] [stdout] | [INFO] [stdout] 1082 | try!(cur.expect_end()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1088:20 [INFO] [stdout] | [INFO] [stdout] 1088 | let data = try!(self.command(StandardCommandCode::GetStorageIDs, &[], None, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1092:21 [INFO] [stdout] | [INFO] [stdout] 1092 | let value = try!(cur.read_ptp_u32_vec()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1093:9 [INFO] [stdout] | [INFO] [stdout] 1093 | try!(cur.expect_end()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1111:20 [INFO] [stdout] | [INFO] [stdout] 1111 | let data = try!(self.command(StandardCommandCode::GetDeviceInfo, &[0, 0, 0], None, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1113:27 [INFO] [stdout] | [INFO] [stdout] 1113 | let device_info = try!(PtpDeviceInfo::decode(&data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1121:9 [INFO] [stdout] | [INFO] [stdout] 1121 | try!(self.command(StandardCommandCode::OpenSession, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1129:9 [INFO] [stdout] | [INFO] [stdout] 1129 | try!(self.command(StandardCommandCode::CloseSession, &[], None, timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1135:9 [INFO] [stdout] | [INFO] [stdout] 1135 | try!(self.close_session(timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1136:9 [INFO] [stdout] | [INFO] [stdout] 1136 | try!(self.handle.release_interface(self.iface)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:830:28 [INFO] [stdout] | [INFO] [stdout] 830 | fn ptp_gen_message(w: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:844:32 [INFO] [stdout] | [INFO] [stdout] 844 | fn ptp_gen_cmd_message(w: &mut Write, code: CommandCode, tid: u32, params: &[u32]) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:982:32 [INFO] [stdout] | [INFO] [stdout] 982 | unintialized_buf = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:982:32 [INFO] [stdout] | [INFO] [stdout] 982 | unintialized_buf = ::std::mem::uninitialized(); [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:222:36 [INFO] [stdout] | [INFO] [stdout] 222 | Error::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:223:35 [INFO] [stdout] | [INFO] [stdout] 223 | Error::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:222:36 [INFO] [stdout] | [INFO] [stdout] 222 | Error::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:223:35 [INFO] [stdout] | [INFO] [stdout] 223 | Error::Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 135 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 135 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.79s [INFO] running `Command { std: "docker" "inspect" "069afc976a7628e569bfc2eee13f7bc344841afa08a988cdf39f571a6f580f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "069afc976a7628e569bfc2eee13f7bc344841afa08a988cdf39f571a6f580f88", kill_on_drop: false }` [INFO] [stdout] 069afc976a7628e569bfc2eee13f7bc344841afa08a988cdf39f571a6f580f88