[INFO] fetching crate sapio-contrib 0.1.2... [INFO] checking sapio-contrib-0.1.2 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate sapio-contrib 0.1.2 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate sapio-contrib 0.1.2 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sapio-contrib 0.1.2 [INFO] finished tweaking crates.io crate sapio-contrib 0.1.2 [INFO] tweaked toml for crates.io crate sapio-contrib 0.1.2 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2fd4cdf83096dcf239d75f608b263c808cd05fa0308a518a4af8df7dd806d587 [INFO] running `Command { std: "docker" "start" "-a" "2fd4cdf83096dcf239d75f608b263c808cd05fa0308a518a4af8df7dd806d587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fd4cdf83096dcf239d75f608b263c808cd05fa0308a518a4af8df7dd806d587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd4cdf83096dcf239d75f608b263c808cd05fa0308a518a4af8df7dd806d587", kill_on_drop: false }` [INFO] [stdout] 2fd4cdf83096dcf239d75f608b263c808cd05fa0308a518a4af8df7dd806d587 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd1c9ae0a460dc82be6c837998a5afd25f36a62071879d0eb20e2a2296220d3e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bd1c9ae0a460dc82be6c837998a5afd25f36a62071879d0eb20e2a2296220d3e", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Checking bech32 v0.7.3 [INFO] [stderr] Compiling secp256k1-sys v0.4.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking bitcoin_hashes v0.9.7 [INFO] [stderr] Checking sapio-secp256k1 v0.20.1 [INFO] [stderr] Checking sapio-bitcoin v0.26.0 [INFO] [stderr] Checking sapio-miniscript v5.1.0 [INFO] [stderr] Checking sapio-base v0.1.0 [INFO] [stderr] Checking sapio-ctv-emulator-trait v0.1.2 [INFO] [stderr] Checking sapio v0.1.2 [INFO] [stderr] Checking sapio-contrib v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::rngs::OsRng` [INFO] [stdout] --> src/contracts/channel.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rand::rngs::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schema_for` [INFO] [stdout] --> src/contracts/channel.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | use schemars::{schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/contracts/basic_examples.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | guard!(timeout | s, ctx | { Clause::Older(100) }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/basic_examples.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | guard!(timeout | s, ctx | { Clause::Older(100) }); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/basic_examples.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | guard!(cached signed |s, ctx| {Clause::And(vec![Clause::Key(s.alice), Clause::Key(s.bob)])}); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/basic_examples.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | guard!(cached all_signed |s, ctx| {Clause::Threshold(T::get_n(s.threshold, s.participants.len()as u8) as usize, s.participants.iter()... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/contracts/channel.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | guard!(timeout | s, ctx | { Clause::Older(100) }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/channel.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | guard!(timeout | s, ctx | { Clause::Older(100) }); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/channel.rs:186:30 [INFO] [stdout] | [INFO] [stdout] 186 | guard!(cached signed |s, ctx| {Clause::And(vec![Clause::Key(s.alice), Clause::Key(s.bob)])}); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/contracts/channel.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | |s, ctx, o| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/channel.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | |s, ctx, o| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/contracts/channel.rs:190:22 [INFO] [stdout] | [INFO] [stdout] 190 | |s, ctx, o| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/contracts/channel.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | |s, ctx, o| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/channel.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | |s, ctx, o| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/contracts/channel.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 196 | |s, ctx, o| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/contracts/channel.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | |s, ctx, o| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/channel.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | |s, ctx, o| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/contracts/channel.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | |s, ctx, o| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/derivatives/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | ctx | { s.price(true) } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/derivatives/mod.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | ctx | { s.price(false) } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/derivatives/mod.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | ctx | { s.cooperate.clone() } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/contracts/basic_examples.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | guard!(timeout | s, ctx | { Clause::Older(100) }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/basic_examples.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | guard!(timeout | s, ctx | { Clause::Older(100) }); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/basic_examples.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | guard!(cached signed |s, ctx| {Clause::And(vec![Clause::Key(s.alice), Clause::Key(s.bob)])}); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/basic_examples.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | guard!(cached all_signed |s, ctx| {Clause::Threshold(T::get_n(s.threshold, s.participants.len()as u8) as usize, s.participants.iter()... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/derivatives/exploding.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | guard!(signed | s, ctx | { s.key_p2_pk.clone() }); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/contracts/dynamic.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | then! {next |s, ctx| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/federated_sidechain.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | guard! {finish_recovery |s, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/federated_sidechain.rs:78:33 [INFO] [stdout] | [INFO] [stdout] 78 | guard! {recovery_signed |s, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/federated_sidechain.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | guard! {normal_signed |s, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/hodl_chicken.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | guard! {alice_is_a_chicken |s, ctx| {Clause::Key(s.alice_key)}} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/hodl_chicken.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | guard! {bob_is_a_chicken |s, ctx| {Clause::Key(s.bob_key)}} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/readme_contracts.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | guard!(with_key | s, ctx | { Clause::Key(s.key) }); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/readme_contracts.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | ctx | { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/readme_contracts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | ctx | { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/readme_contracts.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | ctx | { Clause::And(vec![Clause::Key(s.alice), Clause::Key(s.bob)]) } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/readme_contracts.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | ctx | { Clause::And(vec![Clause::Key(s.alice), Clause::Key(s.bob)]) } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/contracts/channel.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | guard!(timeout | s, ctx | { Clause::Older(100) }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/channel.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | guard!(timeout | s, ctx | { Clause::Older(100) }); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/channel.rs:186:30 [INFO] [stdout] | [INFO] [stdout] 186 | guard!(cached signed |s, ctx| {Clause::And(vec![Clause::Key(s.alice), Clause::Key(s.bob)])}); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/contracts/channel.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | |s, ctx, o| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/channel.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | |s, ctx, o| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/contracts/channel.rs:190:22 [INFO] [stdout] | [INFO] [stdout] 190 | |s, ctx, o| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/contracts/channel.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | |s, ctx, o| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/channel.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | |s, ctx, o| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/contracts/channel.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 196 | |s, ctx, o| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/contracts/channel.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | |s, ctx, o| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/channel.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | |s, ctx, o| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/contracts/channel.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | |s, ctx, o| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/derivatives/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | ctx | { s.price(true) } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/derivatives/mod.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | ctx | { s.price(false) } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/derivatives/mod.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | ctx | { s.cooperate.clone() } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/derivatives/exploding.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | guard!(signed | s, ctx | { s.key_p2_pk.clone() }); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/contracts/dynamic.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | then! {next |s, ctx| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/federated_sidechain.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | guard! {finish_recovery |s, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/federated_sidechain.rs:78:33 [INFO] [stdout] | [INFO] [stdout] 78 | guard! {recovery_signed |s, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/federated_sidechain.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | guard! {normal_signed |s, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/hodl_chicken.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | guard! {alice_is_a_chicken |s, ctx| {Clause::Key(s.alice_key)}} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/hodl_chicken.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | guard! {bob_is_a_chicken |s, ctx| {Clause::Key(s.bob_key)}} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/readme_contracts.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | guard!(with_key | s, ctx | { Clause::Key(s.key) }); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/readme_contracts.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | ctx | { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/readme_contracts.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | ctx | { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/readme_contracts.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | ctx | { Clause::And(vec![Clause::Key(s.alice), Clause::Key(s.bob)]) } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/contracts/readme_contracts.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | ctx | { Clause::And(vec![Clause::Key(s.alice), Clause::Key(s.bob)]) } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `register_db` [INFO] [stdout] --> src/contracts/channel.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn register_db(s: String, f: fn(&str) -> Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contracts/channel.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | Compilable::compile(&x, &mut ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contracts/channel.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Compilable::compile(&y, &mut ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "bd1c9ae0a460dc82be6c837998a5afd25f36a62071879d0eb20e2a2296220d3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd1c9ae0a460dc82be6c837998a5afd25f36a62071879d0eb20e2a2296220d3e", kill_on_drop: false }` [INFO] [stdout] bd1c9ae0a460dc82be6c837998a5afd25f36a62071879d0eb20e2a2296220d3e