[INFO] fetching crate libudev 0.3.0... [INFO] checking libudev-0.3.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate libudev 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate libudev 0.3.0 [INFO] finished tweaking crates.io crate libudev 0.3.0 [INFO] tweaked toml for crates.io crate libudev 0.3.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libudev 0.3.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libudev 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97634715f0b1491ed7cccc7e0d70e2246eae38222407909c7c3fd8d27c20d44a [INFO] running `Command { std: "docker" "start" "-a" "97634715f0b1491ed7cccc7e0d70e2246eae38222407909c7c3fd8d27c20d44a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97634715f0b1491ed7cccc7e0d70e2246eae38222407909c7c3fd8d27c20d44a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97634715f0b1491ed7cccc7e0d70e2246eae38222407909c7c3fd8d27c20d44a", kill_on_drop: false }` [INFO] [stdout] 97634715f0b1491ed7cccc7e0d70e2246eae38222407909c7c3fd8d27c20d44a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54690066dfa39f552278cedf2168e3bf02e2b7eb631e31c2b6793dfad5cedf35 [INFO] running `Command { std: "docker" "start" "-a" "54690066dfa39f552278cedf2168e3bf02e2b7eb631e31c2b6793dfad5cedf35", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking libudev v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/device.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let syspath = try!(::util::os_str_to_cstring(syspath)); [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/device.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let attribute = try!(::util::os_str_to_cstring(attribute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/device.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let attribute = try!(::util::os_str_to_cstring(attribute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let sysname = try!(::util::os_str_to_cstring(sysname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | let property = try!(::util::os_str_to_cstring(property)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | let tag = try!(::util::os_str_to_cstring(tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let attribute = try!(::util::os_str_to_cstring(attribute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | let syspath = try!(::util::os_str_to_cstring(syspath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | try!(::util::errno_to_result(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let devtype = try!(::util::os_str_to_cstring(devtype)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let tag = try!(::util::os_str_to_cstring(tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | try!(::util::errno_to_result(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/device.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let syspath = try!(::util::os_str_to_cstring(syspath)); [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/device.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let attribute = try!(::util::os_str_to_cstring(attribute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/device.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let attribute = try!(::util::os_str_to_cstring(attribute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let sysname = try!(::util::os_str_to_cstring(sysname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | let property = try!(::util::os_str_to_cstring(property)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | let tag = try!(::util::os_str_to_cstring(tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let attribute = try!(::util::os_str_to_cstring(attribute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | let syspath = try!(::util::os_str_to_cstring(syspath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | try!(::util::errno_to_result(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let devtype = try!(::util::os_str_to_cstring(devtype)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let tag = try!(::util::os_str_to_cstring(tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | try!(::util::errno_to_result(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn properties(&self) -> Properties { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 230 | pub fn properties(&self) -> Properties<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device.rs:251:23 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn attributes(&self) -> Attributes { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 251 | pub fn attributes(&self) -> Attributes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/enumerator.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn scan_devices(&mut self) -> ::Result { [INFO] [stdout] | ^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn scan_devices(&mut self) -> ::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn properties(&self) -> Properties { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 230 | pub fn properties(&self) -> Properties<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device.rs:251:23 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn attributes(&self) -> Attributes { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 251 | pub fn attributes(&self) -> Attributes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/enumerator.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn scan_devices(&mut self) -> ::Result { [INFO] [stdout] | ^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn scan_devices(&mut self) -> ::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/list_devices.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let mut enumerator = try!(libudev::Enumerator::new(&context)); [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] --> examples/list_devices.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | for device in try!(enumerator.scan_devices()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/monitor.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | try!(monitor.match_subsystem_devtype("usb", "usb_device")); [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] --> examples/monitor.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | let mut monitor = try!(libudev::Monitor::new(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/monitor.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let mut socket = try!(monitor.listen()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.73s [INFO] running `Command { std: "docker" "inspect" "54690066dfa39f552278cedf2168e3bf02e2b7eb631e31c2b6793dfad5cedf35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54690066dfa39f552278cedf2168e3bf02e2b7eb631e31c2b6793dfad5cedf35", kill_on_drop: false }` [INFO] [stdout] 54690066dfa39f552278cedf2168e3bf02e2b7eb631e31c2b6793dfad5cedf35