[INFO] cloning repository https://github.com/adyshimony/miniscript-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adyshimony/miniscript-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadyshimony%2Fminiscript-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadyshimony%2Fminiscript-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 299ed40a2b9c8edb26b5412f773b96efb3e78c19 [INFO] checking adyshimony/miniscript-compiler against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadyshimony%2Fminiscript-compiler" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/adyshimony/miniscript-compiler [INFO] finished tweaking git repo https://github.com/adyshimony/miniscript-compiler [INFO] tweaked toml for git repo https://github.com/adyshimony/miniscript-compiler written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/adyshimony/miniscript-compiler on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/adyshimony/miniscript-compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2f1ee521ad1b49b86bb1644af1843eaf4e09d058669c6f89fea6a7c9b905190 [INFO] running `Command { std: "docker" "start" "-a" "a2f1ee521ad1b49b86bb1644af1843eaf4e09d058669c6f89fea6a7c9b905190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2f1ee521ad1b49b86bb1644af1843eaf4e09d058669c6f89fea6a7c9b905190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2f1ee521ad1b49b86bb1644af1843eaf4e09d058669c6f89fea6a7c9b905190", kill_on_drop: false }` [INFO] [stdout] a2f1ee521ad1b49b86bb1644af1843eaf4e09d058669c6f89fea6a7c9b905190 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c6e954f0559d71921513a10cc8960c13383d9bce5a096d41426851d17d3f03c [INFO] running `Command { std: "docker" "start" "-a" "6c6e954f0559d71921513a10cc8960c13383d9bce5a096d41426851d17d3f03c", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking miniscript v12.3.5 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking serde-wasm-bindgen v0.4.5 [INFO] [stderr] Checking miniscript-wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/taproot/branches.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/taproot/branches.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug_str` [INFO] [stdout] --> src/compile/miniscript.rs:351:21 [INFO] [stdout] | [INFO] [stdout] 351 | let debug_str = format!("{:#?}", ms); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debug_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug_str` [INFO] [stdout] --> src/compile/miniscript.rs:351:21 [INFO] [stdout] | [INFO] [stdout] 351 | let debug_str = format!("{:#?}", ms); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debug_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verbose` [INFO] [stdout] --> src/compile/modes.rs:201:88 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn compile_taproot_single_leaf(expression: &str, nums_key: &str, network: Network, verbose: bool) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verbose` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verbose` [INFO] [stdout] --> src/compile/modes.rs:201:88 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn compile_taproot_single_leaf(expression: &str, nums_key: &str, network: Network, verbose: bool) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verbose` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_taproot_with_mode_network` is never used [INFO] [stdout] --> src/compile/engine.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn compile_taproot_with_mode_network( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compile/policy.rs:495:31 [INFO] [stdout] | [INFO] [stdout] 495 | .and_then(|w| w.to_wu().try_into().ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_taproot_with_mode_network` is never used [INFO] [stdout] --> src/compile/engine.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn compile_taproot_with_mode_network( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `miniscript-wasm` (lib) due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compile/policy.rs:495:31 [INFO] [stdout] | [INFO] [stdout] 495 | .and_then(|w| w.to_wu().try_into().ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `miniscript-wasm` (lib test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6c6e954f0559d71921513a10cc8960c13383d9bce5a096d41426851d17d3f03c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c6e954f0559d71921513a10cc8960c13383d9bce5a096d41426851d17d3f03c", kill_on_drop: false }` [INFO] [stdout] 6c6e954f0559d71921513a10cc8960c13383d9bce5a096d41426851d17d3f03c