[INFO] fetching crate rzw 0.1.0... [INFO] checking rzw-0.1.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate rzw 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate rzw 0.1.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rzw 0.1.0 [INFO] finished tweaking crates.io crate rzw 0.1.0 [INFO] tweaked toml for crates.io crate rzw 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages [INFO] [stderr] Adding ioctl-rs v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding mac v0.0.2 (latest: v0.1.1) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding num-bigint v0.1.44 (latest: v0.4.4) [INFO] [stderr] Adding num-complex v0.1.43 (latest: v0.4.5) [INFO] [stderr] Adding num-rational v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding num-traits v0.1.43 (latest: v0.2.18) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding serial v0.3.4 (latest: v0.4.0) [INFO] [stderr] Adding termios v0.2.2 (latest: v0.3.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-5-tc1/source/examples/01_basic.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `basic` [INFO] [stderr] * `example` target `01_basic` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mac v0.0.2 [INFO] [stderr] Downloaded ioctl-rs v0.1.6 [INFO] [stderr] Downloaded serial v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf88f22487108900c2c2250e707581eec546fe6de0e054610171a07fb218c13c [INFO] running `Command { std: "docker" "start" "-a" "cf88f22487108900c2c2250e707581eec546fe6de0e054610171a07fb218c13c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf88f22487108900c2c2250e707581eec546fe6de0e054610171a07fb218c13c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf88f22487108900c2c2250e707581eec546fe6de0e054610171a07fb218c13c", kill_on_drop: false }` [INFO] [stdout] cf88f22487108900c2c2250e707581eec546fe6de0e054610171a07fb218c13c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db389818ed0638ccd318975717b95273f155cd6a1d3935b47c3280bcfd97d9ac [INFO] running `Command { std: "docker" "start" "-a" "db389818ed0638ccd318975717b95273f155cd6a1d3935b47c3280bcfd97d9ac", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/01_basic.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `basic` [INFO] [stderr] * `example` target `01_basic` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking mac v0.0.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking serial v0.3.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rzw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serial` is imported redundantly [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serial; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | extern crate serial; [INFO] [stdout] | -------------------- the item `serial` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | /// List of the generic node types [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:589:1 [INFO] [stdout] | [INFO] [stdout] 589 | /// List of the ZWave start header [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 600 | /// List of different ZWave command types (rx/tx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | /// List of different ZWave transmission types [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:621:1 [INFO] [stdout] | [INFO] [stdout] 621 | /// List of all available ZWave functions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serial` is imported redundantly [INFO] [stdout] --> src/driver/serial.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use serial::{self, SerialPort, SystemPort}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | extern crate serial; [INFO] [stdout] | -------------------- the item `serial` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/driver/serial.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(port.reconfigure(&|settings| { [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/driver/serial.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | try!(port.set_timeout(Duration::from_millis(200))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/driver/serial.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | let mut port = try!(serial::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/driver/serial.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | try!(settings.set_baud_rate(serial::Baud115200)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/driver/mod.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn write(&mut self, N) -> Result [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: N` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/driver/mod.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_node_generic_class(&mut self, N) -> Result [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: N` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serial` is imported redundantly [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serial; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | extern crate serial; [INFO] [stdout] | -------------------- the item `serial` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | /// List of the generic node types [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:589:1 [INFO] [stdout] | [INFO] [stdout] 589 | /// List of the ZWave start header [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 600 | /// List of different ZWave command types (rx/tx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | /// List of different ZWave transmission types [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/cmds/powerlevel.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | ((msb << 8) | lsb) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 171 - ((msb << 8) | lsb) [INFO] [stdout] 171 + (msb << 8) | lsb [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:621:1 [INFO] [stdout] | [INFO] [stdout] 621 | /// List of all available ZWave functions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serial` is imported redundantly [INFO] [stdout] --> src/driver/serial.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use serial::{self, SerialPort, SystemPort}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | extern crate serial; [INFO] [stdout] | -------------------- the item `serial` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/driver/serial.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(port.reconfigure(&|settings| { [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/driver/serial.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | try!(port.set_timeout(Duration::from_millis(200))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/driver/serial.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | let mut port = try!(serial::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/driver/serial.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | try!(settings.set_baud_rate(serial::Baud115200)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/driver/mod.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn write(&mut self, N) -> Result [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: N` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/driver/mod.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_node_generic_class(&mut self, N) -> Result [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: N` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/cmds/powerlevel.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | ((msb << 8) | lsb) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 171 - ((msb << 8) | lsb) [INFO] [stdout] 171 + (msb << 8) | lsb [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basic/mod.rs:109:42 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn handle_messages(&self, h: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | pub fn handle_messages(&self, h: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basic/mod.rs:109:42 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn handle_messages(&self, h: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | pub fn handle_messages(&self, h: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | Error::new(kind, ser_error.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | Error::new(kind, ser_error.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/basic/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | node.update_node_info().is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 157 | let _ = node.update_node_info().is_ok(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/basic/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | node.update_node_info().is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 157 | let _ = node.update_node_info().is_ok(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rzw::basic::MeterData` [INFO] [stdout] --> examples/03_meter.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rzw::basic::MeterData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.75s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "db389818ed0638ccd318975717b95273f155cd6a1d3935b47c3280bcfd97d9ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db389818ed0638ccd318975717b95273f155cd6a1d3935b47c3280bcfd97d9ac", kill_on_drop: false }` [INFO] [stdout] db389818ed0638ccd318975717b95273f155cd6a1d3935b47c3280bcfd97d9ac [INFO] checking rzw-0.1.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate rzw 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate rzw 0.1.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rzw 0.1.0 [INFO] finished tweaking crates.io crate rzw 0.1.0 [INFO] tweaked toml for crates.io crate rzw 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-5-tc2/source/examples/01_basic.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `basic` [INFO] [stderr] * `example` target `01_basic` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea4518499f09ffc492867c51e8cbf0287356bb5e7d04f657d548ab00413c1b06 [INFO] running `Command { std: "docker" "start" "-a" "ea4518499f09ffc492867c51e8cbf0287356bb5e7d04f657d548ab00413c1b06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea4518499f09ffc492867c51e8cbf0287356bb5e7d04f657d548ab00413c1b06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea4518499f09ffc492867c51e8cbf0287356bb5e7d04f657d548ab00413c1b06", kill_on_drop: false }` [INFO] [stdout] ea4518499f09ffc492867c51e8cbf0287356bb5e7d04f657d548ab00413c1b06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6871f5a9c205d6fe0df1306ce91f26b957fc6a613a27cc72776eb555ccbb7f57 [INFO] running `Command { std: "docker" "start" "-a" "6871f5a9c205d6fe0df1306ce91f26b957fc6a613a27cc72776eb555ccbb7f57", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/01_basic.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `basic` [INFO] [stderr] * `example` target `01_basic` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking mac v0.0.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking serial v0.3.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rzw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serial` is imported redundantly [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serial; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | extern crate serial; [INFO] [stdout] | -------------------- the item `serial` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | /// List of the generic node types [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:589:1 [INFO] [stdout] | [INFO] [stdout] 589 | /// List of the ZWave start header [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 600 | /// List of different ZWave command types (rx/tx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | /// List of different ZWave transmission types [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:621:1 [INFO] [stdout] | [INFO] [stdout] 621 | /// List of all available ZWave functions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serial` is imported redundantly [INFO] [stdout] --> src/driver/serial.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use serial::{self, SerialPort, SystemPort}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | extern crate serial; [INFO] [stdout] | -------------------- the item `serial` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/driver/serial.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(port.reconfigure(&|settings| { [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/driver/serial.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | try!(port.set_timeout(Duration::from_millis(200))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/driver/serial.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | let mut port = try!(serial::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/driver/serial.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | try!(settings.set_baud_rate(serial::Baud115200)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/driver/mod.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn write(&mut self, N) -> Result [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: N` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/driver/mod.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_node_generic_class(&mut self, N) -> Result [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: N` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/cmds/powerlevel.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | ((msb << 8) | lsb) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 171 - ((msb << 8) | lsb) [INFO] [stdout] 171 + (msb << 8) | lsb [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serial` is imported redundantly [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serial; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | extern crate serial; [INFO] [stdout] | -------------------- the item `serial` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | /// List of the generic node types [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:589:1 [INFO] [stdout] | [INFO] [stdout] 589 | /// List of the ZWave start header [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 600 | /// List of different ZWave command types (rx/tx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | /// List of different ZWave transmission types [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/driver/serial.rs:621:1 [INFO] [stdout] | [INFO] [stdout] 621 | /// List of all available ZWave functions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serial` is imported redundantly [INFO] [stdout] --> src/driver/serial.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use serial::{self, SerialPort, SystemPort}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | extern crate serial; [INFO] [stdout] | -------------------- the item `serial` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/driver/serial.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(port.reconfigure(&|settings| { [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/driver/serial.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | try!(port.set_timeout(Duration::from_millis(200))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/driver/serial.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | let mut port = try!(serial::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/driver/serial.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | try!(settings.set_baud_rate(serial::Baud115200)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/driver/mod.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn write(&mut self, N) -> Result [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: N` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/driver/mod.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_node_generic_class(&mut self, N) -> Result [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: N` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/cmds/powerlevel.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | ((msb << 8) | lsb) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 171 - ((msb << 8) | lsb) [INFO] [stdout] 171 + (msb << 8) | lsb [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basic/mod.rs:109:42 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn handle_messages(&self, h: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | pub fn handle_messages(&self, h: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | Error::new(kind, ser_error.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basic/mod.rs:109:42 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn handle_messages(&self, h: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | pub fn handle_messages(&self, h: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | Error::new(kind, ser_error.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/basic/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | node.update_node_info().is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 157 | let _ = node.update_node_info().is_ok(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/basic/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | node.update_node_info().is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 157 | let _ = node.update_node_info().is_ok(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rzw::basic::MeterData` [INFO] [stdout] --> examples/03_meter.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rzw::basic::MeterData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6871f5a9c205d6fe0df1306ce91f26b957fc6a613a27cc72776eb555ccbb7f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6871f5a9c205d6fe0df1306ce91f26b957fc6a613a27cc72776eb555ccbb7f57", kill_on_drop: false }` [INFO] [stdout] 6871f5a9c205d6fe0df1306ce91f26b957fc6a613a27cc72776eb555ccbb7f57