[INFO] cloning repository https://github.com/davemo88/tg
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davemo88/tg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavemo88%2Ftg", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavemo88%2Ftg'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cb511f2cac34711bcd1de71d44ba5a800eeb0ef9
[INFO] checking davemo88/tg against beta-2021-10-15 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavemo88%2Ftg" "/workspace/builds/worker-14/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/davemo88/tg on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/davemo88/tg
[INFO] finished tweaking git repo https://github.com/davemo88/tg
[INFO] tweaked toml for git repo https://github.com/davemo88/tg written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] crate git repo https://github.com/davemo88/tg already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/davemo88/bdk`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rust-embed-impl v5.9.0
[INFO] [stderr]   Downloaded salsa20 v0.8.0
[INFO] [stderr]   Downloaded unicode-normalization v0.1.9
[INFO] [stderr]   Downloaded dirs-next v1.0.2
[INFO] [stderr]   Downloaded age-core v0.6.0
[INFO] [stderr]   Downloaded bech32 v0.5.0
[INFO] [stderr]   Downloaded jsonrpc v0.11.0
[INFO] [stderr]   Downloaded rustyline v6.3.0
[INFO] [stderr]   Downloaded bitcoin_hashes v0.9.7
[INFO] [stderr]   Downloaded bitcoincore-rpc-json v0.12.0
[INFO] [stderr]   Downloaded electrum-client v0.7.0
[INFO] [stderr]   Downloaded fluent-syntax v0.11.0
[INFO] [stderr]   Downloaded secp256k1 v0.19.0
[INFO] [stderr]   Downloaded rust-embed-utils v5.1.0
[INFO] [stderr]   Downloaded bdk-macros v0.4.0
[INFO] [stderr]   Downloaded socks v0.3.3
[INFO] [stderr]   Downloaded bitcoin-bech32 v0.8.1
[INFO] [stderr]   Downloaded base64-compat v1.0.0
[INFO] [stderr]   Downloaded fluent-bundle v0.15.1
[INFO] [stderr]   Downloaded ouroboros_macro v0.9.5
[INFO] [stderr]   Downloaded secp256k1-sys v0.3.0
[INFO] [stderr]   Downloaded ouroboros v0.9.5
[INFO] [stderr]   Downloaded secp256k1-sys v0.4.1
[INFO] [stderr]   Downloaded bitcoin v0.25.2
[INFO] [stderr]   Downloaded rust-embed v5.9.0
[INFO] [stderr]   Downloaded lexical-core v0.7.6
[INFO] [stderr]   Downloaded bitcoin v0.26.2
[INFO] [stderr]   Downloaded miniscript v5.1.0
[INFO] [stderr]   Downloaded bip39 v1.0.1
[INFO] [stderr]   Downloaded secp256k1 v0.20.3
[INFO] [stderr]   Downloaded i18n-config v0.4.2
[INFO] [stderr]   Downloaded age v0.6.0
[INFO] [stderr]   Downloaded bech32 v0.7.3
[INFO] [stderr]   Downloaded zeroize v1.4.0
[INFO] [stderr]   Downloaded combine v4.6.0
[INFO] [stderr]   Downloaded scrypt v0.7.0
[INFO] [stderr]   Downloaded bitcoincore-rpc v0.12.0
[INFO] [stderr]   Downloaded hkdf v0.11.0
[INFO] [stderr]   Downloaded bech32 v0.8.1
[INFO] [stderr]   Downloaded cookie-factory v0.3.2
[INFO] [stderr]   Downloaded c2-chacha v0.3.1
[INFO] [stderr]   Downloaded i18n-embed-fl v0.5.0
[INFO] [stderr]   Downloaded chacha20poly1305 v0.7.1
[INFO] [stderr]   Downloaded fluent v0.15.0
[INFO] [stderr]   Downloaded i18n-embed-impl v0.7.0
[INFO] [stderr]   Downloaded i18n-embed v0.12.1
[INFO] [stderr]   Downloaded bitcoincore-rpc v0.1.1
[INFO] [stderr]   Downloaded bitcoincore-rpc-json v0.1.1
[INFO] [stderr]   Downloaded bitcoin-amount v0.1.4
[INFO] [stderr]   Downloaded bitcoin v0.15.1
[INFO] [stderr]   Downloaded jsonrpc v0.10.2
[INFO] [stderr]   Downloaded strason v0.4.0
[INFO] [stderr]   Downloaded secp256k1 v0.11.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "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] 555655c019316669bf13e464a2065958233194e0f8d075549e5e0fcafdce346e
[INFO] running `Command { std: "docker" "start" "-a" "555655c019316669bf13e464a2065958233194e0f8d075549e5e0fcafdce346e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "555655c019316669bf13e464a2065958233194e0f8d075549e5e0fcafdce346e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "555655c019316669bf13e464a2065958233194e0f8d075549e5e0fcafdce346e", kill_on_drop: false }`
[INFO] [stdout] 555655c019316669bf13e464a2065958233194e0f8d075549e5e0fcafdce346e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ed88e3015ad17e4ba46b9a8f27ee93a434a35faa6203669dce6c7397b7a6ad9
[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" "1ed88e3015ad17e4ba46b9a8f27ee93a434a35faa6203669dce6c7397b7a6ad9", kill_on_drop: false }`
[INFO] [stderr]     Checking bech32 v0.7.3
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]     Checking bech32 v0.8.1
[INFO] [stderr]     Checking shell-words v1.0.0
[INFO] [stderr]     Checking bech32 v0.5.0
[INFO] [stderr]    Compiling secp256k1-sys v0.4.1
[INFO] [stderr]     Checking base64-compat v1.0.0
[INFO] [stderr]    Compiling nom v6.2.1
[INFO] [stderr]     Checking base64 v0.10.1
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]    Compiling secp256k1-sys v0.3.0
[INFO] [stderr]    Compiling secp256k1 v0.11.5
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling libsqlite3-sys v0.22.2
[INFO] [stderr]    Compiling type-map v0.4.0
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking blake2b_simd v0.5.11
[INFO] [stderr]    Compiling lock_api v0.4.4
[INFO] [stderr]    Compiling rust-embed-utils v5.1.0
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking socket2 v0.4.0
[INFO] [stderr]     Checking socks v0.3.3
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]     Checking ring v0.16.20
[INFO] [stderr]     Checking futures-lite v1.12.0
[INFO] [stderr]     Checking openssl-sys v0.9.65
[INFO] [stderr]     Checking bitcoin-bech32 v0.8.1
[INFO] [stderr]     Checking ahash v0.7.4
[INFO] [stderr]     Checking colored v1.9.3
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking dirs-next v1.0.2
[INFO] [stderr]     Checking num-integer v0.1.44
[INFO] [stderr]     Checking crypto-mac v0.11.0
[INFO] [stderr]     Checking universal-hash v0.4.0
[INFO] [stderr]     Checking cipher v0.3.0
[INFO] [stderr]     Checking unicode-normalization v0.1.9
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling tokio-macros v1.3.0
[INFO] [stderr]    Compiling rust-embed-impl v5.9.0
[INFO] [stderr]    Compiling bdk-macros v0.4.0
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]     Checking sha-1 v0.9.7
[INFO] [stderr]    Compiling dashmap v4.0.2
[INFO] [stderr]     Checking c2-chacha v0.3.1
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking rust-argon2 v0.8.3
[INFO] [stderr]     Checking salsa20 v0.8.0
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.7
[INFO] [stderr]     Checking poly1305 v0.6.2
[INFO] [stderr]     Checking futures-util v0.3.15
[INFO] [stderr]    Compiling zeroize_derive v1.1.0
[INFO] [stderr]     Checking hmac v0.11.0
[INFO] [stderr]     Checking pbkdf2 v0.8.0
[INFO] [stderr]    Compiling ouroboros_macro v0.9.5
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking openssl v0.10.35
[INFO] [stderr]     Checking async-executor v1.4.1
[INFO] [stderr]     Checking blocking v1.0.2
[INFO] [stderr]     Checking bitcoin_hashes v0.9.7
[INFO] [stderr]     Checking unic-langid-impl v0.9.0
[INFO] [stderr]     Checking strason v0.4.0
[INFO] [stderr]     Checking bstr v0.2.15
[INFO] [stderr]     Checking bitcoin-amount v0.1.4
[INFO] [stderr]     Checking headers v0.3.4
[INFO] [stderr]     Checking log v0.4.14
[INFO] [stderr]     Checking webpki v0.21.4
[INFO] [stderr]     Checking sct v0.6.1
[INFO] [stderr]    Compiling fluent-syntax v0.11.0
[INFO] [stderr]     Checking idna v0.2.1
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking indexmap v1.7.0
[INFO] [stderr]     Checking hashlink v0.7.0
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]     Checking hkdf v0.11.0
[INFO] [stderr]     Checking scrypt v0.7.0
[INFO] [stderr]     Checking rust-crypto v0.2.36
[INFO] [stderr]     Checking secp256k1 v0.19.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking secp256k1 v0.20.3
[INFO] [stderr]     Checking unic-langid v0.9.0
[INFO] [stderr]    Compiling rust-embed v5.9.0
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking mio v0.7.13
[INFO] [stderr]     Checking tracing v0.1.26
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking sled v0.34.6
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking polling v2.1.0
[INFO] [stderr]     Checking simple_logger v1.11.0
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking rustyline v6.3.0
[INFO] [stderr]     Checking rustls v0.16.0
[INFO] [stderr]     Checking webpki-roots v0.19.0
[INFO] [stderr]     Checking zeroize v1.4.0
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking native-tls v0.2.7
[INFO] [stderr]     Checking intl_pluralrules v7.0.1
[INFO] [stderr]     Checking intl-memoizer v0.5.1
[INFO] [stderr]     Checking fluent-langneg v0.13.0
[INFO] [stderr]     Checking futures-executor v0.3.15
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]     Checking async-io v1.6.0
[INFO] [stderr]     Checking mime v0.2.6
[INFO] [stderr]     Checking tokio v1.8.1
[INFO] [stderr]     Checking secrecy v0.7.0
[INFO] [stderr]     Checking chacha20poly1305 v0.7.1
[INFO] [stderr]     Checking curve25519-dalek v3.1.0
[INFO] [stderr]     Checking multipart v0.17.1
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]    Compiling ouroboros v0.9.5
[INFO] [stderr]     Checking futures v0.3.15
[INFO] [stderr]     Checking tungstenite v0.12.0
[INFO] [stderr]     Checking hyper v0.10.16
[INFO] [stderr]     Checking age-core v0.6.0
[INFO] [stderr]     Checking bitcoin v0.26.2
[INFO] [stderr]     Checking bip39 v1.0.1
[INFO] [stderr]     Checking bitcoin v0.25.2
[INFO] [stderr]     Checking async-global-executor v2.0.2
[INFO] [stderr]     Checking fluent-bundle v0.15.1
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking async-std v1.9.0
[INFO] [stderr]     Checking x25519-dalek v1.1.1
[INFO] [stderr]     Checking fluent v0.15.0
[INFO] [stderr]    Compiling i18n-config v0.4.2
[INFO] [stderr]    Compiling find-crate v0.6.3
[INFO] [stderr]     Checking bitcoin v0.15.1
[INFO] [stderr]    Compiling i18n-embed-impl v0.7.0
[INFO] [stderr]     Checking jsonrpc v0.11.0
[INFO] [stderr]     Checking jsonrpc v0.10.2
[INFO] [stderr]     Checking rusqlite v0.25.3
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking combine v4.6.0
[INFO] [stderr]     Checking bitcoincore-rpc-json v0.12.0
[INFO] [stderr]     Checking bitcoincore-rpc-json v0.1.1
[INFO] [stderr]     Checking electrum-client v0.7.0
[INFO] [stderr]     Checking miniscript v5.1.0
[INFO] [stderr]    Compiling i18n-embed v0.12.1
[INFO] [stderr]     Checking tokio-util v0.6.7
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking tokio-tungstenite v0.13.0
[INFO] [stderr]     Checking tokio-stream v0.1.7
[INFO] [stderr]     Checking bitcoincore-rpc v0.1.1
[INFO] [stderr]    Compiling i18n-embed-fl v0.5.0
[INFO] [stderr]     Checking h2 v0.3.3
[INFO] [stderr]     Checking bdk v0.9.1-dev (https://github.com/davemo88/bdk?branch=two-signer-traits#8cc5ff8e)
[INFO] [stderr]     Checking bitcoincore-rpc v0.12.0
[INFO] [stderr]     Checking age v0.6.0
[INFO] [stderr]     Checking tglib v0.1.0 (/opt/rustwide/workdir/tglib)
[INFO] [stderr]     Checking hyper v0.14.10
[INFO] [stderr]     Checking redis v0.17.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking warp v0.3.1
[INFO] [stderr]     Checking reqwest v0.11.4
[INFO] [stderr]     Checking ump v0.1.0 (/opt/rustwide/workdir/ump/ump)
[INFO] [stderr]     Checking rbtr-private v0.1.0 (/opt/rustwide/workdir/rbtr-private)
[INFO] [stderr]     Checking signer v0.1.0 (/opt/rustwide/workdir/ump/signer)
[INFO] [stderr]     Checking exchange v0.1.0 (/opt/rustwide/workdir/exchange)
[INFO] [stderr]     Checking publisher v0.1.0 (/opt/rustwide/workdir/ump/publisher)
[INFO] [stderr]     Checking rbtr-public v0.1.0 (/opt/rustwide/workdir/rbtr-public)
[INFO] [stderr]     Checking nmc-id v0.1.0 (/opt/rustwide/workdir/nmc-id)
[INFO] [stderr]     Checking player-wallet v0.1.0 (/opt/rustwide/workdir/player-wallet)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]    --> player-wallet/src/lib.rs:129:49
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                                                 ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trezor`
[INFO] [stdout]    --> player-wallet/src/lib.rs:134:22
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let wallet = Trezor::new(Mnemonic::parse(PLAYER_1_MNEMONIC).unwrap());
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `Trezor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]    --> player-wallet/src/lib.rs:134:34
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let wallet = Trezor::new(Mnemonic::parse(PLAYER_1_MNEMONIC).unwrap());
[INFO] [stdout]     |                                  ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trezor`
[INFO] [stdout]    --> player-wallet/src/lib.rs:136:30
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let arbiter_wallet = Trezor::new(Mnemonic::parse(ARBITER_MNEMONIC).unwrap());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `Trezor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]    --> player-wallet/src/lib.rs:136:42
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let arbiter_wallet = Trezor::new(Mnemonic::parse(ARBITER_MNEMONIC).unwrap());
[INFO] [stdout]     |                                          ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]    --> player-wallet/src/lib.rs:145:49
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                                                 ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trezor`
[INFO] [stdout]    --> player-wallet/src/lib.rs:150:22
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let wallet = Trezor::new(Mnemonic::parse(PLAYER_2_MNEMONIC).unwrap());
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `Trezor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]    --> player-wallet/src/lib.rs:150:34
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let wallet = Trezor::new(Mnemonic::parse(PLAYER_2_MNEMONIC).unwrap());
[INFO] [stdout]     |                                  ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trezor`
[INFO] [stdout]    --> player-wallet/src/lib.rs:152:30
[INFO] [stdout]     |
[INFO] [stdout] 152 |         let arbiter_wallet = Trezor::new(Mnemonic::parse(ARBITER_MNEMONIC).unwrap());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `Trezor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]    --> player-wallet/src/lib.rs:152:42
[INFO] [stdout]     |
[INFO] [stdout] 152 |         let arbiter_wallet = Trezor::new(Mnemonic::parse(ARBITER_MNEMONIC).unwrap());
[INFO] [stdout]     |                                          ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]    --> player-wallet/src/lib.rs:162:45
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                                             ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trezor`
[INFO] [stdout]    --> player-wallet/src/lib.rs:166:22
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let wallet = Trezor::new(Mnemonic::parse(PLAYER_1_MNEMONIC).unwrap());
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `Trezor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]    --> player-wallet/src/lib.rs:166:34
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let wallet = Trezor::new(Mnemonic::parse(PLAYER_1_MNEMONIC).unwrap());
[INFO] [stdout]     |                                  ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trezor`
[INFO] [stdout]    --> player-wallet/src/lib.rs:168:30
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let arbiter_wallet = Trezor::new(Mnemonic::parse(ARBITER_MNEMONIC).unwrap());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `Trezor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]    --> player-wallet/src/lib.rs:168:42
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let arbiter_wallet = Trezor::new(Mnemonic::parse(ARBITER_MNEMONIC).unwrap());
[INFO] [stdout]     |                                          ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]    --> player-wallet/src/lib.rs:177:49
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                                                 ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trezor`
[INFO] [stdout]    --> player-wallet/src/lib.rs:182:22
[INFO] [stdout]     |
[INFO] [stdout] 182 |         let wallet = Trezor::new(Mnemonic::parse(PLAYER_1_MNEMONIC).unwrap());
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `Trezor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]    --> player-wallet/src/lib.rs:182:34
[INFO] [stdout]     |
[INFO] [stdout] 182 |         let wallet = Trezor::new(Mnemonic::parse(PLAYER_1_MNEMONIC).unwrap());
[INFO] [stdout]     |                                  ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trezor`
[INFO] [stdout]    --> player-wallet/src/lib.rs:184:30
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let arbiter_wallet = Trezor::new(Mnemonic::parse(ARBITER_MNEMONIC).unwrap());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `Trezor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]    --> player-wallet/src/lib.rs:184:42
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let arbiter_wallet = Trezor::new(Mnemonic::parse(ARBITER_MNEMONIC).unwrap());
[INFO] [stdout]     |                                          ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]    --> player-wallet/src/lib.rs:191:49
[INFO] [stdout]     |
[INFO] [stdout] 191 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                                                 ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trezor`
[INFO] [stdout]    --> player-wallet/src/lib.rs:196:22
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let wallet = Trezor::new(Mnemonic::parse(PLAYER_1_MNEMONIC).unwrap());
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `Trezor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]    --> player-wallet/src/lib.rs:196:34
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let wallet = Trezor::new(Mnemonic::parse(PLAYER_1_MNEMONIC).unwrap());
[INFO] [stdout]     |                                  ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trezor`
[INFO] [stdout]    --> player-wallet/src/lib.rs:198:30
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let arbiter_wallet = Trezor::new(Mnemonic::parse(ARBITER_MNEMONIC).unwrap());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `Trezor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]    --> player-wallet/src/lib.rs:198:42
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let arbiter_wallet = Trezor::new(Mnemonic::parse(ARBITER_MNEMONIC).unwrap());
[INFO] [stdout]     |                                          ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]    --> player-wallet/src/lib.rs:208:49
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                                                 ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trezor`
[INFO] [stdout]    --> player-wallet/src/lib.rs:214:30
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let arbiter_wallet = Trezor::new(Mnemonic::parse(ARBITER_MNEMONIC).unwrap());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `Trezor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]    --> player-wallet/src/lib.rs:214:42
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let arbiter_wallet = Trezor::new(Mnemonic::parse(ARBITER_MNEMONIC).unwrap());
[INFO] [stdout]     |                                          ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]    --> player-wallet/src/lib.rs:223:49
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                                                 ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trezor`
[INFO] [stdout]    --> player-wallet/src/lib.rs:226:22
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let wallet = Trezor::new(Mnemonic::parse(PLAYER_1_MNEMONIC).unwrap());
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `Trezor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]    --> player-wallet/src/lib.rs:226:34
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let wallet = Trezor::new(Mnemonic::parse(PLAYER_1_MNEMONIC).unwrap());
[INFO] [stdout]     |                                  ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trezor`
[INFO] [stdout]    --> player-wallet/src/lib.rs:230:30
[INFO] [stdout]     |
[INFO] [stdout] 230 |         let arbiter_wallet = Trezor::new(Mnemonic::parse(ARBITER_MNEMONIC).unwrap());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `Trezor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic`
[INFO] [stdout]    --> player-wallet/src/lib.rs:230:42
[INFO] [stdout]     |
[INFO] [stdout] 230 |         let arbiter_wallet = Trezor::new(Mnemonic::parse(ARBITER_MNEMONIC).unwrap());
[INFO] [stdout]     |                                          ^^^^^^^^ use of undeclared type `Mnemonic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Contract` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:115:32
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn all_sign(contract: &mut Contract) {
[INFO] [stdout]     |                                ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::contract::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign_contract` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:119:19
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let sig = sign_contract(&p1_wallet, contract).unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::ui::sign_contract;
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::wallet::sign_contract;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign_contract` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:121:19
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let sig = sign_contract(&p2_wallet, contract).unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::ui::sign_contract;
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::wallet::sign_contract;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign_contract` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:123:19
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let sig = sign_contract(&arbiter_wallet, contract).unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::ui::sign_contract;
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::wallet::sign_contract;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contract`
[INFO] [stdout]    --> player-wallet/src/lib.rs:129:28
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                            ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::contract::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTRACT` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:129:61
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                                                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address`
[INFO] [stdout]    --> player-wallet/src/lib.rs:132:23
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let address = Address::p2wpkh(&contract.p1_pubkey, NETWORK).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Address;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_payout` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:133:26
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let mut payout = create_payout(&contract, &address);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::wallet::create_payout;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign_payout_psbt` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:135:23
[INFO] [stdout]     |
[INFO] [stdout] 135 |         payout.psbt = sign_payout_psbt(&wallet, &mut payout).unwrap();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message`
[INFO] [stdout]    --> player-wallet/src/lib.rs:137:19
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let msg = Message::from_slice(&payout.psbt.clone().extract_tx().txid()).unwrap();
[INFO] [stdout]     |                   ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Message;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contract`
[INFO] [stdout]    --> player-wallet/src/lib.rs:145:28
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                            ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::contract::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTRACT` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:145:61
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                                                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address`
[INFO] [stdout]    --> player-wallet/src/lib.rs:148:23
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let address = Address::p2wpkh(&contract.p2_pubkey, NETWORK).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Address;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_payout` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:149:26
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let mut payout = create_payout(&contract, &address);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::wallet::create_payout;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign_payout_psbt` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:151:23
[INFO] [stdout]     |
[INFO] [stdout] 151 |         payout.psbt = sign_payout_psbt(&wallet, &mut payout).unwrap();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message`
[INFO] [stdout]    --> player-wallet/src/lib.rs:153:19
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let msg = Message::from_slice(&payout.psbt.clone().extract_tx().txid()).unwrap();
[INFO] [stdout]     |                   ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Message;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contract`
[INFO] [stdout]    --> player-wallet/src/lib.rs:162:24
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                        ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::contract::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTRACT` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:162:57
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                                                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address`
[INFO] [stdout]    --> player-wallet/src/lib.rs:164:23
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let address = Address::p2wpkh(&contract.p1_pubkey, NETWORK).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Address;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_payout` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:165:26
[INFO] [stdout]     |
[INFO] [stdout] 165 |         let mut payout = create_payout(&contract, &address);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::wallet::create_payout;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign_payout_psbt` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:167:23
[INFO] [stdout]     |
[INFO] [stdout] 167 |         payout.psbt = sign_payout_psbt(&wallet, &mut payout).unwrap();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message`
[INFO] [stdout]    --> player-wallet/src/lib.rs:169:19
[INFO] [stdout]     |
[INFO] [stdout] 169 |         let msg = Message::from_slice(&payout.psbt.clone().extract_tx().txid()).unwrap();
[INFO] [stdout]     |                   ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Message;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contract`
[INFO] [stdout]    --> player-wallet/src/lib.rs:177:28
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                            ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::contract::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTRACT` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:177:61
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                                                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address`
[INFO] [stdout]    --> player-wallet/src/lib.rs:180:23
[INFO] [stdout]     |
[INFO] [stdout] 180 |         let address = Address::p2wpkh(&contract.p1_pubkey, NETWORK).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Address;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_payout` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:181:26
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let mut payout = create_payout(&contract, &address);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::wallet::create_payout;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign_payout_psbt` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:183:23
[INFO] [stdout]     |
[INFO] [stdout] 183 |         payout.psbt = sign_payout_psbt(&wallet, &mut payout).unwrap();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contract`
[INFO] [stdout]    --> player-wallet/src/lib.rs:191:28
[INFO] [stdout]     |
[INFO] [stdout] 191 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                            ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::contract::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTRACT` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:191:61
[INFO] [stdout]     |
[INFO] [stdout] 191 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                                                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address`
[INFO] [stdout]    --> player-wallet/src/lib.rs:194:23
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let address = Address::p2wpkh(&contract.p1_pubkey, NETWORK).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Address;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_payout` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:195:26
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut payout = create_payout(&contract, &address);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::wallet::create_payout;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign_payout_psbt` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:197:23
[INFO] [stdout]     |
[INFO] [stdout] 197 |         payout.psbt = sign_payout_psbt(&wallet, &mut payout).unwrap();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message`
[INFO] [stdout]    --> player-wallet/src/lib.rs:200:54
[INFO] [stdout]     |
[INFO] [stdout] 200 |         payout.script_sig = Some(wallet.sign_message(Message::from_slice(&payout.psbt.clone().extract_tx().txid()).unwrap(), 
[INFO] [stdout]     |                                                      ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Message;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DerivationPath`
[INFO] [stdout]    --> player-wallet/src/lib.rs:201:17
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 DerivationPath::from_str(&format!("m/{}/{}", ESCROW_SUBACCOUNT, ESCROW_KIX)).unwrap()).unwrap());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::DerivationPath;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contract`
[INFO] [stdout]    --> player-wallet/src/lib.rs:208:28
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                            ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::contract::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTRACT` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:208:61
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                                                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address`
[INFO] [stdout]    --> player-wallet/src/lib.rs:211:23
[INFO] [stdout]     |
[INFO] [stdout] 211 |         let address = Address::p2wpkh(&contract.p1_pubkey, NETWORK).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Address;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_payout` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:212:26
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let mut payout = create_payout(&contract, &address);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::wallet::create_payout;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message`
[INFO] [stdout]    --> player-wallet/src/lib.rs:215:19
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let msg = Message::from_slice(&payout.psbt.clone().extract_tx().txid()).unwrap();
[INFO] [stdout]     |                   ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Message;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contract`
[INFO] [stdout]    --> player-wallet/src/lib.rs:223:28
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                            ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::contract::Contract;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTRACT` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:223:61
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let mut contract = Contract::from_bytes(hex::decode(CONTRACT).unwrap()).unwrap();
[INFO] [stdout]     |                                                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_payout` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:228:26
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let mut payout = create_payout(&contract, &wallet.wallet.get_new_address().unwrap());
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use tglib::wallet::create_payout;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign_payout_psbt` in this scope
[INFO] [stdout]    --> player-wallet/src/lib.rs:229:23
[INFO] [stdout]     |
[INFO] [stdout] 229 |         payout.psbt = sign_payout_psbt(&wallet, &mut payout).unwrap();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message`
[INFO] [stdout]    --> player-wallet/src/lib.rs:231:19
[INFO] [stdout]     |
[INFO] [stdout] 231 |         let msg = Message::from_slice(&payout.psbt.clone().extract_tx().txid()).unwrap();
[INFO] [stdout]     |                   ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 93  |     use crate::wallet::Message;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking player-cli v0.1.0 (/opt/rustwide/workdir/player-cli)
[INFO] [stdout] error[E0061]: this function takes 6 arguments but 0 arguments were supplied
[INFO] [stdout]    --> player-wallet/src/lib.rs:116:25
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let p1_wallet = PlayerWallet::new();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         expected 6 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> player-wallet/src/wallet.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | ... fn new(wallet_dir: PathBuf, network: Network, electrum_url: String, name_url: String, arbiter_url: String, exchange_url: String) ->  ...
[INFO] [stdout]     |        ^^^ -------------------  ----------------  --------------------  ----------------  -------------------  --------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 6 arguments but 0 arguments were supplied
[INFO] [stdout]    --> player-wallet/src/lib.rs:117:25
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let p2_wallet = PlayerWallet::new();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         expected 6 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> player-wallet/src/wallet.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | ... fn new(wallet_dir: PathBuf, network: Network, electrum_url: String, name_url: String, arbiter_url: String, exchange_url: String) ->  ...
[INFO] [stdout]     |        ^^^ -------------------  ----------------  --------------------  ----------------  -------------------  --------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 6 arguments but 0 arguments were supplied
[INFO] [stdout]    --> player-wallet/src/lib.rs:118:30
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let arbiter_wallet = PlayerWallet::new();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              expected 6 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> player-wallet/src/wallet.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | ... fn new(wallet_dir: PathBuf, network: Network, electrum_url: String, name_url: String, arbiter_url: String, exchange_url: String) ->  ...
[INFO] [stdout]     |        ^^^ -------------------  ----------------  --------------------  ----------------  -------------------  --------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 80 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `player-wallet` due to 81 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "1ed88e3015ad17e4ba46b9a8f27ee93a434a35faa6203669dce6c7397b7a6ad9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ed88e3015ad17e4ba46b9a8f27ee93a434a35faa6203669dce6c7397b7a6ad9", kill_on_drop: false }`
[INFO] [stdout] 1ed88e3015ad17e4ba46b9a8f27ee93a434a35faa6203669dce6c7397b7a6ad9
