[INFO] fetching crate zwave 0.0.1... [INFO] testing zwave-0.0.1 against 1.59.0 for beta-1.60-1 [INFO] extracting crate zwave 0.0.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate zwave 0.0.1 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zwave 0.0.1 [INFO] finished tweaking crates.io crate zwave 0.0.1 [INFO] tweaked toml for crates.io crate zwave 0.0.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41c57686ae04846523aca3f363d62d36f55522f27e5fbfdbcb02160d7e63ba3d [INFO] running `Command { std: "docker" "start" "-a" "41c57686ae04846523aca3f363d62d36f55522f27e5fbfdbcb02160d7e63ba3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41c57686ae04846523aca3f363d62d36f55522f27e5fbfdbcb02160d7e63ba3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41c57686ae04846523aca3f363d62d36f55522f27e5fbfdbcb02160d7e63ba3d", kill_on_drop: false }` [INFO] [stdout] 41c57686ae04846523aca3f363d62d36f55522f27e5fbfdbcb02160d7e63ba3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d615f2ddfb63a538817a74de89bec45acdc45958b187ef33f27cc6b9fdc26f46 [INFO] running `Command { std: "docker" "start" "-a" "d615f2ddfb63a538817a74de89bec45acdc45958b187ef33f27cc6b9fdc26f46", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling serial v0.3.4 [INFO] [stderr] Compiling zwave v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::marker::Reflect` [INFO] [stdout] --> src/protocol/command/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::marker::Reflect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Reflect` in `marker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::raw` [INFO] [stdout] --> src/protocol/command/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use std::raw::TraitObject; [INFO] [stdout] | ^^^ could not find `raw` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::marker::Reflect` [INFO] [stdout] --> src/protocol/message/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::marker::Reflect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Reflect` in `marker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::raw` [INFO] [stdout] --> src/protocol/message/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::raw::TraitObject; [INFO] [stdout] | ^^^ could not find `raw` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `std` [INFO] [stdout] --> src/protocol/any.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | let fat_ptr: ::std::raw::TraitObject = ::std::mem::transmute(::std::ops::Deref::deref(self)); [INFO] [stdout] | ^^^ could not find `raw` in `std` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/command/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | def_any!(AnyCommand: Command); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `std` [INFO] [stdout] --> src/protocol/any.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | let fat_ptr: ::std::raw::TraitObject = ::std::mem::transmute(raw); [INFO] [stdout] | ^^^ could not find `raw` in `std` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/command/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | def_any!(AnyCommand: Command); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `std` [INFO] [stdout] --> src/protocol/any.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | let fat_ptr: ::std::raw::TraitObject = ::std::mem::transmute(::std::ops::Deref::deref(self)); [INFO] [stdout] | ^^^ could not find `raw` in `std` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/message/mod.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | def_any!(AnyMessage: Message); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `std` [INFO] [stdout] --> src/protocol/any.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | let fat_ptr: ::std::raw::TraitObject = ::std::mem::transmute(raw); [INFO] [stdout] | ^^^ could not find `raw` in `std` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/message/mod.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | def_any!(AnyMessage: Message); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(associated_consts,reflect_marker,raw)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the feature `associated_consts` has been stable since 1.20.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/controller.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | try!(driver.send(&message)); [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/io/driver.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | try!(port.configure(&SETTINGS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/driver.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | try!(port.set_timeout(Duration::from_millis(10))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/driver.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | try!(self.request.serialize(message, &mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/driver.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | let response = try!(self.response.deserialize(&mut reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/message/serialization.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | try!(self.0.serialize(send_data.command().borrow(), buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/message/serialization.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | let command = try!(self.0.deserialize(&buffer[2..2+payload_length])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/message/serialization.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | try!(serializer.serialize(message, buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/message/serialization.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | let length = try!(reader.read_u8()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/message/serialization.rs:247:22 [INFO] [stdout] | [INFO] [stdout] 247 | let buffer = try!(reader.read_slice(length)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/message/serialization.rs:315:35 [INFO] [stdout] | [INFO] [stdout] 315 | match PreambleId::from_u8(try!(reader.read_u8())) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol/any.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | impl ::std::borrow::Borrow<$bound> for $name { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/command/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | def_any!(AnyCommand: Command); [INFO] [stdout] | ----------------------------- in this macro invocation [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] = note: this warning originates in the macro `def_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - impl ::std::borrow::Borrow<$bound> for $name { [INFO] [stdout] 68 + impl ::std::borrow::Borrow for $name { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zwave` due to 10 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d615f2ddfb63a538817a74de89bec45acdc45958b187ef33f27cc6b9fdc26f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d615f2ddfb63a538817a74de89bec45acdc45958b187ef33f27cc6b9fdc26f46", kill_on_drop: false }` [INFO] [stdout] d615f2ddfb63a538817a74de89bec45acdc45958b187ef33f27cc6b9fdc26f46