[INFO] fetching crate bitcoin-cash-base 1.0.0-beta.0... [INFO] checking bitcoin-cash-base-1.0.0-beta.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate bitcoin-cash-base 1.0.0-beta.0 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bitcoin-cash-base 1.0.0-beta.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 918b328fc6d616ee17a76c10808de892cacc63b555e7f5ae4ef348c1c57a2e60 [INFO] running `Command { std: "docker" "start" "-a" "918b328fc6d616ee17a76c10808de892cacc63b555e7f5ae4ef348c1c57a2e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "918b328fc6d616ee17a76c10808de892cacc63b555e7f5ae4ef348c1c57a2e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "918b328fc6d616ee17a76c10808de892cacc63b555e7f5ae4ef348c1c57a2e60", kill_on_drop: false }` [INFO] [stdout] 918b328fc6d616ee17a76c10808de892cacc63b555e7f5ae4ef348c1c57a2e60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41a2eb827e2fb2054fe3b223f0079d675c3c1772f5639bcd24c2997b9cd827bc [INFO] running `Command { std: "docker" "start" "-a" "41a2eb827e2fb2054fe3b223f0079d675c3c1772f5639bcd24c2997b9cd827bc", kill_on_drop: false }` [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Compiling toolchain_find v0.1.4 [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-integer v0.1.46 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling 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" "41a2eb827e2fb2054fe3b223f0079d675c3c1772f5639bcd24c2997b9cd827bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a2eb827e2fb2054fe3b223f0079d675c3c1772f5639bcd24c2997b9cd827bc", kill_on_drop: false }` [INFO] [stdout] 41a2eb827e2fb2054fe3b223f0079d675c3c1772f5639bcd24c2997b9cd827bc