[INFO] fetching crate bitcoin-cash-base 1.0.0-beta.0... [INFO] checking bitcoin-cash-base-1.0.0-beta.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate bitcoin-cash-base 1.0.0-beta.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate bitcoin-cash-base 1.0.0-beta.0 [INFO] finished tweaking crates.io crate bitcoin-cash-base 1.0.0-beta.0 [INFO] tweaked toml for crates.io crate bitcoin-cash-base 1.0.0-beta.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bitcoin-cash-base 1.0.0-beta.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 112 packages to latest compatible versions [INFO] [stderr] Adding hex-literal v0.3.4 (available: v1.0.0) [INFO] [stderr] Adding num v0.3.1 (available: v0.4.3) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.9) [INFO] [stderr] Adding strum v0.20.0 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.20.1 (available: v0.27.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoin-cash-base v0.2.0 [INFO] [stderr] Downloaded bitcoin-cash v0.2.3 [INFO] [stderr] Downloaded bitcoin-cash-script-macro v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 93367664ffe80562da53e28e174a9b8c3f8c715db75bec6b919956914fbb63be [INFO] running `Command { std: "docker" "start" "-a" "93367664ffe80562da53e28e174a9b8c3f8c715db75bec6b919956914fbb63be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93367664ffe80562da53e28e174a9b8c3f8c715db75bec6b919956914fbb63be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93367664ffe80562da53e28e174a9b8c3f8c715db75bec6b919956914fbb63be", kill_on_drop: false }` [INFO] [stdout] 93367664ffe80562da53e28e174a9b8c3f8c715db75bec6b919956914fbb63be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] dc899209778b2004f8b957f3a94dd408d9926f66998726e8fd345bbb8a77ba9d [INFO] running `Command { std: "docker" "start" "-a" "dc899209778b2004f8b957f3a94dd408d9926f66998726e8fd345bbb8a77ba9d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling toolchain_find v0.1.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking bimap v0.5.3 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking bitcoin-cash-base v0.2.0 [INFO] [stderr] Checking bitcoin-cash-base v1.0.0-beta.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:707:11 [INFO] [stdout] | [INFO] [stdout] 707 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [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 value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(feature = "simple-bytearray")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(feature = "simple-bytearray")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = "simple-bytearray")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(feature = "simple-bytearray")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(feature = "simple-bytearray")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | #[cfg(feature = "simple-bytearray")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:181:11 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(feature = "simple-bytearray")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:191:11 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg(feature = "simple-bytearray")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:201:11 [INFO] [stdout] | [INFO] [stdout] 201 | #[cfg(feature = "simple-bytearray")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:206:15 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | #[cfg(feature = "simple-bytearray")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 228 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:264:11 [INFO] [stdout] | [INFO] [stdout] 264 | #[cfg(feature = "simple-bytearray")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:291:15 [INFO] [stdout] | [INFO] [stdout] 291 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:354:11 [INFO] [stdout] | [INFO] [stdout] 354 | #[cfg(feature = "simple-bytearray")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:372:15 [INFO] [stdout] | [INFO] [stdout] 372 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:382:11 [INFO] [stdout] | [INFO] [stdout] 382 | #[cfg(feature = "simple-bytearray")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:387:15 [INFO] [stdout] | [INFO] [stdout] 387 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:395:11 [INFO] [stdout] | [INFO] [stdout] 395 | #[cfg(feature = "simple-bytearray")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple-bytearray` [INFO] [stdout] --> src/byte_array.rs:400:15 [INFO] [stdout] | [INFO] [stdout] 400 | #[cfg(not(feature = "simple-bytearray"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple-bytearray` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/opcode.rs:62:68 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Clone, Debug, Copy, Eq, PartialEq, Ord, PartialOrd, Hash, FromPrimitive, IntoStaticStr)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode` [INFO] [stdout] 63 | pub enum Opcode { [INFO] [stdout] | ------ `Opcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcoin-cash-script-macro v0.2.0 [INFO] [stderr] Checking bitcoin-cash v0.2.3 [INFO] [stdout] error: No rustfmt could be found. [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-cash-0.2.3/src/scripts.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn p2pkh_script(address: &Address, sig: ByteArray, pubkey: ByteArray) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: No rustfmt could be found. [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-cash-0.2.3/src/scripts.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn p2sh_script(address: &Address, redeem_script: ByteArray) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P2PKHInputs` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-cash-0.2.3/src/scripts.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | type Script = P2PKHInputs; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `P2PKHInputs` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-cash-0.2.3/src/scripts.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | P2PKHInputs { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `p2sh_script` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-cash-0.2.3/src/scripts.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | AddressType::P2SH => p2sh_script(self).into(), [INFO] [stdout] | ^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `p2sh_script` as a method: `self.p2sh_script()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `p2pkh_script` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-cash-0.2.3/src/scripts.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | AddressType::P2PKH => p2pkh_script(self).into(), [INFO] [stdout] | ^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `p2pkh_script` as a method: `self.p2pkh_script()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `p2sh_script` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-cash-0.2.3/src/scripts.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | AddressType::P2SH => p2sh_script(&self).into(), [INFO] [stdout] | ^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: try calling `p2sh_script` as a method: `self.p2sh_script()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `p2pkh_script` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-cash-0.2.3/src/scripts.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | AddressType::P2PKH => p2pkh_script(&self).into(), [INFO] [stdout] | ^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: try calling `p2pkh_script` as a method: `self.p2pkh_script()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin-cash` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "dc899209778b2004f8b957f3a94dd408d9926f66998726e8fd345bbb8a77ba9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc899209778b2004f8b957f3a94dd408d9926f66998726e8fd345bbb8a77ba9d", kill_on_drop: false }` [INFO] [stdout] dc899209778b2004f8b957f3a94dd408d9926f66998726e8fd345bbb8a77ba9d