[INFO] fetching crate bitcoin-cash-base 1.0.0-beta.0... [INFO] testing bitcoin-cash-base-1.0.0-beta.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate bitcoin-cash-base 1.0.0-beta.0 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bitcoin-cash-base 1.0.0-beta.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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 95 packages to latest compatible versions [INFO] [stderr] Adding hex-literal v0.3.4 (available: v1.1.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.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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 strum_macros v0.20.1 [INFO] [stderr] Downloaded sha-1 v0.9.8 [INFO] [stderr] Downloaded bitcoin-cash-script-macro v0.2.0 [INFO] [stderr] Downloaded bimap v0.5.3 [INFO] [stderr] Downloaded bitcoin-cash-base v0.2.0 [INFO] [stderr] Downloaded strum v0.20.0 [INFO] [stderr] Downloaded bitcoin-cash v0.2.3 [INFO] [stderr] Downloaded hex-literal v0.3.4 [INFO] [stderr] Downloaded base64 v0.12.3 [INFO] [stderr] Downloaded toolchain_find v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0379d4106400e3c1239f0ab9579805ae07d7a68d85aa2044ed13a149075da025 [INFO] running `Command { std: "docker" "start" "-a" "0379d4106400e3c1239f0ab9579805ae07d7a68d85aa2044ed13a149075da025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0379d4106400e3c1239f0ab9579805ae07d7a68d85aa2044ed13a149075da025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0379d4106400e3c1239f0ab9579805ae07d7a68d85aa2044ed13a149075da025", kill_on_drop: false }` [INFO] [stdout] 0379d4106400e3c1239f0ab9579805ae07d7a68d85aa2044ed13a149075da025 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28ddcd8a2fa182c45e50835a50cfd023ae8b700a1e4ea51ec9d6fd3a1781d8f3 [INFO] running `Command { std: "docker" "start" "-a" "28ddcd8a2fa182c45e50835a50cfd023ae8b700a1e4ea51ec9d6fd3a1781d8f3", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.71s [INFO] running `Command { std: "docker" "inspect" "28ddcd8a2fa182c45e50835a50cfd023ae8b700a1e4ea51ec9d6fd3a1781d8f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28ddcd8a2fa182c45e50835a50cfd023ae8b700a1e4ea51ec9d6fd3a1781d8f3", kill_on_drop: false }` [INFO] [stdout] 28ddcd8a2fa182c45e50835a50cfd023ae8b700a1e4ea51ec9d6fd3a1781d8f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df01197fc72cb4a30efa226cd5ad1041c95d3faaff7d88474e07b5b6fb2adeb7 [INFO] running `Command { std: "docker" "start" "-a" "df01197fc72cb4a30efa226cd5ad1041c95d3faaff7d88474e07b5b6fb2adeb7", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bitcoin-cash-base v0.2.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling bimap v0.5.3 [INFO] [stderr] Compiling base64 v0.12.3 [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 digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling toolchain_find v0.1.4 [INFO] [stderr] Compiling bitcoin-cash-script-macro v0.2.0 [INFO] [stderr] Compiling 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" "df01197fc72cb4a30efa226cd5ad1041c95d3faaff7d88474e07b5b6fb2adeb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df01197fc72cb4a30efa226cd5ad1041c95d3faaff7d88474e07b5b6fb2adeb7", kill_on_drop: false }` [INFO] [stdout] df01197fc72cb4a30efa226cd5ad1041c95d3faaff7d88474e07b5b6fb2adeb7