[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] documenting ziyuanliu/bitcoin-rust against 1.75.0 for beta-1.76-rustdoc-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziyuanliu%2Fbitcoin-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ziyuanliu/bitcoin-rust on toolchain 1.75.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded heapsize v0.3.9 [INFO] [stderr] Downloaded bitflags v1.0.1 [INFO] [stderr] Downloaded bigint v1.0.5 [INFO] [stderr] Downloaded quote v0.3.15 [INFO] [stderr] Downloaded byteorder v1.2.1 [INFO] [stderr] Downloaded siphasher v0.1.3 [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded rustc_version v0.2.2 [INFO] [stderr] Downloaded winapi v0.3.4 [INFO] [stderr] Downloaded heapsize v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93ec8c5b0bc1fe035f189ae01b4bb7c984b92117badcec5f27a14e3252721cf5 [INFO] running `Command { std: "docker" "start" "-a" "93ec8c5b0bc1fe035f189ae01b4bb7c984b92117badcec5f27a14e3252721cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93ec8c5b0bc1fe035f189ae01b4bb7c984b92117badcec5f27a14e3252721cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ec8c5b0bc1fe035f189ae01b4bb7c984b92117badcec5f27a14e3252721cf5", kill_on_drop: false }` [INFO] [stdout] 93ec8c5b0bc1fe035f189ae01b4bb7c984b92117badcec5f27a14e3252721cf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95cb9324983e3bf09d02b426482790aaef5cab881fbcbb3a670557ca92515073 [INFO] running `Command { std: "docker" "start" "-a" "95cb9324983e3bf09d02b426482790aaef5cab881fbcbb3a670557ca92515073", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling heapsize v0.3.9 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking siphasher v0.1.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rustc_version v0.2.2 [INFO] [stderr] Compiling bigint v1.0.5 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling serialization_derive v0.1.0 (/opt/rustwide/workdir/serialization_derive) [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking 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] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serialization v0.1.0 (/opt/rustwide/workdir/serialization) [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] = 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] Checking bitcrypto v0.1.0 (/opt/rustwide/workdir/crypto) [INFO] [stderr] Checking 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] Documenting bitcoin-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.62s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Generated /opt/rustwide/target/doc/pbtc/index.html [INFO] running `Command { std: "docker" "inspect" "95cb9324983e3bf09d02b426482790aaef5cab881fbcbb3a670557ca92515073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95cb9324983e3bf09d02b426482790aaef5cab881fbcbb3a670557ca92515073", kill_on_drop: false }` [INFO] [stdout] 95cb9324983e3bf09d02b426482790aaef5cab881fbcbb3a670557ca92515073