[INFO] fetching crate rsd 0.1.0... [INFO] checking rsd-0.1.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate rsd 0.1.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate rsd 0.1.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rsd 0.1.0 [INFO] finished tweaking crates.io crate rsd 0.1.0 [INFO] tweaked toml for crates.io crate rsd 0.1.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded blake2 v0.8.1 [INFO] [stderr] Downloaded hex v0.3.2 [INFO] [stderr] Downloaded tiny-keccak v1.5.0 [INFO] [stderr] Downloaded cryptoxide v0.1.3 [INFO] [stderr] Downloaded crunchy v0.2.2 [INFO] [stderr] Downloaded sp800-185 v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11ef94b580fddaf6ccb0f34f20e572d48921440134ce77ee0c676a1e2b9ed730 [INFO] running `Command { std: "docker" "start" "-a" "11ef94b580fddaf6ccb0f34f20e572d48921440134ce77ee0c676a1e2b9ed730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11ef94b580fddaf6ccb0f34f20e572d48921440134ce77ee0c676a1e2b9ed730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ef94b580fddaf6ccb0f34f20e572d48921440134ce77ee0c676a1e2b9ed730", kill_on_drop: false }` [INFO] [stdout] 11ef94b580fddaf6ccb0f34f20e572d48921440134ce77ee0c676a1e2b9ed730 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d44b7c00675d1bbf5051668877a7f7bbefb9bebb4a66818a3eb11807e27b3b9 [INFO] running `Command { std: "docker" "start" "-a" "6d44b7c00675d1bbf5051668877a7f7bbefb9bebb4a66818a3eb11807e27b3b9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking cryptoxide v0.1.3 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking sp800-185 v0.2.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking blake2 v0.8.1 [INFO] [stderr] Checking rsd v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rsd` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/types/amount.rs [INFO] [stderr] * src/types/uint.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of `(`, `+`, `::`, `<`, `>`, or `as`, found `>>` [INFO] [stderr] --> src/types/uint.rs:610:25 [INFO] [stderr] | [INFO] [stderr] 610 | <>::fmt(self, f) [INFO] [stderr] | ^^ expected one of `(`, `+`, `::`, `<`, `>`, or `as` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/types/amount.rs:79:41 [INFO] [stderr] | [INFO] [stderr] 79 | let desc = ::std::error::Error::description(self); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/net/types.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | const NETWORK: u64 = (1 << 0); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/net/types.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | const BLOOM: u64 = (1 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/amount.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types/amount.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn ellipsis-inclusive-range-patterns` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/amount.rs:274:40 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn fmt_value_in(&self, f: &mut fmt::Write, denom: Denomination) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/uint.rs:610:10 [INFO] [stdout] | [INFO] [stdout] 610 | ::fmt(self, f) [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Debug` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/types/amount.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | let desc = ::std::error::Error::description(self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/net/types.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | const NETWORK: u64 = (1 << 0); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/net/types.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | const BLOOM: u64 = (1 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/amount.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types/amount.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn ellipsis-inclusive-range-patterns` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/amount.rs:274:40 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn fmt_value_in(&self, f: &mut fmt::Write, denom: Denomination) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/uint.rs:610:10 [INFO] [stdout] | [INFO] [stdout] 610 | ::fmt(self, f) [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Debug` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/types/amount.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | let desc = ::std::error::Error::description(self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/uint.rs:610:10 [INFO] [stdout] | [INFO] [stdout] 610 | ::fmt(self, f) [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/uint.rs:610:10 [INFO] [stdout] | [INFO] [stdout] 610 | ::fmt(self, f) [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `network` [INFO] [stdout] --> src/blockchain/chain.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | network: Network, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `network` [INFO] [stdout] --> src/net/pool.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | network: Network, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chain` [INFO] [stdout] --> src/net/pool.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | chain: Chain, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address` [INFO] [stdout] --> src/net/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | address: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `services` [INFO] [stdout] --> src/net/types.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | services: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/net/types.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | time: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `key` [INFO] [stdout] --> src/net/types.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | key: IdentityKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `network` [INFO] [stdout] --> src/blockchain/chain.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | network: Network, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `network` [INFO] [stdout] --> src/net/pool.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | network: Network, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chain` [INFO] [stdout] --> src/net/pool.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | chain: Chain, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address` [INFO] [stdout] --> src/net/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | address: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `services` [INFO] [stdout] --> src/net/types.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | services: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/net/types.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | time: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `key` [INFO] [stdout] --> src/net/types.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | key: IdentityKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.58s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rsd v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/types/amount.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 89 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/types/amount.rs:274:40 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn fmt_value_in(&self, f: &mut fmt::Write, denom: Denomination) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 274 | pub fn fmt_value_in(&self, f: &mut dyn fmt::Write, denom: Denomination) -> fmt::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/types/uint.rs:610:10 [INFO] [stdout] | [INFO] [stdout] 610 | ::fmt(self, f) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 610 | ::fmt(self, f) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/net/types.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | const NETWORK: u64 = (1 << 0); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/net/types.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | const BLOOM: u64 = (1 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0783]: `...` range patterns are deprecated [INFO] [stdout] --> src/types/amount.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | '0'...'9' => { [INFO] [stdout] | ^^^---^^^ [INFO] [stdout] | | [INFO] [stdout] | help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/types/amount.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 89 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/types/amount.rs:274:40 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn fmt_value_in(&self, f: &mut fmt::Write, denom: Denomination) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 274 | pub fn fmt_value_in(&self, f: &mut dyn fmt::Write, denom: Denomination) -> fmt::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/types/uint.rs:610:10 [INFO] [stdout] | [INFO] [stdout] 610 | ::fmt(self, f) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 610 | ::fmt(self, f) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/net/types.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | const NETWORK: u64 = (1 << 0); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/net/types.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | const BLOOM: u64 = (1 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0783]: `...` range patterns are deprecated [INFO] [stdout] --> src/types/amount.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | '0'...'9' => { [INFO] [stdout] | ^^^---^^^ [INFO] [stdout] | | [INFO] [stdout] | help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/types/amount.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | let desc = ::std::error::Error::description(self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/types/amount.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | let desc = ::std::error::Error::description(self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0783]: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/uint.rs:610:10 [INFO] [stdout] | [INFO] [stdout] 610 | ::fmt(self, f) [INFO] [stdout] | ^^^^^^^^^^ help: : `use `dyn`` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0782, E0783. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0782`. [INFO] [stdout] [INFO] [stdout] error[E0783]: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/uint.rs:610:10 [INFO] [stdout] | [INFO] [stdout] 610 | ::fmt(self, f) [INFO] [stdout] | ^^^^^^^^^^ help: : `use `dyn`` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsd` due to 6 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0782, E0783. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0782`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "6d44b7c00675d1bbf5051668877a7f7bbefb9bebb4a66818a3eb11807e27b3b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d44b7c00675d1bbf5051668877a7f7bbefb9bebb4a66818a3eb11807e27b3b9", kill_on_drop: false }` [INFO] [stdout] 6d44b7c00675d1bbf5051668877a7f7bbefb9bebb4a66818a3eb11807e27b3b9