[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 beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziyuanliu%2Fbitcoin-rust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ziyuanliu/bitcoin-rust on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-1/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" "+beta-2022-05-20" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e88f4aa386c3787d7a10af697f5b7d642c0c6ca7f8d65de3b24536be32d1936 [INFO] running `Command { std: "docker" "start" "-a" "9e88f4aa386c3787d7a10af697f5b7d642c0c6ca7f8d65de3b24536be32d1936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e88f4aa386c3787d7a10af697f5b7d642c0c6ca7f8d65de3b24536be32d1936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e88f4aa386c3787d7a10af697f5b7d642c0c6ca7f8d65de3b24536be32d1936", kill_on_drop: false }` [INFO] [stdout] 9e88f4aa386c3787d7a10af697f5b7d642c0c6ca7f8d65de3b24536be32d1936 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7c23a1bd611a3cc42cae1c60b9e424ca1e81fe4a88fb290946e9cb589f0eb06 [INFO] running `Command { std: "docker" "start" "-a" "e7c23a1bd611a3cc42cae1c60b9e424ca1e81fe4a88fb290946e9cb589f0eb06", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling heapsize v0.3.9 [INFO] [stderr] Checking rustc-serialize v0.3.24 [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 rust-crypto v0.2.36 [INFO] [stderr] Compiling bigint v1.0.5 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Compiling serialization_derive v0.1.0 (/opt/rustwide/workdir/serialization_derive) [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] = 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] 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.46s [INFO] running `Command { std: "docker" "inspect" "e7c23a1bd611a3cc42cae1c60b9e424ca1e81fe4a88fb290946e9cb589f0eb06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7c23a1bd611a3cc42cae1c60b9e424ca1e81fe4a88fb290946e9cb589f0eb06", kill_on_drop: false }` [INFO] [stdout] e7c23a1bd611a3cc42cae1c60b9e424ca1e81fe4a88fb290946e9cb589f0eb06