[INFO] cloning repository https://github.com/BlockchainCommons/musig-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BlockchainCommons/musig-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlockchainCommons%2Fmusig-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlockchainCommons%2Fmusig-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21469ff1953c30c417fa1f6c8d26cc004bb71f0e [INFO] checking BlockchainCommons/musig-cli 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%2FBlockchainCommons%2Fmusig-cli" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/BlockchainCommons/musig-cli [INFO] finished tweaking git repo https://github.com/BlockchainCommons/musig-cli [INFO] tweaked toml for git repo https://github.com/BlockchainCommons/musig-cli written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BlockchainCommons/musig-cli 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/BlockchainCommons/musig-cli 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c90995ad9f3f8344defd23659e47f5a0c26a1843fa3cb6c425ab6d68abcd9108 [INFO] running `Command { std: "docker" "start" "-a" "c90995ad9f3f8344defd23659e47f5a0c26a1843fa3cb6c425ab6d68abcd9108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c90995ad9f3f8344defd23659e47f5a0c26a1843fa3cb6c425ab6d68abcd9108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c90995ad9f3f8344defd23659e47f5a0c26a1843fa3cb6c425ab6d68abcd9108", kill_on_drop: false }` [INFO] [stdout] c90995ad9f3f8344defd23659e47f5a0c26a1843fa3cb6c425ab6d68abcd9108 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8c0487dead10c24197e9a7b122e5d023f33cb03425afa44bb78e11005ffa5fde [INFO] running `Command { std: "docker" "start" "-a" "8c0487dead10c24197e9a7b122e5d023f33cb03425afa44bb78e11005ffa5fde", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling secp256k1-sys v0.4.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking bitcoin_hashes v0.9.4 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking base64-compat v1.0.0 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking bech32 v0.7.3 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking predicates-tree v1.0.2 [INFO] [stderr] Checking predicates v1.0.7 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking secp256k1 v0.20.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking bitcoin v0.26.0 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking musign-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking assert_cmd v0.10.2 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | let mut out = &mut obj[0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seckey_file` is never read [INFO] [stdout] --> src/main.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct CmdSign { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 263 | seckey_file: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmdSign` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `message` are never read [INFO] [stdout] --> src/errors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MusignError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MusignError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | / /// List of public keys to participate in a multisig in hex format. [INFO] [stdout] 230 | | /// Alternatively, the keys can be piped via STDIN [INFO] [stdout] 231 | | #[clap(short)] [INFO] [stdout] 232 | | pubkeys: Option>, [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | / /// Message to sign. [INFO] [stdout] 239 | | #[clap(required = true)] [INFO] [stdout] 240 | | msg: String, [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | / /// Private key in hex to sign the multisig object. [INFO] [stdout] 253 | | /// Alternatively, the key can be provided via STDIN [INFO] [stdout] 254 | | #[clap(short)] [INFO] [stdout] 255 | | secret: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | / /// Private key in hex. [INFO] [stdout] 265 | | /// Alternatively, the key can be piped via STDIN [INFO] [stdout] 266 | | #[clap(short)] [INFO] [stdout] 267 | | secret: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | / /// Message to sign. [INFO] [stdout] 269 | | #[clap(required = true)] [INFO] [stdout] 270 | | msg: String, [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | / /// Output format [INFO] [stdout] 275 | | #[clap(short='r', default_value = "json", possible_values=&["json", "cbor"])] [INFO] [stdout] 276 | | format: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | / /// Signature in hex [INFO] [stdout] 284 | | #[clap(required = true)] [INFO] [stdout] 285 | | signature: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | / /// Message string [INFO] [stdout] 287 | | #[clap(required = true)] [INFO] [stdout] 288 | | message: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | / /// Public key in hex. [INFO] [stdout] 290 | | /// Alternatively, the key can be provided via STDIN [INFO] [stdout] 291 | | #[clap(short = 'p')] [INFO] [stdout] 292 | | pubkey: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | / /// BTC p2pkh address [INFO] [stdout] 296 | | #[clap(short = 'a')] [INFO] [stdout] 297 | | address: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | / /// Secret (also known as seed, private key or secret key) in hex. [INFO] [stdout] 308 | | /// Alternatively, the key can be provided via STDIN [INFO] [stdout] 309 | | secret: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `musign-cli` (bin "musign") due to 11 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | let mut out = &mut obj[0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `musign-cli` (bin "musign" test) due to 11 previous errors; 3 warnings emitted [INFO] [stdout] warning: field `seckey_file` is never read [INFO] [stdout] --> src/main.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct CmdSign { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 263 | seckey_file: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmdSign` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `message` are never read [INFO] [stdout] --> src/errors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MusignError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MusignError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | / /// List of public keys to participate in a multisig in hex format. [INFO] [stdout] 230 | | /// Alternatively, the keys can be piped via STDIN [INFO] [stdout] 231 | | #[clap(short)] [INFO] [stdout] 232 | | pubkeys: Option>, [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | / /// Message to sign. [INFO] [stdout] 239 | | #[clap(required = true)] [INFO] [stdout] 240 | | msg: String, [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | / /// Private key in hex to sign the multisig object. [INFO] [stdout] 253 | | /// Alternatively, the key can be provided via STDIN [INFO] [stdout] 254 | | #[clap(short)] [INFO] [stdout] 255 | | secret: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | / /// Private key in hex. [INFO] [stdout] 265 | | /// Alternatively, the key can be piped via STDIN [INFO] [stdout] 266 | | #[clap(short)] [INFO] [stdout] 267 | | secret: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | / /// Message to sign. [INFO] [stdout] 269 | | #[clap(required = true)] [INFO] [stdout] 270 | | msg: String, [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | / /// Output format [INFO] [stdout] 275 | | #[clap(short='r', default_value = "json", possible_values=&["json", "cbor"])] [INFO] [stdout] 276 | | format: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | / /// Signature in hex [INFO] [stdout] 284 | | #[clap(required = true)] [INFO] [stdout] 285 | | signature: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | / /// Message string [INFO] [stdout] 287 | | #[clap(required = true)] [INFO] [stdout] 288 | | message: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | / /// Public key in hex. [INFO] [stdout] 290 | | /// Alternatively, the key can be provided via STDIN [INFO] [stdout] 291 | | #[clap(short = 'p')] [INFO] [stdout] 292 | | pubkey: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | / /// BTC p2pkh address [INFO] [stdout] 296 | | #[clap(short = 'a')] [INFO] [stdout] 297 | | address: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | / /// Secret (also known as seed, private key or secret key) in hex. [INFO] [stdout] 308 | | /// Alternatively, the key can be provided via STDIN [INFO] [stdout] 309 | | secret: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8c0487dead10c24197e9a7b122e5d023f33cb03425afa44bb78e11005ffa5fde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c0487dead10c24197e9a7b122e5d023f33cb03425afa44bb78e11005ffa5fde", kill_on_drop: false }` [INFO] [stdout] 8c0487dead10c24197e9a7b122e5d023f33cb03425afa44bb78e11005ffa5fde