[INFO] cloning repository https://github.com/ziyuanliu/bitcoin-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ziyuanliu/bitcoin-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziyuanliu%2Fbitcoin-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziyuanliu%2Fbitcoin-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c645623e83312377a9fccf5fc20e3d9dbde72bc8 [INFO] testing ziyuanliu/bitcoin-rust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziyuanliu%2Fbitcoin-rust" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ziyuanliu/bitcoin-rust 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/ziyuanliu/bitcoin-rust [INFO] finished tweaking git repo https://github.com/ziyuanliu/bitcoin-rust [INFO] tweaked toml for git repo https://github.com/ziyuanliu/bitcoin-rust written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/ziyuanliu/bitcoin-rust 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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bigint v1.0.5 [INFO] [stderr] Downloaded rustc_version v0.2.2 [INFO] [stderr] Downloaded siphasher v0.1.3 [INFO] [stderr] Downloaded heapsize v0.3.9 [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37acc8c077805aca64df6a57618ab40859f7609bdbb323cfde9b2ab2fce73484 [INFO] running `Command { std: "docker" "start" "-a" "37acc8c077805aca64df6a57618ab40859f7609bdbb323cfde9b2ab2fce73484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37acc8c077805aca64df6a57618ab40859f7609bdbb323cfde9b2ab2fce73484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37acc8c077805aca64df6a57618ab40859f7609bdbb323cfde9b2ab2fce73484", kill_on_drop: false }` [INFO] [stdout] 37acc8c077805aca64df6a57618ab40859f7609bdbb323cfde9b2ab2fce73484 [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=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] e820c2aa777d568e404ea2cf3cbbcc7b46d6ad49a918d85aa3c77c1c6cc08439 [INFO] running `Command { std: "docker" "start" "-a" "e820c2aa777d568e404ea2cf3cbbcc7b46d6ad49a918d85aa3c77c1c6cc08439", kill_on_drop: false }` [INFO] [stderr] Compiling heapsize v0.3.9 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling siphasher v0.1.3 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling rustc_version v0.2.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling bigint v1.0.5 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling primitives v0.1.0 (/opt/rustwide/workdir/primitives) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | impl_hash!(H32, 4); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | impl_hash!(H48, 6); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | impl_hash!(H96, 12); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | impl_hash!(H160, 20); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | impl_hash!(H256, 32); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | impl_hash!(H264, 33); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | impl_hash!(H512, 64); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | impl_hash!(H520, 65); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serialization_derive v0.1.0 (/opt/rustwide/workdir/serialization_derive) [INFO] [stderr] Compiling serialization v0.1.0 (/opt/rustwide/workdir/serialization) [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> serialization/src/compact_integer.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | 0...0xfc => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> serialization/src/compact_integer.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | 0xfd...0xffff => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> serialization/src/compact_integer.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | 0x10000...0xffff_ffff => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> serialization/src/compact_integer.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | 0...0xfc => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> serialization/src/compact_integer.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | 0xfd...0xffff => 3, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> serialization/src/compact_integer.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | 0x10000...0xffff_ffff => 5, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> serialization/src/compact_integer.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | i @ 0...0xfc => i.into(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcrypto v0.1.0 (/opt/rustwide/workdir/crypto) [INFO] [stderr] Compiling chain v0.1.0 (/opt/rustwide/workdir/chain) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> chain/src/constants.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = (1 << 22); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = (1 << 22); [INFO] [stdout] 17 + pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = 1 << 22; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcoin-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.04s [INFO] running `Command { std: "docker" "inspect" "e820c2aa777d568e404ea2cf3cbbcc7b46d6ad49a918d85aa3c77c1c6cc08439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e820c2aa777d568e404ea2cf3cbbcc7b46d6ad49a918d85aa3c77c1c6cc08439", kill_on_drop: false }` [INFO] [stdout] e820c2aa777d568e404ea2cf3cbbcc7b46d6ad49a918d85aa3c77c1c6cc08439 [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=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] 3e1c7ee4f9c55444d0b8e49fee42a91ffd2d34f5df7cc4c4d95e64ea94b356eb [INFO] running `Command { std: "docker" "start" "-a" "3e1c7ee4f9c55444d0b8e49fee42a91ffd2d34f5df7cc4c4d95e64ea94b356eb", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | impl_hash!(H32, 4); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | impl_hash!(H48, 6); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | impl_hash!(H96, 12); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | impl_hash!(H160, 20); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | impl_hash!(H256, 32); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | impl_hash!(H264, 33); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | impl_hash!(H512, 64); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(s.from_hex()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | impl_hash!(H520, 65); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> serialization/src/compact_integer.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | 0...0xfc => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> serialization/src/compact_integer.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | 0xfd...0xffff => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> serialization/src/compact_integer.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | 0x10000...0xffff_ffff => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> serialization/src/compact_integer.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | 0...0xfc => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> serialization/src/compact_integer.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | 0xfd...0xffff => 3, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> serialization/src/compact_integer.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | 0x10000...0xffff_ffff => 5, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> serialization/src/compact_integer.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | i @ 0...0xfc => i.into(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcoin-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> chain/src/constants.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = (1 << 22); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = (1 << 22); [INFO] [stdout] 17 + pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = 1 << 22; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "3e1c7ee4f9c55444d0b8e49fee42a91ffd2d34f5df7cc4c4d95e64ea94b356eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e1c7ee4f9c55444d0b8e49fee42a91ffd2d34f5df7cc4c4d95e64ea94b356eb", kill_on_drop: false }` [INFO] [stdout] 3e1c7ee4f9c55444d0b8e49fee42a91ffd2d34f5df7cc4c4d95e64ea94b356eb [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=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] b8d230eab1b9af5767ddd43792013cdb21370124a6d9999d2b2b6ec8fd545faf [INFO] running `Command { std: "docker" "start" "-a" "b8d230eab1b9af5767ddd43792013cdb21370124a6d9999d2b2b6ec8fd545faf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> primitives/src/hash.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | let vec = try!(s.from_hex()); [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 156 | impl_hash!(H32, 4); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | let vec = try!(s.from_hex()); [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 157 | impl_hash!(H48, 6); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | let vec = try!(s.from_hex()); [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 158 | impl_hash!(H96, 12); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | let vec = try!(s.from_hex()); [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 159 | impl_hash!(H160, 20); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | let vec = try!(s.from_hex()); [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 160 | impl_hash!(H256, 32); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | let vec = try!(s.from_hex()); [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 161 | impl_hash!(H264, 33); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | let vec = try!(s.from_hex()); [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 162 | impl_hash!(H512, 64); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_hash` (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] --> primitives/src/hash.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | let vec = try!(s.from_hex()); [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 163 | impl_hash!(H520, 65); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `primitives` (lib) generated 8 warnings [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> serialization/src/compact_integer.rs:62:14 [INFO] [stderr] | [INFO] [stderr] 62 | 0...0xfc => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> serialization/src/compact_integer.rs:65:17 [INFO] [stderr] | [INFO] [stderr] 65 | 0xfd...0xffff => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> serialization/src/compact_integer.rs:68:20 [INFO] [stderr] | [INFO] [stderr] 68 | 0x10000...0xffff_ffff => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> serialization/src/compact_integer.rs:79:14 [INFO] [stderr] | [INFO] [stderr] 79 | 0...0xfc => 1, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> serialization/src/compact_integer.rs:80:17 [INFO] [stderr] | [INFO] [stderr] 80 | 0xfd...0xffff => 3, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> serialization/src/compact_integer.rs:81:20 [INFO] [stderr] | [INFO] [stderr] 81 | 0x10000...0xffff_ffff => 5, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> serialization/src/compact_integer.rs:91:15 [INFO] [stderr] | [INFO] [stderr] 91 | i @ 0...0xfc => i.into(), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stderr] warning: `serialization` (lib) generated 7 warnings [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> chain/src/constants.rs:17:46 [INFO] [stderr] | [INFO] [stderr] 17 | pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = (1 << 22); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 17 - pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = (1 << 22); [INFO] [stderr] 17 + pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = 1 << 22; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `chain` (lib) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pbtc-0aecf5b3cf07478a) [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" "b8d230eab1b9af5767ddd43792013cdb21370124a6d9999d2b2b6ec8fd545faf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8d230eab1b9af5767ddd43792013cdb21370124a6d9999d2b2b6ec8fd545faf", kill_on_drop: false }` [INFO] [stdout] b8d230eab1b9af5767ddd43792013cdb21370124a6d9999d2b2b6ec8fd545faf