[INFO] cloning repository https://github.com/duanbing/xchain-rust-crypto
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/duanbing/xchain-rust-crypto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduanbing%2Fxchain-rust-crypto", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduanbing%2Fxchain-rust-crypto'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a0fe47d2f10c9c7b886e38163dfe57be794f9021
[INFO] documenting duanbing/xchain-rust-crypto against 1.75.0 for beta-1.76-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduanbing%2Fxchain-rust-crypto" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/duanbing/xchain-rust-crypto 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/duanbing/xchain-rust-crypto
[INFO] finished tweaking git repo https://github.com/duanbing/xchain-rust-crypto
[INFO] tweaked toml for git repo https://github.com/duanbing/xchain-rust-crypto written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/duanbing/xchain-rust-crypto 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]  Downloading crates ...
[INFO] [stderr]   Downloaded base64 v0.12.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 432db672e7c3cde73a78774df418100707775822c04c04098604576f459efeb7
[INFO] running `Command { std: "docker" "start" "-a" "432db672e7c3cde73a78774df418100707775822c04c04098604576f459efeb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "432db672e7c3cde73a78774df418100707775822c04c04098604576f459efeb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "432db672e7c3cde73a78774df418100707775822c04c04098604576f459efeb7", kill_on_drop: false }`
[INFO] [stdout] 432db672e7c3cde73a78774df418100707775822c04c04098604576f459efeb7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 87fb812366f26140079fd850a919cd451d253a89892b3b5e99ff75b286303906
[INFO] running `Command { std: "docker" "start" "-a" "87fb812366f26140079fd850a919cd451d253a89892b3b5e99ff75b286303906", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling ryu v1.0.3
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking aho-corasick v0.7.10
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]    Compiling ring v0.16.12
[INFO] [stderr]     Checking untrusted v0.7.0
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking base58 v0.1.0
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]     Checking serde_json v1.0.51
[INFO] [stderr]  Documenting xchain-rust-crypto v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `int` should have an upper camel case name
[INFO] [stdout]   --> src/c.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub(crate) type int = i32;
[INFO] [stdout]    |                 ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Int`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint` should have an upper camel case name
[INFO] [stdout]   --> src/c.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub(crate) type uint = u32;
[INFO] [stdout]    |                 ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Uint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `size_t` should have an upper camel case name
[INFO] [stdout]   --> src/c.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub(crate) type size_t = usize;
[INFO] [stdout]    |                 ^^^^^^ help: convert the identifier to upper camel case: `SizeT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/hdwallet/languages.rs:10:41
[INFO] [stdout]    |
[INFO] [stdout] 10 |     static ref WORDLIST_S_CH: WordMap = { load_wordlist(include_str!("langs/simplified_chinese.txt")) };
[INFO] [stdout]    |                                         ^^                                                           ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 10 -     static ref WORDLIST_S_CH: WordMap = { load_wordlist(include_str!("langs/simplified_chinese.txt")) };
[INFO] [stdout] 10 +     static ref WORDLIST_S_CH: WordMap = load_wordlist(include_str!("langs/simplified_chinese.txt"));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/hdwallet/languages.rs:11:39
[INFO] [stdout]    |
[INFO] [stdout] 11 |     static ref WORDLIST_EN: WordMap = { load_wordlist(include_str!("langs/english.txt")) };
[INFO] [stdout]    |                                       ^^                                                ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 11 -     static ref WORDLIST_EN: WordMap = { load_wordlist(include_str!("langs/english.txt")) };
[INFO] [stdout] 11 +     static ref WORDLIST_EN: WordMap = load_wordlist(include_str!("langs/english.txt"));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/hdwallet/rand.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         { num_bigint::BigInt::from_i32(2048).unwrap() };
[INFO] [stdout]    |         ^^                                           ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 11 -         { num_bigint::BigInt::from_i32(2048).unwrap() };
[INFO] [stdout] 11 +         num_bigint::BigInt::from_i32(2048).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/hdwallet/rand.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         { num_bigint::BigInt::from_i32(2047).unwrap() };
[INFO] [stdout]    |         ^^                                           ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 13 -         { num_bigint::BigInt::from_i32(2047).unwrap() };
[INFO] [stdout] 13 +         num_bigint::BigInt::from_i32(2047).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/hdwallet/rand.rs:14:54
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub static ref BIGINT_ZERO: num_bigint::BigInt = { num_traits::Zero::zero() };
[INFO] [stdout]    |                                                      ^^                        ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 14 -     pub static ref BIGINT_ZERO: num_bigint::BigInt = { num_traits::Zero::zero() };
[INFO] [stdout] 14 +     pub static ref BIGINT_ZERO: num_bigint::BigInt = num_traits::Zero::zero();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/hdwallet/rand.rs:15:53
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub static ref BIGINT_ONE: num_bigint::BigInt = { num_traits::One::one() };
[INFO] [stdout]    |                                                     ^^                      ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 15 -     pub static ref BIGINT_ONE: num_bigint::BigInt = { num_traits::One::one() };
[INFO] [stdout] 15 +     pub static ref BIGINT_ONE: num_bigint::BigInt = num_traits::One::one();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/hdwallet/rand.rs:16:53
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub static ref BIGINT_TWO: num_bigint::BigInt = { num_bigint::BigInt::from_i32(2).unwrap() };
[INFO] [stdout]    |                                                     ^^                                        ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 16 -     pub static ref BIGINT_TWO: num_bigint::BigInt = { num_bigint::BigInt::from_i32(2).unwrap() };
[INFO] [stdout] 16 +     pub static ref BIGINT_TWO: num_bigint::BigInt = num_bigint::BigInt::from_i32(2).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ECDSA_P256_SHA256_ASN1_SIGNING` should have an upper camel case name
[INFO] [stdout]   --> src/ec/suite_b/ecdsa/signing.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     ECDSA_P256_SHA256_ASN1_SIGNING,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EcdsaP256Sha256Asn1Signing`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ECDSA_P256_SHA256_ASN1` should have an upper camel case name
[INFO] [stdout]   --> src/ec/suite_b/ecdsa/verification.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     ECDSA_P256_SHA256_ASN1,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EcdsaP256Sha256Asn1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/errors.rs:81:44
[INFO] [stdout]    |
[INFO] [stdout] 81 |         ErrorKind::ErrInvalidEntropyLength => ("Entropy length must within [128, 256] and be multiples of 32"),
[INFO] [stdout]    |                                               ^                                                              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 81 -         ErrorKind::ErrInvalidEntropyLength => ("Entropy length must within [128, 256] and be multiples of 32"),
[INFO] [stdout] 81 +         ErrorKind::ErrInvalidEntropyLength => "Entropy length must within [128, 256] and be multiples of 32",
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/errors.rs:84:44
[INFO] [stdout]    |
[INFO] [stdout] 84 |         ErrorKind::ErrStrengthNotSupported => ("This strength has not been supported yet."),
[INFO] [stdout]    |                                               ^                                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 84 -         ErrorKind::ErrStrengthNotSupported => ("This strength has not been supported yet."),
[INFO] [stdout] 84 +         ErrorKind::ErrStrengthNotSupported => "This strength has not been supported yet.",
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/errors.rs:88:44
[INFO] [stdout]    |
[INFO] [stdout] 88 |         ErrorKind::ErrLanguageNotSupported => ("This language has not been supported yet."),
[INFO] [stdout]    |                                               ^                                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 88 -         ErrorKind::ErrLanguageNotSupported => ("This language has not been supported yet."),
[INFO] [stdout] 88 +         ErrorKind::ErrLanguageNotSupported => "This language has not been supported yet.",
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/errors.rs:90:43
[INFO] [stdout]    |
[INFO] [stdout] 90 | ...cNumNotValid => ("The number of words in the Mnemonic sentence is not valid. It must be within [12, 15, 18, 21, 24]"),
[INFO] [stdout]    |                    ^                                                                                                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 90 -         ErrorKind::ErrMnemonicNumNotValid => ("The number of words in the Mnemonic sentence is not valid. It must be within [12, 15, 18, 21, 24]"),
[INFO] [stdout] 90 +         ErrorKind::ErrMnemonicNumNotValid => "The number of words in the Mnemonic sentence is not valid. It must be within [12, 15, 18, 21, 24]",
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/errors.rs:92:49
[INFO] [stdout]    |
[INFO] [stdout] 92 |         ErrorKind::ErrMnemonicChecksumIncorrect => ("The checksum within the Mnemonic sentence incorrect"),
[INFO] [stdout]    |                                                    ^                                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 92 -         ErrorKind::ErrMnemonicChecksumIncorrect => ("The checksum within the Mnemonic sentence incorrect"),
[INFO] [stdout] 92 +         ErrorKind::ErrMnemonicChecksumIncorrect => "The checksum within the Mnemonic sentence incorrect",
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `crate::signature`
[INFO] [stdout]    --> src/sign/ecdsa.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout] 103 |     /// See the [crate::signature] module-level documentation for examples.
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ no item named `signature` in module `xchain_rust_crypto`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this URL is not a hyperlink
[INFO] [stdout]   --> src/account/account.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | /// From: https://golang.org/src/crypto/elliptic/p256.go
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://golang.org/src/crypto/elliptic/p256.go>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stdout]    = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 7.42s
[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 2`
[INFO] [stderr]    Generated /opt/rustwide/target/doc/xchain_rust_crypto/index.html
[INFO] running `Command { std: "docker" "inspect" "87fb812366f26140079fd850a919cd451d253a89892b3b5e99ff75b286303906", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87fb812366f26140079fd850a919cd451d253a89892b3b5e99ff75b286303906", kill_on_drop: false }`
[INFO] [stdout] 87fb812366f26140079fd850a919cd451d253a89892b3b5e99ff75b286303906
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d3a0c30198d3b7c935a0a726cd68ae6bf9de64c90bc8d724dd22511b287bd5b2
[INFO] running `Command { std: "docker" "start" "-a" "d3a0c30198d3b7c935a0a726cd68ae6bf9de64c90bc8d724dd22511b287bd5b2", kill_on_drop: false }`
[INFO] [stderr]  Documenting xchain-rust-crypto v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `int` should have an upper camel case name
[INFO] [stdout]   --> src/c.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub(crate) type int = i32;
[INFO] [stdout]    |                 ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Int`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint` should have an upper camel case name
[INFO] [stdout]   --> src/c.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub(crate) type uint = u32;
[INFO] [stdout]    |                 ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Uint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `size_t` should have an upper camel case name
[INFO] [stdout]   --> src/c.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub(crate) type size_t = usize;
[INFO] [stdout]    |                 ^^^^^^ help: convert the identifier to upper camel case: `SizeT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/hdwallet/languages.rs:10:41
[INFO] [stdout]    |
[INFO] [stdout] 10 |     static ref WORDLIST_S_CH: WordMap = { load_wordlist(include_str!("langs/simplified_chinese.txt")) };
[INFO] [stdout]    |                                         ^^                                                           ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 10 -     static ref WORDLIST_S_CH: WordMap = { load_wordlist(include_str!("langs/simplified_chinese.txt")) };
[INFO] [stdout] 10 +     static ref WORDLIST_S_CH: WordMap = load_wordlist(include_str!("langs/simplified_chinese.txt"));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/hdwallet/languages.rs:11:39
[INFO] [stdout]    |
[INFO] [stdout] 11 |     static ref WORDLIST_EN: WordMap = { load_wordlist(include_str!("langs/english.txt")) };
[INFO] [stdout]    |                                       ^^                                                ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 11 -     static ref WORDLIST_EN: WordMap = { load_wordlist(include_str!("langs/english.txt")) };
[INFO] [stdout] 11 +     static ref WORDLIST_EN: WordMap = load_wordlist(include_str!("langs/english.txt"));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/hdwallet/rand.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         { num_bigint::BigInt::from_i32(2048).unwrap() };
[INFO] [stdout]    |         ^^                                           ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 11 -         { num_bigint::BigInt::from_i32(2048).unwrap() };
[INFO] [stdout] 11 +         num_bigint::BigInt::from_i32(2048).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/hdwallet/rand.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         { num_bigint::BigInt::from_i32(2047).unwrap() };
[INFO] [stdout]    |         ^^                                           ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 13 -         { num_bigint::BigInt::from_i32(2047).unwrap() };
[INFO] [stdout] 13 +         num_bigint::BigInt::from_i32(2047).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/hdwallet/rand.rs:14:54
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub static ref BIGINT_ZERO: num_bigint::BigInt = { num_traits::Zero::zero() };
[INFO] [stdout]    |                                                      ^^                        ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 14 -     pub static ref BIGINT_ZERO: num_bigint::BigInt = { num_traits::Zero::zero() };
[INFO] [stdout] 14 +     pub static ref BIGINT_ZERO: num_bigint::BigInt = num_traits::Zero::zero();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/hdwallet/rand.rs:15:53
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub static ref BIGINT_ONE: num_bigint::BigInt = { num_traits::One::one() };
[INFO] [stdout]    |                                                     ^^                      ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 15 -     pub static ref BIGINT_ONE: num_bigint::BigInt = { num_traits::One::one() };
[INFO] [stdout] 15 +     pub static ref BIGINT_ONE: num_bigint::BigInt = num_traits::One::one();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/hdwallet/rand.rs:16:53
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub static ref BIGINT_TWO: num_bigint::BigInt = { num_bigint::BigInt::from_i32(2).unwrap() };
[INFO] [stdout]    |                                                     ^^                                        ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 16 -     pub static ref BIGINT_TWO: num_bigint::BigInt = { num_bigint::BigInt::from_i32(2).unwrap() };
[INFO] [stdout] 16 +     pub static ref BIGINT_TWO: num_bigint::BigInt = num_bigint::BigInt::from_i32(2).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ECDSA_P256_SHA256_ASN1_SIGNING` should have an upper camel case name
[INFO] [stdout]   --> src/ec/suite_b/ecdsa/signing.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     ECDSA_P256_SHA256_ASN1_SIGNING,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EcdsaP256Sha256Asn1Signing`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ECDSA_P256_SHA256_ASN1` should have an upper camel case name
[INFO] [stdout]   --> src/ec/suite_b/ecdsa/verification.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     ECDSA_P256_SHA256_ASN1,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EcdsaP256Sha256Asn1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/errors.rs:81:44
[INFO] [stdout]    |
[INFO] [stdout] 81 |         ErrorKind::ErrInvalidEntropyLength => ("Entropy length must within [128, 256] and be multiples of 32"),
[INFO] [stdout]    |                                               ^                                                              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 81 -         ErrorKind::ErrInvalidEntropyLength => ("Entropy length must within [128, 256] and be multiples of 32"),
[INFO] [stdout] 81 +         ErrorKind::ErrInvalidEntropyLength => "Entropy length must within [128, 256] and be multiples of 32",
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/errors.rs:84:44
[INFO] [stdout]    |
[INFO] [stdout] 84 |         ErrorKind::ErrStrengthNotSupported => ("This strength has not been supported yet."),
[INFO] [stdout]    |                                               ^                                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 84 -         ErrorKind::ErrStrengthNotSupported => ("This strength has not been supported yet."),
[INFO] [stdout] 84 +         ErrorKind::ErrStrengthNotSupported => "This strength has not been supported yet.",
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/errors.rs:88:44
[INFO] [stdout]    |
[INFO] [stdout] 88 |         ErrorKind::ErrLanguageNotSupported => ("This language has not been supported yet."),
[INFO] [stdout]    |                                               ^                                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 88 -         ErrorKind::ErrLanguageNotSupported => ("This language has not been supported yet."),
[INFO] [stdout] 88 +         ErrorKind::ErrLanguageNotSupported => "This language has not been supported yet.",
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/errors.rs:90:43
[INFO] [stdout]    |
[INFO] [stdout] 90 | ...cNumNotValid => ("The number of words in the Mnemonic sentence is not valid. It must be within [12, 15, 18, 21, 24]"),
[INFO] [stdout]    |                    ^                                                                                                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 90 -         ErrorKind::ErrMnemonicNumNotValid => ("The number of words in the Mnemonic sentence is not valid. It must be within [12, 15, 18, 21, 24]"),
[INFO] [stdout] 90 +         ErrorKind::ErrMnemonicNumNotValid => "The number of words in the Mnemonic sentence is not valid. It must be within [12, 15, 18, 21, 24]",
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/errors.rs:92:49
[INFO] [stdout]    |
[INFO] [stdout] 92 |         ErrorKind::ErrMnemonicChecksumIncorrect => ("The checksum within the Mnemonic sentence incorrect"),
[INFO] [stdout]    |                                                    ^                                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 92 -         ErrorKind::ErrMnemonicChecksumIncorrect => ("The checksum within the Mnemonic sentence incorrect"),
[INFO] [stdout] 92 +         ErrorKind::ErrMnemonicChecksumIncorrect => "The checksum within the Mnemonic sentence incorrect",
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `crate::signature`
[INFO] [stdout]    --> src/sign/ecdsa.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout] 103 |     /// See the [crate::signature] module-level documentation for examples.
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ no item named `signature` in module `xchain_rust_crypto`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.53s
[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 2`
[INFO] [stderr]    Generated /opt/rustwide/target/doc/xchain_rust_crypto/index.html
[INFO] running `Command { std: "docker" "inspect" "d3a0c30198d3b7c935a0a726cd68ae6bf9de64c90bc8d724dd22511b287bd5b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3a0c30198d3b7c935a0a726cd68ae6bf9de64c90bc8d724dd22511b287bd5b2", kill_on_drop: false }`
[INFO] [stdout] d3a0c30198d3b7c935a0a726cd68ae6bf9de64c90bc8d724dd22511b287bd5b2
