[INFO] cloning repository https://github.com/mredlek/rs-opentherm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mredlek/rs-opentherm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmredlek%2Frs-opentherm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmredlek%2Frs-opentherm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2937fada9960a3f8a2fe8fe8c5871ab1c94083ea [INFO] testing mredlek/rs-opentherm against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmredlek%2Frs-opentherm" "/workspace/builds/worker-44/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-44/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mredlek/rs-opentherm on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mredlek/rs-opentherm [INFO] finished tweaking git repo https://github.com/mredlek/rs-opentherm [INFO] tweaked toml for git repo https://github.com/mredlek/rs-opentherm written to /workspace/builds/worker-44/source/Cargo.toml [INFO] crate git repo https://github.com/mredlek/rs-opentherm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec4595544a036376c1968ea71496d42adfb3976f9405c03863bd0f07185b2afa [INFO] running `Command { std: "docker" "start" "-a" "ec4595544a036376c1968ea71496d42adfb3976f9405c03863bd0f07185b2afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec4595544a036376c1968ea71496d42adfb3976f9405c03863bd0f07185b2afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec4595544a036376c1968ea71496d42adfb3976f9405c03863bd0f07185b2afa", kill_on_drop: false }` [INFO] [stdout] ec4595544a036376c1968ea71496d42adfb3976f9405c03863bd0f07185b2afa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91b555afbd97e940f31941af1a52e88e2860b91c34a3474f1153b9b5d6eea83f [INFO] running `Command { std: "docker" "start" "-a" "91b555afbd97e940f31941af1a52e88e2860b91c34a3474f1153b9b5d6eea83f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling serde v1.0.21 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Compiling serde_derive v1.0.21 [INFO] [stderr] Compiling backtrace v0.3.4 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling opentherm v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stdout] --> src/error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unused_doc_comment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / bitflags! { [INFO] [stdout] 22 | | /// Masterstatus [INFO] [stdout] 23 | | #[allow(missing_docs)] [INFO] [stdout] 24 | | pub struct MasterStatus : u8 [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / bitflags! { [INFO] [stdout] 22 | | /// Masterstatus [INFO] [stdout] 23 | | #[allow(missing_docs)] [INFO] [stdout] 24 | | pub struct MasterStatus : u8 [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / bitflags! { [INFO] [stdout] 22 | | /// Masterstatus [INFO] [stdout] 23 | | #[allow(missing_docs)] [INFO] [stdout] 24 | | pub struct MasterStatus : u8 [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | /// Slavestatus [INFO] [stdout] 41 | | pub struct SlaveStatus : u8 [INFO] [stdout] 42 | | { [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | /// Slavestatus [INFO] [stdout] 41 | | pub struct SlaveStatus : u8 [INFO] [stdout] 42 | | { [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | /// Slavestatus [INFO] [stdout] 41 | | pub struct SlaveStatus : u8 [INFO] [stdout] 42 | | { [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid3.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Slave configuration payload [INFO] [stdout] 22 | | pub struct SlaveConfiguration : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid3.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Slave configuration payload [INFO] [stdout] 22 | | pub struct SlaveConfiguration : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid3.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Slave configuration payload [INFO] [stdout] 22 | | pub struct SlaveConfiguration : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid5.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Application specific fault flags [INFO] [stdout] 22 | | pub struct ApplicationSpecificFaultFlags : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid5.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Application specific fault flags [INFO] [stdout] 22 | | pub struct ApplicationSpecificFaultFlags : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid5.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Application specific fault flags [INFO] [stdout] 22 | | pub struct ApplicationSpecificFaultFlags : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid6.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Remote parameter [INFO] [stdout] 22 | | pub struct RemoteParameter : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid6.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Remote parameter [INFO] [stdout] 22 | | pub struct RemoteParameter : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid6.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Remote parameter [INFO] [stdout] 22 | | pub struct RemoteParameter : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid100.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// RemoteOverride [INFO] [stdout] 22 | | pub struct RemoteOverride : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid100.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// RemoteOverride [INFO] [stdout] 22 | | pub struct RemoteOverride : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid100.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// RemoteOverride [INFO] [stdout] 22 | | pub struct RemoteOverride : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/simpletype.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | let complextype = try!(ComplexType::new_from_data(dataid.as_data_id(), datavalue.as_data_value())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conversation.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | try!(ComplexType::new_from_message(response))))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conversation.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | try!(ComplexType::new_from_message(request))))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | &MsgType::ReadData => { try!(f.write_str("Read data")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:127:38 [INFO] [stdout] | [INFO] [stdout] 127 | &MsgType::WriteData => { try!(f.write_str("Write data")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:128:40 [INFO] [stdout] | [INFO] [stdout] 128 | &MsgType::InvalidData => { try!(f.write_str("Invalid data")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | &MsgType::ReadAck => { try!(f.write_str("Read ack")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 130 | &MsgType::WriteAck => { try!(f.write_str("Write ack")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:131:40 [INFO] [stdout] | [INFO] [stdout] 131 | &MsgType::DataInvalid => { try!(f.write_str("Data invalid")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:132:42 [INFO] [stdout] | [INFO] [stdout] 132 | &MsgType::UnknownDataId => { try!(f.write_str("Unknown data id")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:142:37 [INFO] [stdout] | [INFO] [stdout] 142 | &MsgType::ReadData => { try!(f.write_str("000")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | &MsgType::WriteData => { try!(f.write_str("001")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:144:40 [INFO] [stdout] | [INFO] [stdout] 144 | &MsgType::InvalidData => { try!(f.write_str("010")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:145:36 [INFO] [stdout] | [INFO] [stdout] 145 | &MsgType::ReadAck => { try!(f.write_str("100")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:146:37 [INFO] [stdout] | [INFO] [stdout] 146 | &MsgType::WriteAck => { try!(f.write_str("101")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:147:40 [INFO] [stdout] | [INFO] [stdout] 147 | &MsgType::DataInvalid => { try!(f.write_str("110")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | &MsgType::UnknownDataId => { try!(f.write_str("111")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/message.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | impl Message [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] 54 - impl Message [INFO] [stdout] 54 + impl dyn Message [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/complextype.rs:152:90 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [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] 152 - pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [INFO] [stdout] 152 + pub fn new(dataid: &TDataId, datavalue: &dyn AsDataValue) -> Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/simpletype.rs:169:90 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [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] 169 - pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [INFO] [stdout] 169 + pub fn new(dataid: &TDataId, datavalue: &dyn AsDataValue) -> Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 56.52s [INFO] running `Command { std: "docker" "inspect" "91b555afbd97e940f31941af1a52e88e2860b91c34a3474f1153b9b5d6eea83f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91b555afbd97e940f31941af1a52e88e2860b91c34a3474f1153b9b5d6eea83f", kill_on_drop: false }` [INFO] [stdout] 91b555afbd97e940f31941af1a52e88e2860b91c34a3474f1153b9b5d6eea83f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd95650058d5efcafba0125b6917c369caee9eefd3cbbee413a3f3840a42873b [INFO] running `Command { std: "docker" "start" "-a" "cd95650058d5efcafba0125b6917c369caee9eefd3cbbee413a3f3840a42873b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stdout] --> src/error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unused_doc_comment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / bitflags! { [INFO] [stdout] 22 | | /// Masterstatus [INFO] [stdout] 23 | | #[allow(missing_docs)] [INFO] [stdout] 24 | | pub struct MasterStatus : u8 [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / bitflags! { [INFO] [stdout] 22 | | /// Masterstatus [INFO] [stdout] 23 | | #[allow(missing_docs)] [INFO] [stdout] 24 | | pub struct MasterStatus : u8 [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / bitflags! { [INFO] [stdout] 22 | | /// Masterstatus [INFO] [stdout] 23 | | #[allow(missing_docs)] [INFO] [stdout] 24 | | pub struct MasterStatus : u8 [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | /// Slavestatus [INFO] [stdout] 41 | | pub struct SlaveStatus : u8 [INFO] [stdout] 42 | | { [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | /// Slavestatus [INFO] [stdout] 41 | | pub struct SlaveStatus : u8 [INFO] [stdout] 42 | | { [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | /// Slavestatus [INFO] [stdout] 41 | | pub struct SlaveStatus : u8 [INFO] [stdout] 42 | | { [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid3.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Slave configuration payload [INFO] [stdout] 22 | | pub struct SlaveConfiguration : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid3.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Slave configuration payload [INFO] [stdout] 22 | | pub struct SlaveConfiguration : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid3.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Slave configuration payload [INFO] [stdout] 22 | | pub struct SlaveConfiguration : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid5.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Application specific fault flags [INFO] [stdout] 22 | | pub struct ApplicationSpecificFaultFlags : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid5.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Application specific fault flags [INFO] [stdout] 22 | | pub struct ApplicationSpecificFaultFlags : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid5.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Application specific fault flags [INFO] [stdout] 22 | | pub struct ApplicationSpecificFaultFlags : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid6.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Remote parameter [INFO] [stdout] 22 | | pub struct RemoteParameter : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid6.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Remote parameter [INFO] [stdout] 22 | | pub struct RemoteParameter : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid6.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Remote parameter [INFO] [stdout] 22 | | pub struct RemoteParameter : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid100.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// RemoteOverride [INFO] [stdout] 22 | | pub struct RemoteOverride : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid100.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// RemoteOverride [INFO] [stdout] 22 | | pub struct RemoteOverride : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid100.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// RemoteOverride [INFO] [stdout] 22 | | pub struct RemoteOverride : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/simpletype.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | let complextype = try!(ComplexType::new_from_data(dataid.as_data_id(), datavalue.as_data_value())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling opentherm v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conversation.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | try!(ComplexType::new_from_message(response))))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conversation.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | try!(ComplexType::new_from_message(request))))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | &MsgType::ReadData => { try!(f.write_str("Read data")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:127:38 [INFO] [stdout] | [INFO] [stdout] 127 | &MsgType::WriteData => { try!(f.write_str("Write data")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:128:40 [INFO] [stdout] | [INFO] [stdout] 128 | &MsgType::InvalidData => { try!(f.write_str("Invalid data")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | &MsgType::ReadAck => { try!(f.write_str("Read ack")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 130 | &MsgType::WriteAck => { try!(f.write_str("Write ack")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:131:40 [INFO] [stdout] | [INFO] [stdout] 131 | &MsgType::DataInvalid => { try!(f.write_str("Data invalid")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:132:42 [INFO] [stdout] | [INFO] [stdout] 132 | &MsgType::UnknownDataId => { try!(f.write_str("Unknown data id")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:142:37 [INFO] [stdout] | [INFO] [stdout] 142 | &MsgType::ReadData => { try!(f.write_str("000")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | &MsgType::WriteData => { try!(f.write_str("001")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:144:40 [INFO] [stdout] | [INFO] [stdout] 144 | &MsgType::InvalidData => { try!(f.write_str("010")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:145:36 [INFO] [stdout] | [INFO] [stdout] 145 | &MsgType::ReadAck => { try!(f.write_str("100")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:146:37 [INFO] [stdout] | [INFO] [stdout] 146 | &MsgType::WriteAck => { try!(f.write_str("101")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:147:40 [INFO] [stdout] | [INFO] [stdout] 147 | &MsgType::DataInvalid => { try!(f.write_str("110")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | &MsgType::UnknownDataId => { try!(f.write_str("111")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/message.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | impl Message [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] 54 - impl Message [INFO] [stdout] 54 + impl dyn Message [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/complextype.rs:152:90 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [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] 152 - pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [INFO] [stdout] 152 + pub fn new(dataid: &TDataId, datavalue: &dyn AsDataValue) -> Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/simpletype.rs:169:90 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [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] 169 - pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [INFO] [stdout] 169 + pub fn new(dataid: &TDataId, datavalue: &dyn AsDataValue) -> Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stdout] --> src/error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unused_doc_comment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/lib.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | type Target = Message; [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] 27 - type Target = Message; [INFO] [stdout] 27 + type Target = dyn Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / bitflags! { [INFO] [stdout] 22 | | /// Masterstatus [INFO] [stdout] 23 | | #[allow(missing_docs)] [INFO] [stdout] 24 | | pub struct MasterStatus : u8 [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / bitflags! { [INFO] [stdout] 22 | | /// Masterstatus [INFO] [stdout] 23 | | #[allow(missing_docs)] [INFO] [stdout] 24 | | pub struct MasterStatus : u8 [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / bitflags! { [INFO] [stdout] 22 | | /// Masterstatus [INFO] [stdout] 23 | | #[allow(missing_docs)] [INFO] [stdout] 24 | | pub struct MasterStatus : u8 [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | /// Slavestatus [INFO] [stdout] 41 | | pub struct SlaveStatus : u8 [INFO] [stdout] 42 | | { [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | /// Slavestatus [INFO] [stdout] 41 | | pub struct SlaveStatus : u8 [INFO] [stdout] 42 | | { [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid0.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | /// Slavestatus [INFO] [stdout] 41 | | pub struct SlaveStatus : u8 [INFO] [stdout] 42 | | { [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid3.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Slave configuration payload [INFO] [stdout] 22 | | pub struct SlaveConfiguration : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid3.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Slave configuration payload [INFO] [stdout] 22 | | pub struct SlaveConfiguration : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid3.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Slave configuration payload [INFO] [stdout] 22 | | pub struct SlaveConfiguration : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid5.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Application specific fault flags [INFO] [stdout] 22 | | pub struct ApplicationSpecificFaultFlags : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid5.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Application specific fault flags [INFO] [stdout] 22 | | pub struct ApplicationSpecificFaultFlags : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid5.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Application specific fault flags [INFO] [stdout] 22 | | pub struct ApplicationSpecificFaultFlags : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid6.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Remote parameter [INFO] [stdout] 22 | | pub struct RemoteParameter : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid6.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Remote parameter [INFO] [stdout] 22 | | pub struct RemoteParameter : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid6.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// Remote parameter [INFO] [stdout] 22 | | pub struct RemoteParameter : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid100.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// RemoteOverride [INFO] [stdout] 22 | | pub struct RemoteOverride : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid100.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// RemoteOverride [INFO] [stdout] 22 | | pub struct RemoteOverride : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/dataid100.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / bitflags! { [INFO] [stdout] 21 | | /// RemoteOverride [INFO] [stdout] 22 | | pub struct RemoteOverride : u8 [INFO] [stdout] 23 | | { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/application/simpletype.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | let complextype = try!(ComplexType::new_from_data(dataid.as_data_id(), datavalue.as_data_value())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conversation.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | try!(ComplexType::new_from_message(response))))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conversation.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | try!(ComplexType::new_from_message(request))))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | &MsgType::ReadData => { try!(f.write_str("Read data")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:127:38 [INFO] [stdout] | [INFO] [stdout] 127 | &MsgType::WriteData => { try!(f.write_str("Write data")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:128:40 [INFO] [stdout] | [INFO] [stdout] 128 | &MsgType::InvalidData => { try!(f.write_str("Invalid data")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | &MsgType::ReadAck => { try!(f.write_str("Read ack")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 130 | &MsgType::WriteAck => { try!(f.write_str("Write ack")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:131:40 [INFO] [stdout] | [INFO] [stdout] 131 | &MsgType::DataInvalid => { try!(f.write_str("Data invalid")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:132:42 [INFO] [stdout] | [INFO] [stdout] 132 | &MsgType::UnknownDataId => { try!(f.write_str("Unknown data id")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:142:37 [INFO] [stdout] | [INFO] [stdout] 142 | &MsgType::ReadData => { try!(f.write_str("000")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | &MsgType::WriteData => { try!(f.write_str("001")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:144:40 [INFO] [stdout] | [INFO] [stdout] 144 | &MsgType::InvalidData => { try!(f.write_str("010")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:145:36 [INFO] [stdout] | [INFO] [stdout] 145 | &MsgType::ReadAck => { try!(f.write_str("100")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:146:37 [INFO] [stdout] | [INFO] [stdout] 146 | &MsgType::WriteAck => { try!(f.write_str("101")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:147:40 [INFO] [stdout] | [INFO] [stdout] 147 | &MsgType::DataInvalid => { try!(f.write_str("110")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | &MsgType::UnknownDataId => { try!(f.write_str("111")); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/message.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | impl Message [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] 54 - impl Message [INFO] [stdout] 54 + impl dyn Message [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/complextype.rs:152:90 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [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] 152 - pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [INFO] [stdout] 152 + pub fn new(dataid: &TDataId, datavalue: &dyn AsDataValue) -> Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application/simpletype.rs:169:90 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [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] 169 - pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [INFO] [stdout] 169 + pub fn new(dataid: &TDataId, datavalue: &dyn AsDataValue) -> Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.90s [INFO] running `Command { std: "docker" "inspect" "cd95650058d5efcafba0125b6917c369caee9eefd3cbbee413a3f3840a42873b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd95650058d5efcafba0125b6917c369caee9eefd3cbbee413a3f3840a42873b", kill_on_drop: false }` [INFO] [stdout] cd95650058d5efcafba0125b6917c369caee9eefd3cbbee413a3f3840a42873b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f968ded1b339e00bbaec210a64f8a2f0588508449948296882917e6fb22a121d [INFO] running `Command { std: "docker" "start" "-a" "f968ded1b339e00bbaec210a64f8a2f0588508449948296882917e6fb22a121d", kill_on_drop: false }` [INFO] [stderr] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stderr] --> src/error.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #![allow(unused_doc_comment)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/application/dataid0.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / bitflags! { [INFO] [stderr] 22 | | /// Masterstatus [INFO] [stderr] 23 | | #[allow(missing_docs)] [INFO] [stderr] 24 | | pub struct MasterStatus : u8 [INFO] [stderr] ... | [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/application/dataid0.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / bitflags! { [INFO] [stderr] 22 | | /// Masterstatus [INFO] [stderr] 23 | | #[allow(missing_docs)] [INFO] [stderr] 24 | | pub struct MasterStatus : u8 [INFO] [stderr] ... | [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/application/dataid0.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / bitflags! { [INFO] [stderr] 40 | | /// Slavestatus [INFO] [stderr] 41 | | pub struct SlaveStatus : u8 [INFO] [stderr] 42 | | { [INFO] [stderr] ... | [INFO] [stderr] 57 | | } [INFO] [stderr] 58 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/application/dataid3.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / bitflags! { [INFO] [stderr] 21 | | /// Slave configuration payload [INFO] [stderr] 22 | | pub struct SlaveConfiguration : u8 [INFO] [stderr] 23 | | { [INFO] [stderr] ... | [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/application/dataid5.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / bitflags! { [INFO] [stderr] 21 | | /// Application specific fault flags [INFO] [stderr] 22 | | pub struct ApplicationSpecificFaultFlags : u8 [INFO] [stderr] 23 | | { [INFO] [stderr] ... | [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/application/dataid6.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / bitflags! { [INFO] [stderr] 21 | | /// Remote parameter [INFO] [stderr] 22 | | pub struct RemoteParameter : u8 [INFO] [stderr] 23 | | { [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/application/dataid100.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / bitflags! { [INFO] [stderr] 21 | | /// RemoteOverride [INFO] [stderr] 22 | | pub struct RemoteOverride : u8 [INFO] [stderr] 23 | | { [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/application/simpletype.rs:171:27 [INFO] [stderr] | [INFO] [stderr] 171 | let complextype = try!(ComplexType::new_from_data(dataid.as_data_id(), datavalue.as_data_value())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/conversation.rs:103:25 [INFO] [stderr] | [INFO] [stderr] 103 | try!(ComplexType::new_from_message(response))))), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/conversation.rs:112:25 [INFO] [stderr] | [INFO] [stderr] 112 | try!(ComplexType::new_from_message(request))))), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:126:37 [INFO] [stderr] | [INFO] [stderr] 126 | &MsgType::ReadData => { try!(f.write_str("Read data")); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:127:38 [INFO] [stderr] | [INFO] [stderr] 127 | &MsgType::WriteData => { try!(f.write_str("Write data")); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:128:40 [INFO] [stderr] | [INFO] [stderr] 128 | &MsgType::InvalidData => { try!(f.write_str("Invalid data")); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:129:36 [INFO] [stderr] | [INFO] [stderr] 129 | &MsgType::ReadAck => { try!(f.write_str("Read ack")); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:130:37 [INFO] [stderr] | [INFO] [stderr] 130 | &MsgType::WriteAck => { try!(f.write_str("Write ack")); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:131:40 [INFO] [stderr] | [INFO] [stderr] 131 | &MsgType::DataInvalid => { try!(f.write_str("Data invalid")); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:132:42 [INFO] [stderr] | [INFO] [stderr] 132 | &MsgType::UnknownDataId => { try!(f.write_str("Unknown data id")); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:142:37 [INFO] [stderr] | [INFO] [stderr] 142 | &MsgType::ReadData => { try!(f.write_str("000")); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:143:38 [INFO] [stderr] | [INFO] [stderr] 143 | &MsgType::WriteData => { try!(f.write_str("001")); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:144:40 [INFO] [stderr] | [INFO] [stderr] 144 | &MsgType::InvalidData => { try!(f.write_str("010")); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:145:36 [INFO] [stderr] | [INFO] [stderr] 145 | &MsgType::ReadAck => { try!(f.write_str("100")); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:146:37 [INFO] [stderr] | [INFO] [stderr] 146 | &MsgType::WriteAck => { try!(f.write_str("101")); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:147:40 [INFO] [stderr] | [INFO] [stderr] 147 | &MsgType::DataInvalid => { try!(f.write_str("110")); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/message.rs:148:42 [INFO] [stderr] | [INFO] [stderr] 148 | &MsgType::UnknownDataId => { try!(f.write_str("111")); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/message.rs:54:6 [INFO] [stderr] | [INFO] [stderr] 54 | impl Message [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 54 - impl Message [INFO] [stderr] 54 + impl dyn Message [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/application/complextype.rs:152:90 [INFO] [stderr] | [INFO] [stderr] 152 | pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 152 - pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [INFO] [stderr] 152 + pub fn new(dataid: &TDataId, datavalue: &dyn AsDataValue) -> Result [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/application/simpletype.rs:169:90 [INFO] [stderr] | [INFO] [stderr] 169 | pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 169 - pub fn new(dataid: &TDataId, datavalue: &AsDataValue) -> Result [INFO] [stderr] 169 + pub fn new(dataid: &TDataId, datavalue: &dyn AsDataValue) -> Result [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `opentherm` (lib) generated 39 warnings (11 duplicates) [INFO] [stderr] warning: `opentherm` (lib test) generated 39 warnings (39 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/lib.rs:27:19 [INFO] [stderr] | [INFO] [stderr] 27 | type Target = Message; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 27 - type Target = Message; [INFO] [stderr] 27 + type Target = dyn Message; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `opentherm` (test "lib") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/opentherm-07ab124e025abb54) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-59e07f2ca9cdc492) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests opentherm [INFO] [stderr] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments` [INFO] [stderr] --> /opt/rustwide/workdir/src/error.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #![allow(unused_doc_comment)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f968ded1b339e00bbaec210a64f8a2f0588508449948296882917e6fb22a121d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f968ded1b339e00bbaec210a64f8a2f0588508449948296882917e6fb22a121d", kill_on_drop: false }` [INFO] [stdout] f968ded1b339e00bbaec210a64f8a2f0588508449948296882917e6fb22a121d