[INFO] fetching crate rzw 0.1.0... [INFO] checking rzw-0.1.0 against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] extracting crate rzw 0.1.0 into /workspace/builds/worker-118/source [INFO] validating manifest of crates.io crate rzw 0.1.0 on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "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-118/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-118/source/examples/01_basic.rs [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ioctl-rs v0.1.6 [INFO] [stderr] Downloaded mac v0.0.2 [INFO] [stderr] Downloaded serial v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3764770a50f653931cf0955bd33ae5920b98b114d76aaf73ddccee6d0e30e32 [INFO] running `Command { std: "docker" "start" "-a" "f3764770a50f653931cf0955bd33ae5920b98b114d76aaf73ddccee6d0e30e32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3764770a50f653931cf0955bd33ae5920b98b114d76aaf73ddccee6d0e30e32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3764770a50f653931cf0955bd33ae5920b98b114d76aaf73ddccee6d0e30e32", kill_on_drop: false }` [INFO] [stdout] f3764770a50f653931cf0955bd33ae5920b98b114d76aaf73ddccee6d0e30e32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a3d9e46d218dec570902666de828c3784cb5a305e7805a4a4a3d819b9c1afbf [INFO] running `Command { std: "docker" "start" "-a" "9a3d9e46d218dec570902666de828c3784cb5a305e7805a4a4a3d819b9c1afbf", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/examples/01_basic.rs [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking mac v0.0.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking serial v0.3.4 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [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: 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] = note: `#[warn(unused_doc_comments)]` on by default [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: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: 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] = note: `#[warn(anonymous_parameters)]` on by default [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: 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] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(SerialMsg) + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [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] = note: `#[warn(unused_doc_comments)]` on by default [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: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: 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] = note: `#[warn(anonymous_parameters)]` on by default [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: 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] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(SerialMsg) + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs: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 associated function `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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 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] [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.31s [INFO] running `Command { std: "docker" "inspect" "9a3d9e46d218dec570902666de828c3784cb5a305e7805a4a4a3d819b9c1afbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3d9e46d218dec570902666de828c3784cb5a305e7805a4a4a3d819b9c1afbf", kill_on_drop: false }` [INFO] [stdout] 9a3d9e46d218dec570902666de828c3784cb5a305e7805a4a4a3d819b9c1afbf