[INFO] fetching crate steamy-controller 0.2.1... [INFO] checking steamy-controller-0.2.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate steamy-controller 0.2.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate steamy-controller 0.2.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate steamy-controller 0.2.1 [INFO] finished tweaking crates.io crate steamy-controller 0.2.1 [INFO] tweaked toml for crates.io crate steamy-controller 0.2.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hidapi-sys v0.1.4 [INFO] [stderr] Downloaded libusb v0.2.2 [INFO] [stderr] Downloaded libusb-sys v0.2.3 [INFO] [stderr] Downloaded hid v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b7e0d04a7a869bfef73fc57d87efa7cd9561426358d797c45915c8724568e467 [INFO] running `Command { std: "docker" "start" "-a" "b7e0d04a7a869bfef73fc57d87efa7cd9561426358d797c45915c8724568e467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7e0d04a7a869bfef73fc57d87efa7cd9561426358d797c45915c8724568e467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7e0d04a7a869bfef73fc57d87efa7cd9561426358d797c45915c8724568e467", kill_on_drop: false }` [INFO] [stdout] b7e0d04a7a869bfef73fc57d87efa7cd9561426358d797c45915c8724568e467 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cc553f6afc664371d3ff8c540b5395a6e35d7492facc85b95f1c3b7a8b74e39 [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" "2cc553f6afc664371d3ff8c540b5395a6e35d7492facc85b95f1c3b7a8b74e39", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Compiling libusb-sys v0.2.3 [INFO] [stderr] Checking bit-set v0.2.0 [INFO] [stderr] Checking libusb v0.2.2 [INFO] [stderr] Checking steamy-controller v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manager.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | usb: try!(usb::Context::new()), [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/manager.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let devices = try!(self.usb.devices()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manager.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let descriptor = try!(device.device_descriptor()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manager.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | let 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/controller.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | for i in 0 .. try!(device.device_descriptor()).num_configurations() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | for interface in try!(device.config_descriptor(i)).interfaces() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | if try!(handle.kernel_driver_active(interface.number())) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 91 | try!(handle.detach_kernel_driver(interface.number())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | try!(handle.claim_interface(descriptor.interface_number())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | address: try!(address.ok_or(usb::Error::InvalidParam)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | try!(controller.reset()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | try!(self.control(0x85)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | try!(self.control(0x81)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | try!(self.control_with(0x87, 0x15, |mut buf| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:193:4 [INFO] [stdout] | [INFO] [stdout] 193 | try!(self.control_with(0x87, 0x15, |mut buf| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | try!(buf.write_u8(0x32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | try!(buf.write_u16::(timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | try!(buf.write(&[0x18, 0x00, 0x00, 0x31, 0x02, 0x00, 0x08, 0x07, 0x00, 0x07, 0x07, 0x00, 0x30])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | try!(buf.write_u8(0x14)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | try!(buf.write_u8(0x32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | try!(buf.write_u16::(timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | try!(buf.write(&[0x18, 0x00, 0x00, 0x31, 0x02, 0x00, 0x08, 0x07, 0x00, 0x07, 0x07, 0x00, 0x30])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | try!(buf.write_u8(0x00)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:219:3 [INFO] [stdout] | [INFO] [stdout] 219 | try!(func(Cursor::new(&mut self.packet[2..]))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:220:3 [INFO] [stdout] | [INFO] [stdout] 220 | try!(self.handle.write_control(0x21, 0x09, 0x0300, self.index, &self.packet[..], Duration::from_secs(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:254:3 [INFO] [stdout] | [INFO] [stdout] 254 | try!(func(Cursor::new(&mut self.packet[2..]))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | try!(Err(e)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | / request!(limit, self.handle.write_control(0x21, 0x09, 0x0300, self.index, [INFO] [stdout] 259 | | &self.packet[..], Duration::from_secs(0))); [INFO] [stdout] | |___________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | try!(Err(e)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | / request!(limit, self.handle.read_control(0xa1, 0x01, 0x0300, [INFO] [stdout] 262 | | self.index, &mut self.packet[..], Duration::from_secs(0))); [INFO] [stdout] | |___________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | try!(Err(e)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | request!(limit, Err(Error::NotSupported)); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:346:4 [INFO] [stdout] | [INFO] [stdout] 346 | try!(self.request(0x83)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:349:15 [INFO] [stdout] | [INFO] [stdout] 349 | let build = try!(details::Build::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:349:54 [INFO] [stdout] | [INFO] [stdout] 349 | let build = try!(details::Build::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:352:19 [INFO] [stdout] | [INFO] [stdout] 352 | let mainboard = try!(details::Serial::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:352:59 [INFO] [stdout] | [INFO] [stdout] 352 | let mainboard = try!(details::Serial::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 355 | let controller = try!(details::Serial::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:355:60 [INFO] [stdout] | [INFO] [stdout] 355 | let controller = try!(details::Serial::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | Some(try!(details::Receiver::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:359:51 [INFO] [stdout] | [INFO] [stdout] 359 | Some(try!(details::Receiver::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:379:6 [INFO] [stdout] | [INFO] [stdout] 379 | if try!(self.handle.read_interrupt(self.address, &mut self.packet, timeout)) != 64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:399:23 [INFO] [stdout] | [INFO] [stdout] 399 | let (id, buffer) = try!(self.receive(timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | try!(State::parse(id, Cursor::new(buffer))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:404:4 [INFO] [stdout] | [INFO] [stdout] 404 | try!(self.reset()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/feedback.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | try!(buf.write_u8(side)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/feedback.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | try!(buf.write_u16::(amplitude)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/feedback.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | try!(buf.write_u16::(period)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/feedback.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | try!(buf.write_u16::(count)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | try!(buf.write_u8(on)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | try!(buf.write_u8(off)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | try!(buf.write_u8(channel)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | try!(buf.write_u16::((period * RATIO).round() as u16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | try!(buf.write_u16::((period * RATIO).round() as u16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | try!(buf.write_u16::((duration / period).round() as u16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | try!(buf.write_u16::(0x7fff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/button.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / bitflags! { [INFO] [stdout] 2 | | flags Button: u32 { [INFO] [stdout] 3 | | /// A button has been pressed. [INFO] [stdout] 4 | | const A = 0b100000000000000000000000, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [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/button.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / bitflags! { [INFO] [stdout] 2 | | flags Button: u32 { [INFO] [stdout] 3 | | /// A button has been pressed. [INFO] [stdout] 4 | | const A = 0b100000000000000000000000, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [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/state.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | let sequence = try!(buffer.read_u32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | let buttons = try!(buffer.read_u32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | let rtrig = try!(buffer.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | try!(buffer.seek(SeekFrom::Current(3))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let lpad_x = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | let lpad_y = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | let rpad_x = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | let rpad_y = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | let ltrigp = try!(buffer.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | let rtrigp = try!(buffer.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | try!(buffer.seek(SeekFrom::Current(8))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | let apitch = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | let ayaw = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | let aroll = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | let opitch = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | let oyaw = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | let oroll = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | buttons: try!(Button::from_bits(buttons).ok_or(Error::InvalidParameter)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | let mode = try!(buffer.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | let sequence = try!(buffer.read_u32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | revision = try!(buffer.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | bootloader = try!(buffer.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | firmware = try!(buffer.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | radio = try!(buffer.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | try!(buffer.seek(SeekFrom::Current(4))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | try!(buffer.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | try!(buffer.read(&mut serial[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | let firmware = try!(buffer.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 88 | try!(buffer.seek(SeekFrom::Current(10))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | try!(buffer.read(&mut serial[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manager.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | usb: try!(usb::Context::new()), [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/manager.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let devices = try!(self.usb.devices()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manager.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let descriptor = try!(device.device_descriptor()); [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/error.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manager.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | let 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/controller.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | for i in 0 .. try!(device.device_descriptor()).num_configurations() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | for interface in try!(device.config_descriptor(i)).interfaces() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | if try!(handle.kernel_driver_active(interface.number())) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 91 | try!(handle.detach_kernel_driver(interface.number())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | try!(handle.claim_interface(descriptor.interface_number())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | address: try!(address.ok_or(usb::Error::InvalidParam)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | try!(controller.reset()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | try!(self.control(0x85)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | try!(self.control(0x81)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | try!(self.control_with(0x87, 0x15, |mut buf| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:193:4 [INFO] [stdout] | [INFO] [stdout] 193 | try!(self.control_with(0x87, 0x15, |mut buf| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | try!(buf.write_u8(0x32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | try!(buf.write_u16::(timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | try!(buf.write(&[0x18, 0x00, 0x00, 0x31, 0x02, 0x00, 0x08, 0x07, 0x00, 0x07, 0x07, 0x00, 0x30])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | try!(buf.write_u8(0x14)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | try!(buf.write_u8(0x32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | try!(buf.write_u16::(timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | try!(buf.write(&[0x18, 0x00, 0x00, 0x31, 0x02, 0x00, 0x08, 0x07, 0x00, 0x07, 0x07, 0x00, 0x30])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | try!(buf.write_u8(0x00)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:219:3 [INFO] [stdout] | [INFO] [stdout] 219 | try!(func(Cursor::new(&mut self.packet[2..]))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:220:3 [INFO] [stdout] | [INFO] [stdout] 220 | try!(self.handle.write_control(0x21, 0x09, 0x0300, self.index, &self.packet[..], Duration::from_secs(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:254:3 [INFO] [stdout] | [INFO] [stdout] 254 | try!(func(Cursor::new(&mut self.packet[2..]))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | try!(Err(e)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | / request!(limit, self.handle.write_control(0x21, 0x09, 0x0300, self.index, [INFO] [stdout] 259 | | &self.packet[..], Duration::from_secs(0))); [INFO] [stdout] | |___________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | try!(Err(e)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | / request!(limit, self.handle.read_control(0xa1, 0x01, 0x0300, [INFO] [stdout] 262 | | self.index, &mut self.packet[..], Duration::from_secs(0))); [INFO] [stdout] | |___________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | try!(Err(e)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | request!(limit, Err(Error::NotSupported)); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:346:4 [INFO] [stdout] | [INFO] [stdout] 346 | try!(self.request(0x83)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:349:15 [INFO] [stdout] | [INFO] [stdout] 349 | let build = try!(details::Build::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:349:54 [INFO] [stdout] | [INFO] [stdout] 349 | let build = try!(details::Build::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:352:19 [INFO] [stdout] | [INFO] [stdout] 352 | let mainboard = try!(details::Serial::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:352:59 [INFO] [stdout] | [INFO] [stdout] 352 | let mainboard = try!(details::Serial::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 355 | let controller = try!(details::Serial::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:355:60 [INFO] [stdout] | [INFO] [stdout] 355 | let controller = try!(details::Serial::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | Some(try!(details::Receiver::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:359:51 [INFO] [stdout] | [INFO] [stdout] 359 | Some(try!(details::Receiver::parse(Cursor::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:379:6 [INFO] [stdout] | [INFO] [stdout] 379 | if try!(self.handle.read_interrupt(self.address, &mut self.packet, timeout)) != 64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:399:23 [INFO] [stdout] | [INFO] [stdout] 399 | let (id, buffer) = try!(self.receive(timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | try!(State::parse(id, Cursor::new(buffer))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/controller.rs:404:4 [INFO] [stdout] | [INFO] [stdout] 404 | try!(self.reset()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/feedback.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | try!(buf.write_u8(side)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/feedback.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | try!(buf.write_u16::(amplitude)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/feedback.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | try!(buf.write_u16::(period)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/feedback.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | try!(buf.write_u16::(count)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | try!(buf.write_u8(on)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | try!(buf.write_u8(off)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | try!(buf.write_u8(channel)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | try!(buf.write_u16::((period * RATIO).round() as u16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | try!(buf.write_u16::((period * RATIO).round() as u16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | try!(buf.write_u16::((duration / period).round() as u16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | try!(buf.write_u16::(0x7fff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/button.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / bitflags! { [INFO] [stdout] 2 | | flags Button: u32 { [INFO] [stdout] 3 | | /// A button has been pressed. [INFO] [stdout] 4 | | const A = 0b100000000000000000000000, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [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/button.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / bitflags! { [INFO] [stdout] 2 | | flags Button: u32 { [INFO] [stdout] 3 | | /// A button has been pressed. [INFO] [stdout] 4 | | const A = 0b100000000000000000000000, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [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/state.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | let sequence = try!(buffer.read_u32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | let buttons = try!(buffer.read_u32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | let rtrig = try!(buffer.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | try!(buffer.seek(SeekFrom::Current(3))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let lpad_x = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | let lpad_y = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | let rpad_x = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | let rpad_y = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | let ltrigp = try!(buffer.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | let rtrigp = try!(buffer.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | try!(buffer.seek(SeekFrom::Current(8))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | let apitch = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | let ayaw = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | let aroll = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | let opitch = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | let oyaw = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | let oroll = try!(buffer.read_i16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | buttons: try!(Button::from_bits(buttons).ok_or(Error::InvalidParameter)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | let mode = try!(buffer.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | let sequence = try!(buffer.read_u32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | revision = try!(buffer.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | bootloader = try!(buffer.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | firmware = try!(buffer.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | radio = try!(buffer.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | try!(buffer.seek(SeekFrom::Current(4))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | try!(buffer.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | try!(buffer.read(&mut serial[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | let firmware = try!(buffer.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 88 | try!(buffer.seek(SeekFrom::Current(10))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/details.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | try!(buffer.read(&mut serial[..])); [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/error.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | f.write_str(error::Error::description(self)) [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/error.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | err.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/error.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | err.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/error.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | err.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/error.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 88 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 88 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.39s [INFO] running `Command { std: "docker" "inspect" "2cc553f6afc664371d3ff8c540b5395a6e35d7492facc85b95f1c3b7a8b74e39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cc553f6afc664371d3ff8c540b5395a6e35d7492facc85b95f1c3b7a8b74e39", kill_on_drop: false }` [INFO] [stdout] 2cc553f6afc664371d3ff8c540b5395a6e35d7492facc85b95f1c3b7a8b74e39