[INFO] fetching crate luckycoin 0.29.2... [INFO] checking luckycoin-0.29.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate luckycoin 0.29.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate luckycoin 0.29.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate luckycoin 0.29.2 [INFO] tweaked toml for crates.io crate luckycoin 0.29.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate luckycoin 0.29.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate luckycoin 0.29.2 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoin_hashes v0.11.0 [INFO] [stderr] Downloaded bitcoinconsensus v0.20.2-0.5.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d82f62d9459d8ebc82c1df33cc228396ccf2e696da4c46be27178a86f862a1ed [INFO] running `Command { std: "docker" "start" "-a" "d82f62d9459d8ebc82c1df33cc228396ccf2e696da4c46be27178a86f862a1ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d82f62d9459d8ebc82c1df33cc228396ccf2e696da4c46be27178a86f862a1ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d82f62d9459d8ebc82c1df33cc228396ccf2e696da4c46be27178a86f862a1ed", kill_on_drop: false }` [INFO] [stdout] d82f62d9459d8ebc82c1df33cc228396ccf2e696da4c46be27178a86f862a1ed [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79a277b130df739f56e473b2c5f99c980626c229721429d285096554852f8b21 [INFO] running `Command { std: "docker" "start" "-a" "79a277b130df739f56e473b2c5f99c980626c229721429d285096554852f8b21", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking bitcoin_hashes v0.11.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Checking luckycoin v0.29.2 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/network/../../test_data/testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw`: No such file or directory (os error 2) [INFO] [stdout] --> src/network/message.rs:518:41 [INFO] [stdout] | [INFO] [stdout] 518 | ...rialize(&include_bytes!("../../test_data/testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw")[..]).unw... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/blockdata/../../test_data/testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw`: No such file or directory (os error 2) [INFO] [stdout] --> src/blockdata/block.rs:455:28 [INFO] [stdout] | [INFO] [stdout] 455 | ..._block = include_bytes!("../../test_data/testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw").to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/util/../../test_data/testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw`: No such file or directory (os error 2) [INFO] [stdout] --> src/util/hash.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | ..._block = include_bytes!("../../test_data/testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/util/psbt/../../../test_data/psbt1.hex`: No such file or directory (os error 2) [INFO] [stdout] --> src/util/psbt/mod.rs:1118:35 [INFO] [stdout] | [INFO] [stdout] 1118 | let mut psbt1 = hex_psbt!(include_str!("../../../test_data/psbt1.hex")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/util/psbt/../../../test_data/psbt2.hex`: No such file or directory (os error 2) [INFO] [stdout] --> src/util/psbt/mod.rs:1119:31 [INFO] [stdout] | [INFO] [stdout] 1119 | let psbt2 = hex_psbt!(include_str!("../../../test_data/psbt2.hex")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/util/psbt/../../../test_data/psbt2.hex`: No such file or directory (os error 2) [INFO] [stdout] --> src/util/psbt/mod.rs:1120:39 [INFO] [stdout] | [INFO] [stdout] 1120 | let psbt_combined = hex_psbt!(include_str!("../../../test_data/psbt2.hex")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/util/psbt/../../../test_data/psbt1.hex`: No such file or directory (os error 2) [INFO] [stdout] --> src/util/psbt/mod.rs:1128:35 [INFO] [stdout] | [INFO] [stdout] 1128 | let mut psbt1 = hex_psbt!(include_str!("../../../test_data/psbt1.hex")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/util/psbt/../../../test_data/psbt2.hex`: No such file or directory (os error 2) [INFO] [stdout] --> src/util/psbt/mod.rs:1129:35 [INFO] [stdout] | [INFO] [stdout] 1129 | let mut psbt2 = hex_psbt!(include_str!("../../../test_data/psbt2.hex")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/util/../../test_data/bip341_tests.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/util/taproot.rs:1427:24 [INFO] [stdout] | [INFO] [stdout] 1427 | let json_str = include_str!("../../test_data/bip341_tests.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/util/../../test_data/blockfilters.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/util/bip158.rs:529:20 [INFO] [stdout] | [INFO] [stdout] 529 | let data = include_str!("../../test_data/blockfilters.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/util/../../test_data/bip341_tests.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/util/sighash.rs:1168:24 [INFO] [stdout] | [INFO] [stdout] 1168 | let json_str = include_str!("../../test_data/bip341_tests.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | #![cfg_attr(bench, feature(test))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:165:7 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 168 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/blockdata/transaction.rs:2008:7 [INFO] [stdout] | [INFO] [stdout] 2008 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | #![cfg_attr(bench, feature(test))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/blockdata/block.rs:539:7 [INFO] [stdout] | [INFO] [stdout] 539 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:165:7 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 168 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/blockdata/witness.rs:511:7 [INFO] [stdout] | [INFO] [stdout] 511 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/blockdata/transaction.rs:2008:7 [INFO] [stdout] | [INFO] [stdout] 2008 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/blockdata/block.rs:539:7 [INFO] [stdout] | [INFO] [stdout] 539 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/blockdata/witness.rs:511:7 [INFO] [stdout] | [INFO] [stdout] 511 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockdata/script.rs:611:25 [INFO] [stdout] | [INFO] [stdout] 611 | pub fn instructions(&self) -> Instructions { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 611 | pub fn instructions(&self) -> Instructions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockdata/script.rs:619:33 [INFO] [stdout] | [INFO] [stdout] 619 | pub fn instructions_minimal(&self) -> Instructions { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 619 | pub fn instructions_minimal(&self) -> Instructions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockdata/witness.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/base58.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn iter(&self) -> iter::Chain, slice::Iter> { [INFO] [stdout] | ^^^^^ -------------- -------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | pub fn iter(&self) -> iter::Chain, slice::Iter<'_, T>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/base58.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn iter_mut(&mut self) -> iter::Chain, slice::IterMut> { [INFO] [stdout] | ^^^^^^^^^ ----------------- ----------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | pub fn iter_mut(&mut self) -> iter::Chain, slice::IterMut<'_, T>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/bip32.rs:391:26 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn children_from(&self, cn: ChildNumber) -> DerivationPathIterator { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 391 | pub fn children_from(&self, cn: ChildNumber) -> DerivationPathIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/bip32.rs:396:28 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn normal_children(&self) -> DerivationPathIterator { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 396 | pub fn normal_children(&self) -> DerivationPathIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/bip32.rs:401:30 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn hardened_children(&self) -> DerivationPathIterator { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 401 | pub fn hardened_children(&self) -> DerivationPathIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/psbt/map/output.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn script_leaves(&self) -> TapTreeIter { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 175 | pub fn script_leaves(&self) -> TapTreeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/util/bip158.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn new(reader: &'a mut dyn io::Read) -> BitStreamReader { [INFO] [stdout] | ^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 433 | pub fn new(reader: &'a mut dyn io::Read) -> BitStreamReader<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/util/bip158.rs:471:25 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn new(writer: &'a mut dyn io::Write) -> BitStreamWriter { [INFO] [stdout] | ^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 471 | pub fn new(writer: &'a mut dyn io::Write) -> BitStreamWriter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bitcoin` [INFO] [stdout] --> examples/handshake.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate bitcoin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bitcoin` [INFO] [stdout] --> examples/bip32.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate bitcoin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> examples/bip32.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `luckycoin` (example "bip32") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `from_hex` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> examples/bip32.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let seed = Vec::from_hex(seed_hex).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/vec/mod.rs:459:5 [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - let seed = Vec::from_hex(seed_hex).unwrap(); [INFO] [stdout] 34 + let seed = Vec::from(seed_hex).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `luckycoin` (example "handshake") due to 1 previous error [INFO] [stderr] error: could not compile `luckycoin` (lib test) due to 11 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "79a277b130df739f56e473b2c5f99c980626c229721429d285096554852f8b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79a277b130df739f56e473b2c5f99c980626c229721429d285096554852f8b21", kill_on_drop: false }` [INFO] [stdout] 79a277b130df739f56e473b2c5f99c980626c229721429d285096554852f8b21