[INFO] fetching crate sapio-contrib 0.1.2... [INFO] testing sapio-contrib-0.1.2 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate sapio-contrib 0.1.2 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate sapio-contrib 0.1.2 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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] b189a113ac9033a9f0b63e3be06ccb39ad1f5e3b5a537df4d6c80087a3249784 [INFO] running `Command { std: "docker" "start" "-a" "b189a113ac9033a9f0b63e3be06ccb39ad1f5e3b5a537df4d6c80087a3249784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b189a113ac9033a9f0b63e3be06ccb39ad1f5e3b5a537df4d6c80087a3249784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b189a113ac9033a9f0b63e3be06ccb39ad1f5e3b5a537df4d6c80087a3249784", kill_on_drop: false }` [INFO] [stdout] b189a113ac9033a9f0b63e3be06ccb39ad1f5e3b5a537df4d6c80087a3249784 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17ddd641d8c6f6018f258d95d15850fcc9d704e2c7bbe8ea3367707989def778 [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" "17ddd641d8c6f6018f258d95d15850fcc9d704e2c7bbe8ea3367707989def778", 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.18s [INFO] running `Command { std: "docker" "inspect" "17ddd641d8c6f6018f258d95d15850fcc9d704e2c7bbe8ea3367707989def778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ddd641d8c6f6018f258d95d15850fcc9d704e2c7bbe8ea3367707989def778", kill_on_drop: false }` [INFO] [stdout] 17ddd641d8c6f6018f258d95d15850fcc9d704e2c7bbe8ea3367707989def778 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--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] 5bf8caa180fd436ae4ea3a52a6b3f485d8ccbb253c67b7d692945ec18a53d035 [INFO] running `Command { std: "docker" "start" "-a" "5bf8caa180fd436ae4ea3a52a6b3f485d8ccbb253c67b7d692945ec18a53d035", kill_on_drop: false }` [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] [stderr] Compiling sapio-contrib v0.1.2 (/opt/rustwide/workdir) [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 5.43s [INFO] running `Command { std: "docker" "inspect" "5bf8caa180fd436ae4ea3a52a6b3f485d8ccbb253c67b7d692945ec18a53d035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bf8caa180fd436ae4ea3a52a6b3f485d8ccbb253c67b7d692945ec18a53d035", kill_on_drop: false }` [INFO] [stdout] 5bf8caa180fd436ae4ea3a52a6b3f485d8ccbb253c67b7d692945ec18a53d035 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 09359fb621fac1ee170728c6fdd98948ade2559ffeb05cc3a93deec89944f3e6 [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" "09359fb621fac1ee170728c6fdd98948ade2559ffeb05cc3a93deec89944f3e6", 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: 34 warnings emitted [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: 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: 33 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sapio_contrib-edc50f390ab99d26) [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::it_works ... ok [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.11s [INFO] [stdout] [INFO] [stderr] Doc-tests sapio-contrib [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" "09359fb621fac1ee170728c6fdd98948ade2559ffeb05cc3a93deec89944f3e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09359fb621fac1ee170728c6fdd98948ade2559ffeb05cc3a93deec89944f3e6", kill_on_drop: false }` [INFO] [stdout] 09359fb621fac1ee170728c6fdd98948ade2559ffeb05cc3a93deec89944f3e6