[INFO] fetching crate sapio-contrib 0.2.4... [INFO] testing sapio-contrib-0.2.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate sapio-contrib 0.2.4 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate sapio-contrib 0.2.4 [INFO] finished tweaking crates.io crate sapio-contrib 0.2.4 [INFO] tweaked toml for crates.io crate sapio-contrib 0.2.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sapio-contrib 0.2.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.1) [INFO] [stderr] Adding schemars v0.8.22 (available: v1.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoin_hashes v0.10.0 [INFO] [stderr] Downloaded sapio-ctv-emulator-trait v0.2.4 [INFO] [stderr] Downloaded sapio_macros v0.2.4 [INFO] [stderr] Downloaded sapio-base v0.2.4 [INFO] [stderr] Downloaded bech32 v0.8.1 [INFO] [stderr] Downloaded sapio v0.2.4 [INFO] [stderr] Downloaded sapio-secp256k1 v0.28.1 [INFO] [stderr] Downloaded sapio-miniscript v7.0.1 [INFO] [stderr] Downloaded sapio-bitcoin v0.28.2 [INFO] [stderr] Downloaded sapio-secp256k1-sys v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73dae7eb44be4002ad255620f95c8abf7b66379ce937952121f3f3d8790b57aa [INFO] running `Command { std: "docker" "start" "-a" "73dae7eb44be4002ad255620f95c8abf7b66379ce937952121f3f3d8790b57aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73dae7eb44be4002ad255620f95c8abf7b66379ce937952121f3f3d8790b57aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73dae7eb44be4002ad255620f95c8abf7b66379ce937952121f3f3d8790b57aa", kill_on_drop: false }` [INFO] [stdout] 73dae7eb44be4002ad255620f95c8abf7b66379ce937952121f3f3d8790b57aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6d68a304385704fc5db9a20b1b0062754092e8332898feb2fc807a32d8b64906 [INFO] running `Command { std: "docker" "start" "-a" "6d68a304385704fc5db9a20b1b0062754092e8332898feb2fc807a32d8b64906", kill_on_drop: false }` [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling bech32 v0.8.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling sapio-secp256k1-sys v0.9.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling sapio_macros v0.2.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bitcoin_hashes v0.10.0 [INFO] [stderr] Compiling sapio-secp256k1 v0.28.1 [INFO] [stderr] Compiling sapio-bitcoin v0.28.2 [INFO] [stderr] Compiling sapio-miniscript v7.0.1 [INFO] [stderr] Compiling sapio-base v0.2.4 [INFO] [stderr] Compiling sapio-ctv-emulator-trait v0.2.4 [INFO] [stderr] Compiling sapio v0.2.4 [INFO] [stderr] Compiling sapio-contrib v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/basic_examples.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/basic_examples.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | declare! {non updatable } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/basic_examples.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/derivatives/dlc.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/derivatives/exploding.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | declare!(non updatable); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/derivatives/exploding.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | declare!(non updatable); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/dynamic.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/federated_sidechain.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/hanukkah.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/hanukkah.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/hanukkah.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/hodl_chicken.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/readme_contracts.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/readme_contracts.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/readme_contracts.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/readme_contracts.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/staked_signer.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/tic_tac_toe.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/treepay.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/undo_send.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/vault.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `revoke` and `split` are never read [INFO] [stdout] --> src/contracts/channel.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Update { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 88 | /// hash to revoke [INFO] [stdout] 89 | revoke: bitcoin::hashes::sha256::Hash, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 90 | /// the balances of the channel [INFO] [stdout] 91 | split: (CoinAmount, CoinAmount), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Update` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockDB` is never constructed [INFO] [stdout] --> src/contracts/channel.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | struct MockDB {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_db` is never used [INFO] [stdout] --> src/contracts/channel.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn register_db(s: String, f: fn(&str) -> Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/contracts/derivatives/dlc.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | struct Event(String); [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasicOracle` is never constructed [INFO] [stdout] --> src/contracts/derivatives/dlc.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct BasicOracle { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LinearPositive`, `GeometricPositive`, and `Sigmoid` are never constructed [INFO] [stdout] --> src/contracts/derivatives/dlc.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | enum SplitFunctions { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 142 | LinearPositive(Intercept), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 143 | /// A Geometric starting at the intercept parameter to 1.0 [INFO] [stdout] 144 | GeometricPositive(Intercept), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | Sigmoid(Offset), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SplitFunctions` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `candles_left` is never used [INFO] [stdout] --> src/contracts/hanukkah.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn candles_left(s: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/contracts/dynamic.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_inner_ref<'a>(&'a self) -> &Self { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 42 | fn get_inner_ref<'a>(&'a self) -> &'a Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.28s [INFO] running `Command { std: "docker" "inspect" "6d68a304385704fc5db9a20b1b0062754092e8332898feb2fc807a32d8b64906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d68a304385704fc5db9a20b1b0062754092e8332898feb2fc807a32d8b64906", kill_on_drop: false }` [INFO] [stdout] 6d68a304385704fc5db9a20b1b0062754092e8332898feb2fc807a32d8b64906 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 52ee1fca8e328c4e1972afa0ff442ca2de5a57158aa0469b2daeca8abe02177b [INFO] running `Command { std: "docker" "start" "-a" "52ee1fca8e328c4e1972afa0ff442ca2de5a57158aa0469b2daeca8abe02177b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/basic_examples.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/basic_examples.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | declare! {non updatable } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/basic_examples.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/derivatives/dlc.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/derivatives/exploding.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | declare!(non updatable); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/derivatives/exploding.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | declare!(non updatable); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/dynamic.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/federated_sidechain.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/hanukkah.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/hanukkah.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/hanukkah.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/hodl_chicken.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/readme_contracts.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/readme_contracts.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/readme_contracts.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/readme_contracts.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/staked_signer.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/tic_tac_toe.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/treepay.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/undo_send.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/vault.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `revoke` and `split` are never read [INFO] [stdout] --> src/contracts/channel.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Update { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 88 | /// hash to revoke [INFO] [stdout] 89 | revoke: bitcoin::hashes::sha256::Hash, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 90 | /// the balances of the channel [INFO] [stdout] 91 | split: (CoinAmount, CoinAmount), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Update` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockDB` is never constructed [INFO] [stdout] --> src/contracts/channel.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | struct MockDB {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_db` is never used [INFO] [stdout] --> src/contracts/channel.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn register_db(s: String, f: fn(&str) -> Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/contracts/derivatives/dlc.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | struct Event(String); [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasicOracle` is never constructed [INFO] [stdout] --> src/contracts/derivatives/dlc.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct BasicOracle { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LinearPositive`, `GeometricPositive`, and `Sigmoid` are never constructed [INFO] [stdout] --> src/contracts/derivatives/dlc.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | enum SplitFunctions { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 142 | LinearPositive(Intercept), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 143 | /// A Geometric starting at the intercept parameter to 1.0 [INFO] [stdout] 144 | GeometricPositive(Intercept), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | Sigmoid(Offset), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SplitFunctions` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `candles_left` is never used [INFO] [stdout] --> src/contracts/hanukkah.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn candles_left(s: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/contracts/dynamic.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_inner_ref<'a>(&'a self) -> &Self { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 42 | fn get_inner_ref<'a>(&'a self) -> &'a Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling sapio-contrib v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/basic_examples.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/basic_examples.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | declare! {non updatable } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/basic_examples.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/derivatives/dlc.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/derivatives/exploding.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | declare!(non updatable); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/derivatives/exploding.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | declare!(non updatable); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/dynamic.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/federated_sidechain.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/hanukkah.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/hanukkah.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/hanukkah.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/hodl_chicken.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/readme_contracts.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/readme_contracts.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/readme_contracts.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/readme_contracts.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/staked_signer.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/tic_tac_toe.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/treepay.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/undo_send.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/contracts/vault.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | declare! {non updatable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `declare` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `declare` may come from an old version of the `sapio` crate, try updating your dependency with `cargo update -p sapio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_keypair` found for struct `sapio_bitcoin::sapio_secp256k1::Secp256k1` in the current scope [INFO] [stdout] --> src/contracts/channel.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | .map(|_| full.generate_keypair(&mut rng).1.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `sapio_bitcoin::sapio_secp256k1::Secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_keypair` found for struct `sapio_bitcoin::sapio_secp256k1::Secp256k1` in the current scope [INFO] [stdout] --> src/contracts/derivatives/dlc.rs:232:29 [INFO] [stdout] | [INFO] [stdout] 232 | let (_, pk1) = secp.generate_keypair(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `sapio_bitcoin::sapio_secp256k1::Secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_keypair` found for struct `sapio_bitcoin::sapio_secp256k1::Secp256k1` in the current scope [INFO] [stdout] --> src/contracts/derivatives/dlc.rs:233:29 [INFO] [stdout] | [INFO] [stdout] 233 | let (_, pk2) = secp.generate_keypair(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `sapio_bitcoin::sapio_secp256k1::Secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_keypair` found for struct `sapio_bitcoin::sapio_secp256k1::Secp256k1` in the current scope [INFO] [stdout] --> src/contracts/derivatives/dlc.rs:238:30 [INFO] [stdout] | [INFO] [stdout] 238 | let (_, pk_a) = secp.generate_keypair(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `sapio_bitcoin::sapio_secp256k1::Secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_keypair` found for struct `sapio_bitcoin::sapio_secp256k1::Secp256k1` in the current scope [INFO] [stdout] --> src/contracts/derivatives/dlc.rs:239:30 [INFO] [stdout] | [INFO] [stdout] 239 | let (_, pk_b) = secp.generate_keypair(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `sapio_bitcoin::sapio_secp256k1::Secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sapio-contrib` (lib test) due to 5 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "52ee1fca8e328c4e1972afa0ff442ca2de5a57158aa0469b2daeca8abe02177b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52ee1fca8e328c4e1972afa0ff442ca2de5a57158aa0469b2daeca8abe02177b", kill_on_drop: false }` [INFO] [stdout] 52ee1fca8e328c4e1972afa0ff442ca2de5a57158aa0469b2daeca8abe02177b