[INFO] fetching crate zwave 0.0.1... [INFO] testing zwave-0.0.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate zwave 0.0.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate zwave 0.0.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5c74c643bb2209760bfe3085189588ad438dd06a5c9352729743135f7fe1bc8 [INFO] running `Command { std: "docker" "start" "-a" "b5c74c643bb2209760bfe3085189588ad438dd06a5c9352729743135f7fe1bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5c74c643bb2209760bfe3085189588ad438dd06a5c9352729743135f7fe1bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c74c643bb2209760bfe3085189588ad438dd06a5c9352729743135f7fe1bc8", kill_on_drop: false }` [INFO] [stdout] b5c74c643bb2209760bfe3085189588ad438dd06a5c9352729743135f7fe1bc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e325427d12c1f219b5bf0736a63b3ef9830121b8036be5211b9859f651e4cdd5 [INFO] running `Command { std: "docker" "start" "-a" "e325427d12c1f219b5bf0736a63b3ef9830121b8036be5211b9859f651e4cdd5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [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 beta 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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/protocol/serialization.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | let mut byte: u8 = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_consts` has been stable since 1.20.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(associated_consts,reflect_marker,raw)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(associated_consts,reflect_marker,raw)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(associated_consts,reflect_marker,raw)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `reflect_marker` [INFO] [stdout] --> src/lib.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(associated_consts,reflect_marker,raw)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `raw` [INFO] [stdout] --> src/lib.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(associated_consts,reflect_marker,raw)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol/command/mod.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | serializers: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - serializers: HashMap>, [INFO] [stdout] 56 + serializers: HashMap>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol/message/serialization.rs:185:38 [INFO] [stdout] | [INFO] [stdout] 185 | serializers: HashMap>, [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 185 - serializers: HashMap>, [INFO] [stdout] 185 + serializers: HashMap>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol/message/serialization.rs:274:42 [INFO] [stdout] | [INFO] [stdout] 274 | serializers: HashMap>, [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 - serializers: HashMap>, [INFO] [stdout] 274 + serializers: HashMap>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol/any.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | object: Box<$bound>, [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] = 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] 5 - object: Box<$bound>, [INFO] [stdout] 5 + object: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0554, E0635. [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 14 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e325427d12c1f219b5bf0736a63b3ef9830121b8036be5211b9859f651e4cdd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e325427d12c1f219b5bf0736a63b3ef9830121b8036be5211b9859f651e4cdd5", kill_on_drop: false }` [INFO] [stdout] e325427d12c1f219b5bf0736a63b3ef9830121b8036be5211b9859f651e4cdd5