[INFO] fetching crate sapio-contrib 0.1.2... [INFO] testing sapio-contrib-0.1.2 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate sapio-contrib 0.1.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate sapio-contrib 0.1.2 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] feb45d81cbb4b5fe3f338775850f0f142bf42909848d556e572f800beb697c5b [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" "feb45d81cbb4b5fe3f338775850f0f142bf42909848d556e572f800beb697c5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "feb45d81cbb4b5fe3f338775850f0f142bf42909848d556e572f800beb697c5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb45d81cbb4b5fe3f338775850f0f142bf42909848d556e572f800beb697c5b", kill_on_drop: false }` [INFO] [stdout] feb45d81cbb4b5fe3f338775850f0f142bf42909848d556e572f800beb697c5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", 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] 0803b1bec4f1c3f28cb574752fcd1ac5c17d3715415c52a75d695f27c04109c2 [INFO] running `Command { std: "docker" "start" "-a" "0803b1bec4f1c3f28cb574752fcd1ac5c17d3715415c52a75d695f27c04109c2", kill_on_drop: false }` [INFO] [stderr] Compiling bech32 v0.7.3 [INFO] [stderr] Compiling secp256k1-sys v0.4.1 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling sapio-secp256k1 v0.20.1 [INFO] [stderr] Compiling bitcoin_hashes v0.9.7 [INFO] [stderr] Compiling sapio-bitcoin v0.26.0 [INFO] [stderr] Compiling sapio-miniscript v5.1.0 [INFO] [stderr] Compiling sapio-base v0.1.0 [INFO] [stderr] Compiling sapio-ctv-emulator-trait v0.1.2 [INFO] [stderr] Compiling sapio v0.1.2 [INFO] [stderr] Compiling 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: 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: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.61s [INFO] running `Command { std: "docker" "inspect" "0803b1bec4f1c3f28cb574752fcd1ac5c17d3715415c52a75d695f27c04109c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0803b1bec4f1c3f28cb574752fcd1ac5c17d3715415c52a75d695f27c04109c2", kill_on_drop: false }` [INFO] [stdout] 0803b1bec4f1c3f28cb574752fcd1ac5c17d3715415c52a75d695f27c04109c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dec3726b3e23050bfd76baf8a951af850f14b84ce3b5a3cab80b3607759e179 [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" "4dec3726b3e23050bfd76baf8a951af850f14b84ce3b5a3cab80b3607759e179", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: 34 warnings emitted [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 `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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.03s [INFO] running `Command { std: "docker" "inspect" "4dec3726b3e23050bfd76baf8a951af850f14b84ce3b5a3cab80b3607759e179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dec3726b3e23050bfd76baf8a951af850f14b84ce3b5a3cab80b3607759e179", kill_on_drop: false }` [INFO] [stdout] 4dec3726b3e23050bfd76baf8a951af850f14b84ce3b5a3cab80b3607759e179 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", 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] bcb1a3c0fab029d5b99a1b79cb7395283988b2c41cc6672e76ec8f7c204b4aba [INFO] running `Command { std: "docker" "start" "-a" "bcb1a3c0fab029d5b99a1b79cb7395283988b2c41cc6672e76ec8f7c204b4aba", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `rand::rngs::OsRng` [INFO] [stderr] --> src/contracts/channel.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use rand::rngs::OsRng; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `schema_for` [INFO] [stderr] --> src/contracts/channel.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | use schemars::{schema_for, JsonSchema}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/contracts/basic_examples.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | guard!(timeout | s, ctx | { Clause::Older(100) }); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/basic_examples.rs:20:25 [INFO] [stderr] | [INFO] [stderr] 20 | guard!(timeout | s, ctx | { Clause::Older(100) }); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/basic_examples.rs:21:30 [INFO] [stderr] | [INFO] [stderr] 21 | guard!(cached signed |s, ctx| {Clause::And(vec![Clause::Key(s.alice), Clause::Key(s.bob)])}); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/basic_examples.rs:62:34 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/contracts/channel.rs:185:22 [INFO] [stderr] | [INFO] [stderr] 185 | guard!(timeout | s, ctx | { Clause::Older(100) }); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/channel.rs:185:25 [INFO] [stderr] | [INFO] [stderr] 185 | guard!(timeout | s, ctx | { Clause::Older(100) }); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/channel.rs:186:30 [INFO] [stderr] | [INFO] [stderr] 186 | guard!(cached signed |s, ctx| {Clause::And(vec![Clause::Key(s.alice), Clause::Key(s.bob)])}); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/contracts/channel.rs:190:14 [INFO] [stderr] | [INFO] [stderr] 190 | |s, ctx, o| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/channel.rs:190:17 [INFO] [stderr] | [INFO] [stderr] 190 | |s, ctx, o| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `o` [INFO] [stderr] --> src/contracts/channel.rs:190:22 [INFO] [stderr] | [INFO] [stderr] 190 | |s, ctx, o| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/contracts/channel.rs:196:14 [INFO] [stderr] | [INFO] [stderr] 196 | |s, ctx, o| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/channel.rs:196:17 [INFO] [stderr] | [INFO] [stderr] 196 | |s, ctx, o| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `o` [INFO] [stderr] --> src/contracts/channel.rs:196:22 [INFO] [stderr] | [INFO] [stderr] 196 | |s, ctx, o| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/contracts/channel.rs:203:14 [INFO] [stderr] | [INFO] [stderr] 203 | |s, ctx, o| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/channel.rs:203:17 [INFO] [stderr] | [INFO] [stderr] 203 | |s, ctx, o| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `o` [INFO] [stderr] --> src/contracts/channel.rs:203:22 [INFO] [stderr] | [INFO] [stderr] 203 | |s, ctx, o| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/derivatives/mod.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 103 | ctx | { s.price(true) } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/derivatives/mod.rs:119:9 [INFO] [stderr] | [INFO] [stderr] 119 | ctx | { s.price(false) } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/derivatives/mod.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | ctx | { s.cooperate.clone() } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/derivatives/exploding.rs:51:24 [INFO] [stderr] | [INFO] [stderr] 51 | guard!(signed | s, ctx | { s.key_p2_pk.clone() }); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/contracts/dynamic.rs:46:18 [INFO] [stderr] | [INFO] [stderr] 46 | then! {next |s, ctx| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/federated_sidechain.rs:72:33 [INFO] [stderr] | [INFO] [stderr] 72 | guard! {finish_recovery |s, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/federated_sidechain.rs:78:33 [INFO] [stderr] | [INFO] [stderr] 78 | guard! {recovery_signed |s, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/federated_sidechain.rs:82:31 [INFO] [stderr] | [INFO] [stderr] 82 | guard! {normal_signed |s, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/hodl_chicken.rs:85:36 [INFO] [stderr] | [INFO] [stderr] 85 | guard! {alice_is_a_chicken |s, ctx| {Clause::Key(s.alice_key)}} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/hodl_chicken.rs:86:34 [INFO] [stderr] | [INFO] [stderr] 86 | guard! {bob_is_a_chicken |s, ctx| {Clause::Key(s.bob_key)}} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/readme_contracts.rs:25:26 [INFO] [stderr] | [INFO] [stderr] 25 | guard!(with_key | s, ctx | { Clause::Key(s.key) }); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/readme_contracts.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | ctx | { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/readme_contracts.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | ctx | { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/readme_contracts.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | ctx | { Clause::And(vec![Clause::Key(s.alice), Clause::Key(s.bob)]) } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/contracts/readme_contracts.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | ctx | { Clause::And(vec![Clause::Key(s.alice), Clause::Key(s.bob)]) } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `register_db` [INFO] [stderr] --> src/contracts/channel.rs:133:12 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn register_db(s: String, f: fn(&str) -> Arc>) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/contracts/channel.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | Compilable::compile(&x, &mut ctx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/contracts/channel.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | Compilable::compile(&y, &mut ctx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `sapio-contrib` (lib) generated 34 warnings [INFO] [stderr] warning: `sapio-contrib` (lib test) generated 33 warnings (31 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::it_works ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sapio_contrib-ce1468c468d40e16) [INFO] [stderr] Doc-tests sapio-contrib [INFO] [stdout] test contracts::channel::tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bcb1a3c0fab029d5b99a1b79cb7395283988b2c41cc6672e76ec8f7c204b4aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcb1a3c0fab029d5b99a1b79cb7395283988b2c41cc6672e76ec8f7c204b4aba", kill_on_drop: false }` [INFO] [stdout] bcb1a3c0fab029d5b99a1b79cb7395283988b2c41cc6672e76ec8f7c204b4aba