[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] 5449e970b1a2434f32e63314c94bb8f57a719413 [INFO] checking davemo88/tg against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavemo88%2Ftg" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davemo88/tg on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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-12/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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28ce7e35c2c1735c6df93478081b844fa7d50f3d16afcd427b0bd523a2f8089c [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" "28ce7e35c2c1735c6df93478081b844fa7d50f3d16afcd427b0bd523a2f8089c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28ce7e35c2c1735c6df93478081b844fa7d50f3d16afcd427b0bd523a2f8089c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28ce7e35c2c1735c6df93478081b844fa7d50f3d16afcd427b0bd523a2f8089c", kill_on_drop: false }` [INFO] [stdout] 28ce7e35c2c1735c6df93478081b844fa7d50f3d16afcd427b0bd523a2f8089c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b5f0f0fcaf377bca7f30b110eb9992fe748d8f5e47f90067b440b762217cb49 [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" "3b5f0f0fcaf377bca7f30b110eb9992fe748d8f5e47f90067b440b762217cb49", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking bech32 v0.7.3 [INFO] [stderr] Compiling tinystr v0.3.4 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking cookie-factory v0.3.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking shell-words v1.0.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking bech32 v0.5.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling secp256k1-sys v0.4.1 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling secp256k1-sys v0.3.0 [INFO] [stderr] Compiling secp256k1 v0.11.5 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking base64-compat v1.0.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling type-map v0.4.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Checking bitcoin-bech32 v0.8.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking rust-embed-utils v5.1.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking socks v0.3.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 async-channel v1.6.1 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rust-argon2 v0.8.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Checking unicode-normalization v0.1.9 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking idna v0.2.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking poly1305 v0.6.2 [INFO] [stderr] Checking salsa20 v0.8.0 [INFO] [stderr] Checking c2-chacha v0.3.1 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking hkdf v0.11.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking scrypt v0.7.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling ouroboros_macro v0.9.5 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling rust-embed-impl v5.9.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling bdk-macros v0.4.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking rusqlite v0.25.3 [INFO] [stderr] Checking zeroize v1.4.0 [INFO] [stderr] Compiling rust-embed v5.9.0 [INFO] [stderr] Checking chacha20poly1305 v0.7.1 [INFO] [stderr] Checking secrecy v0.7.0 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking age-core v0.6.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking sled v0.34.6 [INFO] [stderr] Checking polling v2.1.0 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking multipart v0.17.1 [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 async-io v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling ouroboros v0.9.5 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking x25519-dalek v1.1.1 [INFO] [stderr] Compiling fluent-syntax v0.11.0 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking combine v4.6.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking serde v1.0.126 [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 h2 v0.3.3 [INFO] [stderr] Checking bitcoin_hashes v0.9.7 [INFO] [stderr] Checking secp256k1 v0.20.3 [INFO] [stderr] Checking unic-langid-impl v0.9.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking secp256k1 v0.19.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 unic-langid v0.9.0 [INFO] [stderr] Checking bitcoin v0.15.1 [INFO] [stderr] Checking intl-memoizer v0.5.1 [INFO] [stderr] Checking intl_pluralrules v7.0.1 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking fluent-bundle v0.15.1 [INFO] [stderr] Checking jsonrpc v0.11.0 [INFO] [stderr] Checking jsonrpc v0.10.2 [INFO] [stderr] Checking fluent v0.15.0 [INFO] [stderr] Checking bitcoincore-rpc-json v0.1.1 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling i18n-config v0.4.2 [INFO] [stderr] Checking hyper v0.14.10 [INFO] [stderr] Checking redis v0.17.0 [INFO] [stderr] Compiling i18n-embed-impl v0.7.0 [INFO] [stderr] Checking bitcoincore-rpc v0.1.1 [INFO] [stderr] Checking bitcoin v0.26.2 [INFO] [stderr] Checking bip39 v1.0.1 [INFO] [stderr] Checking bitcoin v0.25.2 [INFO] [stderr] Compiling i18n-embed v0.12.1 [INFO] [stderr] Compiling i18n-embed-fl v0.5.0 [INFO] [stderr] Checking bitcoincore-rpc-json v0.12.0 [INFO] [stderr] Checking miniscript v5.1.0 [INFO] [stderr] Checking electrum-client v0.7.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 age v0.6.0 [INFO] [stderr] Checking bdk v0.9.1-dev (https://github.com/davemo88/bdk?branch=two-signer-traits#8cc5ff8e) [INFO] [stderr] Checking signer v0.1.0 (/opt/rustwide/workdir/ump/signer) [INFO] [stderr] Checking bitcoincore-rpc v0.12.0 [INFO] [stderr] Checking publisher v0.1.0 (/opt/rustwide/workdir/ump/publisher) [INFO] [stderr] Checking tglib v0.1.0 (/opt/rustwide/workdir/tglib) [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> ump/publisher/src/db.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> ump/publisher/src/db.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> ump/publisher/src/db.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> ump/publisher/src/db.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking exchange v0.1.0 (/opt/rustwide/workdir/exchange) [INFO] [stderr] Checking nmc-id v0.1.0 (/opt/rustwide/workdir/nmc-id) [INFO] [stderr] Checking rbtr-private v0.1.0 (/opt/rustwide/workdir/rbtr-private) [INFO] [stderr] Checking rbtr-public v0.1.0 (/opt/rustwide/workdir/rbtr-public) [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 `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] | ^^^^^^^ use of undeclared type `Address` [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 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] | ^^^^^^^ use of undeclared type `Message` [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 `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] | ^^^^^^^ use of undeclared type `Address` [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 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] | ^^^^^^^ use of undeclared type `Message` [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 `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] | ^^^^^^^ use of undeclared type `Address` [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 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] | ^^^^^^^ use of undeclared type `Message` [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 `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] | ^^^^^^^ use of undeclared type `Address` [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 `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] | ^^^^^^^ use of undeclared type `Address` [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 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] | ^^^^^^^ use of undeclared type `Message` [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] | ^^^^^^^^^^^^^^ use of undeclared type `DerivationPath` [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 `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] | ^^^^^^^ use of undeclared type `Address` [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 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] | ^^^^^^^ use of undeclared type `Message` [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[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] | ^^^^^^^ use of undeclared type `Message` [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 this struct [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 this function [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 this function [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 this function [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 this struct [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[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 `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 this struct [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[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 `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 this struct [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[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 `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 this struct [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[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 this struct [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[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 `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 this struct [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[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 `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 this struct [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] [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" "3b5f0f0fcaf377bca7f30b110eb9992fe748d8f5e47f90067b440b762217cb49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b5f0f0fcaf377bca7f30b110eb9992fe748d8f5e47f90067b440b762217cb49", kill_on_drop: false }` [INFO] [stdout] 3b5f0f0fcaf377bca7f30b110eb9992fe748d8f5e47f90067b440b762217cb49