[INFO] fetching crate sapio-contrib 0.1.2... [INFO] checking sapio-contrib-0.1.2 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate sapio-contrib 0.1.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sapio-contrib 0.1.2 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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] 8cea82b33ed68d5ff5258bde5ec6f7e92183942c14c750e3eaa442731e7511e2 [INFO] running `Command { std: "docker" "start" "-a" "8cea82b33ed68d5ff5258bde5ec6f7e92183942c14c750e3eaa442731e7511e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cea82b33ed68d5ff5258bde5ec6f7e92183942c14c750e3eaa442731e7511e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cea82b33ed68d5ff5258bde5ec6f7e92183942c14c750e3eaa442731e7511e2", kill_on_drop: false }` [INFO] [stdout] 8cea82b33ed68d5ff5258bde5ec6f7e92183942c14c750e3eaa442731e7511e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] feadfa92dde2224ec0a8d8f5a5a216fb7ba4aff087b2b65ba68bf870bec4451d [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" "feadfa92dde2224ec0a8d8f5a5a216fb7ba4aff087b2b65ba68bf870bec4451d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling secp256k1-sys v0.4.0 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Checking bitcoin_hashes v0.9.4 [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: `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/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: `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 57.07s [INFO] running `Command { std: "docker" "inspect" "feadfa92dde2224ec0a8d8f5a5a216fb7ba4aff087b2b65ba68bf870bec4451d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feadfa92dde2224ec0a8d8f5a5a216fb7ba4aff087b2b65ba68bf870bec4451d", kill_on_drop: false }` [INFO] [stdout] feadfa92dde2224ec0a8d8f5a5a216fb7ba4aff087b2b65ba68bf870bec4451d