[INFO] fetching crate monacoin 0.23.0... [INFO] checking monacoin-0.23.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate monacoin 0.23.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate monacoin 0.23.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate monacoin 0.23.0 [INFO] finished tweaking crates.io crate monacoin 0.23.0 [INFO] tweaked toml for crates.io crate monacoin 0.23.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lyra2 v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c2e0595ef920ee50fe663f93a30cb2b40c20b84b896f300cba66e1352bb17a0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7c2e0595ef920ee50fe663f93a30cb2b40c20b84b896f300cba66e1352bb17a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c2e0595ef920ee50fe663f93a30cb2b40c20b84b896f300cba66e1352bb17a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c2e0595ef920ee50fe663f93a30cb2b40c20b84b896f300cba66e1352bb17a0", kill_on_drop: false }` [INFO] [stdout] 7c2e0595ef920ee50fe663f93a30cb2b40c20b84b896f300cba66e1352bb17a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 484aaa0fe5c1ae26ebd1dbe95be67684fd1e032e3a1c65ce2d1f4c3385dee839 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "484aaa0fe5c1ae26ebd1dbe95be67684fd1e032e3a1c65ce2d1f4c3385dee839", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking bitcoin_hashes v0.7.6 [INFO] [stderr] Checking bech32 v0.7.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking serde_test v1.0.124 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking threefish-cipher v0.3.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking blake-hash v0.4.0 [INFO] [stderr] Checking groestl v0.9.0 [INFO] [stderr] Checking scrypt v0.2.0 [INFO] [stderr] Checking skein-hash v0.3.0 [INFO] [stderr] Checking lyra2 v0.2.2 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Checking secp256k1 v0.17.2 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Checking monacoin v0.23.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/network/mod.rs:50:89 [INFO] [stdout] | [INFO] [stdout] 50 | Error::SocketMutexPoisoned | Error::SocketNotConnectedToPeer => f.write_str(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/blockdata/script.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/mod.rs:80:79 [INFO] [stdout] | [INFO] [stdout] 80 | Error::BlockBadProofOfWork | Error::BlockBadTarget => f.write_str(error::Error::description(self)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/amount.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let desc = ::std::error::Error::description(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/bip32.rs:396:36 [INFO] [stdout] | [INFO] [stdout] 396 | Error::Ecdsa(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/psbt/error.rs:56:64 [INFO] [stdout] | [INFO] [stdout] 56 | Error::InvalidKey(ref rkey) => write!(f, "{}: {}", error::Error::description(self), rkey), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/psbt/error.rs:57:66 [INFO] [stdout] | [INFO] [stdout] 57 | Error::DuplicateKey(ref rkey) => write!(f, "{}: {}", error::Error::description(self), rkey), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/psbt/error.rs:58:119 [INFO] [stdout] | [INFO] [stdout] 58 | ...l: ref a } => write!(f, "{}: expected {}, actual {}", error::Error::description(self), e.txid(), a.txid()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/psbt/error.rs:59:75 [INFO] [stdout] | [INFO] [stdout] 59 | Error::NonStandardSigHashType(ref sht) => write!(f, "{}: {}", error::Error::description(self), sht), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/psbt/error.rs:65:49 [INFO] [stdout] | [INFO] [stdout] 65 | | Error::NoMorePairs => f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/network/mod.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | Error::Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/mod.rs:96:39 [INFO] [stdout] | [INFO] [stdout] 96 | Error::Encode(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/mod.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | Error::Network(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale_factor` [INFO] [stdout] --> src/blockdata/transaction.rs:402:31 [INFO] [stdout] | [INFO] [stdout] 402 | fn get_size_scaled(&self, scale_factor: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scale_factor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [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/network/mod.rs:50:89 [INFO] [stdout] | [INFO] [stdout] 50 | Error::SocketMutexPoisoned | Error::SocketNotConnectedToPeer => f.write_str(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/blockdata/script.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/mod.rs:80:79 [INFO] [stdout] | [INFO] [stdout] 80 | Error::BlockBadProofOfWork | Error::BlockBadTarget => f.write_str(error::Error::description(self)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/amount.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let desc = ::std::error::Error::description(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/bip32.rs:396:36 [INFO] [stdout] | [INFO] [stdout] 396 | Error::Ecdsa(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/psbt/error.rs:56:64 [INFO] [stdout] | [INFO] [stdout] 56 | Error::InvalidKey(ref rkey) => write!(f, "{}: {}", error::Error::description(self), rkey), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/psbt/error.rs:57:66 [INFO] [stdout] | [INFO] [stdout] 57 | Error::DuplicateKey(ref rkey) => write!(f, "{}: {}", error::Error::description(self), rkey), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/psbt/error.rs:58:119 [INFO] [stdout] | [INFO] [stdout] 58 | ...l: ref a } => write!(f, "{}: expected {}, actual {}", error::Error::description(self), e.txid(), a.txid()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/psbt/error.rs:59:75 [INFO] [stdout] | [INFO] [stdout] 59 | Error::NonStandardSigHashType(ref sht) => write!(f, "{}: {}", error::Error::description(self), sht), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/psbt/error.rs:65:49 [INFO] [stdout] | [INFO] [stdout] 65 | | Error::NoMorePairs => f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/network/mod.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | Error::Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/mod.rs:96:39 [INFO] [stdout] | [INFO] [stdout] 96 | Error::Encode(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/mod.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | Error::Network(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale_factor` [INFO] [stdout] --> src/blockdata/transaction.rs:402:31 [INFO] [stdout] | [INFO] [stdout] 402 | fn get_size_scaled(&self, scale_factor: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scale_factor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/network/address.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | services: ServiceFlags::NETWORK.add(ServiceFlags::WITNESS), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/network/constants.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn add(&mut self, other: ServiceFlags) -> ServiceFlags { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/network/constants.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub const NETWORK: ServiceFlags = ServiceFlags(1 << 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/consensus/encode.rs:814:25 [INFO] [stdout] | [INFO] [stdout] 814 | x => panic!(x) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 814 | x => panic!("{}", x) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 814 | x => std::panic::panic_any(x) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/consensus/encode.rs:818:25 [INFO] [stdout] | [INFO] [stdout] 818 | x => panic!(x) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 818 | x => panic!("{}", x) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 818 | x => std::panic::panic_any(x) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/consensus/encode.rs:822:25 [INFO] [stdout] | [INFO] [stdout] 822 | x => panic!(x) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 822 | x => panic!("{}", x) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 822 | x => std::panic::panic_any(x) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/consensus/encode.rs:826:25 [INFO] [stdout] | [INFO] [stdout] 826 | x => panic!(x) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 826 | x => panic!("{}", x) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 826 | x => std::panic::panic_any(x) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/consensus/encode.rs:830:25 [INFO] [stdout] | [INFO] [stdout] 830 | x => panic!(x) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 830 | x => panic!("{}", x) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 830 | x => std::panic::panic_any(x) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/consensus/encode.rs:834:25 [INFO] [stdout] | [INFO] [stdout] 834 | x => panic!(x) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 834 | x => panic!("{}", x) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 834 | x => std::panic::panic_any(x) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.86s [INFO] running `Command { std: "docker" "inspect" "484aaa0fe5c1ae26ebd1dbe95be67684fd1e032e3a1c65ce2d1f4c3385dee839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "484aaa0fe5c1ae26ebd1dbe95be67684fd1e032e3a1c65ce2d1f4c3385dee839", kill_on_drop: false }` [INFO] [stdout] 484aaa0fe5c1ae26ebd1dbe95be67684fd1e032e3a1c65ce2d1f4c3385dee839