[INFO] fetching crate cupi 0.1.0... [INFO] checking cupi-0.1.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate cupi 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate cupi 0.1.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 cupi 0.1.0 [INFO] finished tweaking crates.io crate cupi 0.1.0 [INFO] tweaked toml for crates.io crate cupi 0.1.0 written to /workspace/builds/worker-13/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 320907ae5c28c17fc27a0f5b312601eae9c3fc45a4ab8ccbf9198913a601f4c6 [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" "320907ae5c28c17fc27a0f5b312601eae9c3fc45a4ab8ccbf9198913a601f4c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "320907ae5c28c17fc27a0f5b312601eae9c3fc45a4ab8ccbf9198913a601f4c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "320907ae5c28c17fc27a0f5b312601eae9c3fc45a4ab8ccbf9198913a601f4c6", kill_on_drop: false }` [INFO] [stdout] 320907ae5c28c17fc27a0f5b312601eae9c3fc45a4ab8ccbf9198913a601f4c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07a419e3f9a66c78b3d7ee0d86c9317fc1dd1efc28e688ead205205236d8e9da [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" "07a419e3f9a66c78b3d7ee0d86c9317fc1dd1efc28e688ead205205236d8e9da", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking mmap v0.1.1 [INFO] [stderr] Checking spidev v0.4.0 [INFO] [stderr] Checking cupi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `nix::sys::ioctl::libc` [INFO] [stdout] --> src/lib.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | use nix::sys::ioctl::libc::geteuid; [INFO] [stdout] | ^^^^ could not find `libc` in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nix::sys::ioctl::libc` [INFO] [stdout] --> src/lib.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | use nix::sys::ioctl::libc::geteuid; [INFO] [stdout] | ^^^^ could not find `libc` in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/map.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let f = try!(OpenOptions::new().read(true).write(true).open("/dev/mem")); [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/map.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let mem_map = try!(mmap::MemoryMap::new(BCM2708::BLOCK_SIZE, &[ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/logic.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | match try!(self.digital_read()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/logic.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | match try!(self.digital_read()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(write!(f, "{}", s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | try!(write!(f, "{}", s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(write!(f, "{}", s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | let cpuinfo = try!(cpuinfo()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | let memory = try!(memory()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cupi.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let board = try!(board()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cupi.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | true => Some(try!(GPIO::new(board.cpu))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cupi.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let gpio_pin = try!(self.board.pin_to_gpio(pin)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cupi.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | let gpio_pin = try!(self.board.pin_to_gpio(pin)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bcm270x/gpio.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let sys_mem = try!(SystemMemory::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bcm270x/gpio.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let gpio_base = try!(sys_mem.mmap(ptr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(GPIOSelector::write("export", self.pin)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | try!(GPIOPinSelector::write(self.pin, "direction", "in")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let sel = try!(GPIOPinSelector::open_rd(self.pin, "value")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(GPIOPinSelector::write(self.pin, "direction", "out")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | let sel = try!(GPIOPinSelector::open(self.pin, "value")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | try!(self.sel.seek(SeekFrom::Start(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | let len = try!(self.sel.read(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | try!(GPIOPinSelector::write(self.pin, "edge", match edge { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | let _ = try!(self.sel.write(&buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/fs.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | sys: try!(Selector::writable().open(format!("/sys/class/gpio/{}", name))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/fs.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | let mut sel = try!(Self::open(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/fs.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | try!(write!(sel.sys, "{}", src)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/fs.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | sys: try!(Selector::writable().open(format!("/sys/class/gpio/gpio{}/{}", pin, name))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/fs.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | sys: try!(Selector::readable().open(format!("/sys/class/gpio/gpio{}/{}", pin, name))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/fs.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | let mut sel = try!(Self::open(pin, name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/fs.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(write!(sel.sys, "{}", src)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut f = try!(File::open("/proc/cpuinfo")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | try!(f.read_to_string(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let o = try!(Command::new("free").output()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let s = try!(String::from_utf8(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | let total = try!(w[1].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | let used = try!(w[2].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let free = try!(w[3].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | let shared = try!(w[4].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | let buffers = try!(w[5].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | let cached = try!(w[6].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[macro_use] extern crate bitflags; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RootRequired`, `UnconnectedPin`, `UnsupportedHardware` [INFO] [stdout] --> src/result.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | RootRequired, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | UnexpectedError, [INFO] [stdout] 11 | UnsupportedHardware, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | UnconnectedPin, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/logic.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use {Result, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/map.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let f = try!(OpenOptions::new().read(true).write(true).open("/dev/mem")); [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/map.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let mem_map = try!(mmap::MemoryMap::new(BCM2708::BLOCK_SIZE, &[ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/logic.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | match try!(self.digital_read()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/logic.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | match try!(self.digital_read()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(write!(f, "{}", s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | try!(write!(f, "{}", s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(write!(f, "{}", s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | let cpuinfo = try!(cpuinfo()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | let memory = try!(memory()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cupi.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let board = try!(board()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cupi.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | true => Some(try!(GPIO::new(board.cpu))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cupi.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let gpio_pin = try!(self.board.pin_to_gpio(pin)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cupi.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | let gpio_pin = try!(self.board.pin_to_gpio(pin)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bcm270x/gpio.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let sys_mem = try!(SystemMemory::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bcm270x/gpio.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let gpio_base = try!(sys_mem.mmap(ptr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(GPIOSelector::write("export", self.pin)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | try!(GPIOPinSelector::write(self.pin, "direction", "in")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let sel = try!(GPIOPinSelector::open_rd(self.pin, "value")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(GPIOPinSelector::write(self.pin, "direction", "out")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | let sel = try!(GPIOPinSelector::open(self.pin, "value")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | try!(self.sel.seek(SeekFrom::Start(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | let len = try!(self.sel.read(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | try!(GPIOPinSelector::write(self.pin, "edge", match edge { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/gpio.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | let _ = try!(self.sel.write(&buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/fs.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | sys: try!(Selector::writable().open(format!("/sys/class/gpio/{}", name))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/fs.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | let mut sel = try!(Self::open(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/fs.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | try!(write!(sel.sys, "{}", src)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/fs.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | sys: try!(Selector::writable().open(format!("/sys/class/gpio/gpio{}/{}", pin, name))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/fs.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | sys: try!(Selector::readable().open(format!("/sys/class/gpio/gpio{}/{}", pin, name))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/fs.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | let mut sel = try!(Self::open(pin, name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/fs.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(write!(sel.sys, "{}", src)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut f = try!(File::open("/proc/cpuinfo")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | try!(f.read_to_string(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let o = try!(Command::new("free").output()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let s = try!(String::from_utf8(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | let total = try!(w[1].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | let used = try!(w[2].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let free = try!(w[3].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | let shared = try!(w[4].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | let buffers = try!(w[5].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mod.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | let cached = try!(w[6].parse::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[macro_use] extern crate bitflags; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RootRequired`, `UnconnectedPin`, `UnsupportedHardware` [INFO] [stdout] --> src/result.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | RootRequired, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | UnexpectedError, [INFO] [stdout] 11 | UnsupportedHardware, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | UnconnectedPin, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/logic.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use {Result, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cupi` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "07a419e3f9a66c78b3d7ee0d86c9317fc1dd1efc28e688ead205205236d8e9da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07a419e3f9a66c78b3d7ee0d86c9317fc1dd1efc28e688ead205205236d8e9da", kill_on_drop: false }` [INFO] [stdout] 07a419e3f9a66c78b3d7ee0d86c9317fc1dd1efc28e688ead205205236d8e9da