[INFO] fetching crate monacoin 0.23.0... [INFO] testing monacoin-0.23.0 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate monacoin 0.23.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate monacoin 0.23.0 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15c9ef2c73966f6f5eaf11855e32c52259fa84192dda57b2b808a6caff0ddfc9 [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" "15c9ef2c73966f6f5eaf11855e32c52259fa84192dda57b2b808a6caff0ddfc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15c9ef2c73966f6f5eaf11855e32c52259fa84192dda57b2b808a6caff0ddfc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15c9ef2c73966f6f5eaf11855e32c52259fa84192dda57b2b808a6caff0ddfc9", kill_on_drop: false }` [INFO] [stdout] 15c9ef2c73966f6f5eaf11855e32c52259fa84192dda57b2b808a6caff0ddfc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f8dffe2c84d378f43a28a470708e1cd303f22293c0529dacf102655ca55912f [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" "2f8dffe2c84d378f43a28a470708e1cd303f22293c0529dacf102655ca55912f", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bitcoin_hashes v0.7.6 [INFO] [stderr] Compiling bech32 v0.7.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling threefish-cipher v0.3.1 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling blake-hash v0.3.2 [INFO] [stderr] Compiling groestl v0.8.0 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling skein-hash v0.3.0 [INFO] [stderr] Compiling scrypt v0.2.0 [INFO] [stderr] Compiling lyra2 v0.2.1 [INFO] [stderr] Compiling secp256k1 v0.17.2 [INFO] [stderr] Compiling 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.37s [INFO] running `Command { std: "docker" "inspect" "2f8dffe2c84d378f43a28a470708e1cd303f22293c0529dacf102655ca55912f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f8dffe2c84d378f43a28a470708e1cd303f22293c0529dacf102655ca55912f", kill_on_drop: false }` [INFO] [stdout] 2f8dffe2c84d378f43a28a470708e1cd303f22293c0529dacf102655ca55912f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f820b6a5c81ed3a912efedf2fadb3311723bc89391e5f9980aaaf9f276a2e671 [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" "f820b6a5c81ed3a912efedf2fadb3311723bc89391e5f9980aaaf9f276a2e671", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling hex v0.3.2 [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] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling serde_test v1.0.117 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling 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: 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] [stderr] error: could not compile `monacoin` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name monacoin src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C metadata=adaf07dcb7bf966a -C extra-filename=-adaf07dcb7bf966a --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bech32=/opt/rustwide/target/debug/deps/libbech32-c5f37c34f2b0bea5.rlib --extern bitcoin_hashes=/opt/rustwide/target/debug/deps/libbitcoin_hashes-1455da965402822f.rlib --extern hex=/opt/rustwide/target/debug/deps/libhex-1f7a011164a4f5f8.rlib --extern lyra2=/opt/rustwide/target/debug/deps/liblyra2-6d950ce87055f9dd.rlib --extern scrypt=/opt/rustwide/target/debug/deps/libscrypt-8735fcbdcdc13225.rlib --extern secp256k1=/opt/rustwide/target/debug/deps/libsecp256k1-6378b1f1bfa025b8.rlib --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-48bcb6404d4b3bfd.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-c1c128aaf4e9bb53.rlib --extern serde_test=/opt/rustwide/target/debug/deps/libserde_test-0b990a68a088168f.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/secp256k1-sys-623006b4ec69e26f/out` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "f820b6a5c81ed3a912efedf2fadb3311723bc89391e5f9980aaaf9f276a2e671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f820b6a5c81ed3a912efedf2fadb3311723bc89391e5f9980aaaf9f276a2e671", kill_on_drop: false }` [INFO] [stdout] f820b6a5c81ed3a912efedf2fadb3311723bc89391e5f9980aaaf9f276a2e671