[INFO] fetching crate dlc-manager 0.5.0... [INFO] checking dlc-manager-0.5.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate dlc-manager 0.5.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate dlc-manager 0.5.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dlc-manager 0.5.0 [INFO] finished tweaking crates.io crate dlc-manager 0.5.0 [INFO] tweaked toml for crates.io crate dlc-manager 0.5.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 109 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bech32 v0.9.1 (available: v0.11.0) [INFO] [stderr] Adding bitcoin v0.30.2 (available: v0.32.2) [INFO] [stderr] Adding bitcoin_hashes v0.12.0 (available: v0.14.0) [INFO] [stderr] Adding bitcoincore-rpc v0.17.0 (available: v0.19.0) [INFO] [stderr] Adding bitcoincore-rpc-json v0.17.0 (available: v0.19.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.18) [INFO] [stderr] Adding clap_lex v0.2.4 (available: v0.7.2) [INFO] [stderr] Adding criterion v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.5) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding hex-conservative v0.1.2 (available: v0.2.1) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding jsonrpc v0.14.1 (available: v0.18.0) [INFO] [stderr] Adding lightning v0.0.121 (available: v0.0.124) [INFO] [stderr] Adding miniscript v10.2.0 (available: v12.2.0) [INFO] [stderr] Adding os_str_bytes v6.6.1 (available: v7.0.0) [INFO] [stderr] Adding secp256k1 v0.27.0 (available: v0.29.1) [INFO] [stderr] Adding secp256k1-sys v0.8.1 (available: v0.10.1) [INFO] [stderr] Adding secp256k1-zkp v0.9.2 (available: v0.11.0) [INFO] [stderr] Adding secp256k1-zkp-sys v0.8.1 (available: v0.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dlc v0.5.0 [INFO] [stderr] Downloaded secp256k1-zkp v0.9.2 [INFO] [stderr] Downloaded bitcoincore-rpc-json v0.17.0 [INFO] [stderr] Downloaded jsonrpc v0.14.1 [INFO] [stderr] Downloaded dlc-trie v0.5.0 [INFO] [stderr] Downloaded bitcoincore-rpc v0.17.0 [INFO] [stderr] Downloaded miniscript v10.2.0 [INFO] [stderr] Downloaded dlc-messages v0.5.0 [INFO] [stderr] Downloaded lightning v0.0.121 [INFO] [stderr] Downloaded secp256k1-zkp-sys v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e822a8e4d9278aa9aceee919f1d5b825b8544709ee954d82160ffae96b4e45f [INFO] running `Command { std: "docker" "start" "-a" "6e822a8e4d9278aa9aceee919f1d5b825b8544709ee954d82160ffae96b4e45f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e822a8e4d9278aa9aceee919f1d5b825b8544709ee954d82160ffae96b4e45f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e822a8e4d9278aa9aceee919f1d5b825b8544709ee954d82160ffae96b4e45f", kill_on_drop: false }` [INFO] [stdout] 6e822a8e4d9278aa9aceee919f1d5b825b8544709ee954d82160ffae96b4e45f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a45de29514dedafd886cd21d9b03907bd8f01a61fabdb71e5c07fa36a09be43 [INFO] running `Command { std: "docker" "start" "-a" "5a45de29514dedafd886cd21d9b03907bd8f01a61fabdb71e5c07fa36a09be43", kill_on_drop: false }` [INFO] [stderr] Compiling bitcoin v0.30.2 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling secp256k1-zkp-sys v0.8.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking hex-conservative v0.1.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking bitcoin_hashes v0.12.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking jsonrpc v0.14.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Checking secp256k1-zkp v0.9.2 [INFO] [stderr] Checking miniscript v10.2.0 [INFO] [stderr] Checking lightning v0.0.121 [INFO] [stderr] Checking bitcoincore-rpc-json v0.17.0 [INFO] [stderr] Checking dlc v0.5.0 [INFO] [stderr] Checking dlc-trie v0.5.0 [INFO] [stderr] Checking bitcoincore-rpc v0.17.0 [INFO] [stderr] Checking dlc-messages v0.5.0 [INFO] [stderr] Checking dlc-manager v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/contract/../../../dlc-sled-storage-provider/test_files/Accepted`: No such file or directory (os error 2) [INFO] [stdout] --> src/contract/accepted_contract.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | let buf = include_bytes!("../../../dlc-sled-storage-provider/test_files/Accepted"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> src/contract_updater.rs:761:9 [INFO] [stdout] | [INFO] [stdout] 761 | use mocks::dlc_manager::contract::offered_contract::OfferedContract; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> src/manager.rs:2580:9 [INFO] [stdout] | [INFO] [stdout] 2580 | use mocks::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> src/contract_updater.rs:774:34 [INFO] [stdout] | [INFO] [stdout] 774 | let blockchain = Rc::new(mocks::mock_blockchain::MockBlockchain::new()); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> src/contract_updater.rs:779:30 [INFO] [stdout] | [INFO] [stdout] 779 | let wallet = Rc::new(mocks::mock_wallet::MockWallet::new( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> src/manager.rs:2617:9 [INFO] [stdout] | [INFO] [stdout] 2617 | mocks::mock_time::set_time(0); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> src/contract_updater.rs:784:9 [INFO] [stdout] | [INFO] [stdout] 784 | mocks::dlc_manager::contract_updater::accept_contract( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 759 + use crate::contract_updater; [INFO] [stdout] | [INFO] [stdout] help: if you import `contract_updater`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 784 - mocks::dlc_manager::contract_updater::accept_contract( [INFO] [stdout] 784 + contract_updater::accept_contract( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `offered_contract::OfferedContract: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/contract/offered_contract.rs:189:38 [INFO] [stdout] | [INFO] [stdout] 189 | let offer: OfferedContract = serde_json::from_str(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `offered_contract::OfferedContract` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `offered_contract::OfferedContract` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::value::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] and 360 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:2680:8 [INFO] [stdout] | [INFO] [stdout] 2678 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2679 | where [INFO] [stdout] 2680 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OfferDlc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/manager.rs:2640:13 [INFO] [stdout] | [INFO] [stdout] 2640 | serde_json::from_str(include_str!("../test_inputs/offer_contract.json")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `OfferDlc` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `OfferDlc` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::value::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] and 360 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:2680:8 [INFO] [stdout] | [INFO] [stdout] 2678 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2679 | where [INFO] [stdout] 2680 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dlc_messages::channel::OfferChannel: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/manager.rs:2657:13 [INFO] [stdout] | [INFO] [stdout] 2657 | serde_json::from_str(include_str!("../test_inputs/offer_channel.json")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `dlc_messages::channel::OfferChannel` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `dlc_messages::channel::OfferChannel` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::value::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] and 360 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:2680:8 [INFO] [stdout] | [INFO] [stdout] 2678 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2679 | where [INFO] [stdout] 2680 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bitcoin_test_utils` [INFO] [stdout] --> src/utils.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 232 | ... let transaction = bitcoin_test_utils::tx_from_string("01000000010000000000000000000000000000000000000000000000000000000000000000fff... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `bitcoin_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bitcoin_test_utils` [INFO] [stdout] --> src/utils.rs:235:27 [INFO] [stdout] | [INFO] [stdout] 235 | let expected_id = bitcoin_test_utils::str_to_hex( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `bitcoin_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bitcoin_rpc_provider` [INFO] [stdout] --> tests/manager_execution_tests.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate bitcoin_rpc_provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bitcoin_test_utils` [INFO] [stdout] --> tests/manager_execution_tests.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate bitcoin_test_utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bitcoin_rpc_provider` [INFO] [stdout] --> tests/test_utils.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate bitcoin_rpc_provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bitcoin_test_utils` [INFO] [stdout] --> tests/test_utils.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate bitcoin_test_utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bitcoin_rpc_provider` [INFO] [stdout] --> tests/test_utils.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate bitcoin_rpc_provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bitcoin_test_utils` [INFO] [stdout] --> tests/test_utils.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate bitcoin_test_utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bitcoin_rpc_provider` [INFO] [stdout] --> tests/test_utils.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate bitcoin_rpc_provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bitcoin_test_utils` [INFO] [stdout] --> tests/test_utils.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate bitcoin_test_utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/test_utils.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use mocks::mock_oracle_provider::MockOracle; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/test_utils.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use mocks::mock_oracle_provider::MockOracle; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/test_utils.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use mocks::mock_oracle_provider::MockOracle; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `simple_wallet` [INFO] [stdout] --> tests/test_utils.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use simple_wallet::{WalletBlockchainProvider, WalletStorage}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `simple_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `electrs_blockchain_provider` [INFO] [stdout] --> tests/manager_execution_tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use electrs_blockchain_provider::ElectrsBlockchainProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `electrs_blockchain_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `simple_wallet` [INFO] [stdout] --> tests/manager_execution_tests.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use simple_wallet::SimpleWallet; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `simple_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bitcoin_test_utils` [INFO] [stdout] --> tests/channel_execution_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bitcoin_test_utils::rpc_helpers::init_clients; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `bitcoin_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `simple_wallet` [INFO] [stdout] --> tests/test_utils.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use simple_wallet::{WalletBlockchainProvider, WalletStorage}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `simple_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `simple_wallet` [INFO] [stdout] --> tests/test_utils.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use simple_wallet::{WalletBlockchainProvider, WalletStorage}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `simple_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use mocks::memory_storage_provider::MemoryStorage; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use mocks::mock_oracle_provider::MockOracle; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use mocks::mock_time::MockTime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `electrs_blockchain_provider` [INFO] [stdout] --> tests/channel_execution_tests.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use electrs_blockchain_provider::ElectrsBlockchainProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `electrs_blockchain_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `simple_wallet` [INFO] [stdout] --> tests/channel_execution_tests.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use simple_wallet::SimpleWallet; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `simple_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/manager_execution_tests.rs:577:32 [INFO] [stdout] | [INFO] [stdout] 577 | let alice_store = Arc::new(mocks::memory_storage_provider::MemoryStorage::new()); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/manager_execution_tests.rs:578:30 [INFO] [stdout] | [INFO] [stdout] 578 | let bob_store = Arc::new(mocks::memory_storage_provider::MemoryStorage::new()); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/manager_execution_tests.rs:579:30 [INFO] [stdout] | [INFO] [stdout] 579 | let mock_time = Arc::new(mocks::mock_time::MockTime {}); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:304:32 [INFO] [stdout] | [INFO] [stdout] 304 | let alice_store = Arc::new(mocks::memory_storage_provider::MemoryStorage::new()); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/manager_execution_tests.rs:580:5 [INFO] [stdout] | [INFO] [stdout] 580 | mocks::mock_time::set_time((EVENT_MATURITY as u64) - 1); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:305:30 [INFO] [stdout] | [INFO] [stdout] 305 | let bob_store = Arc::new(mocks::memory_storage_provider::MemoryStorage::new()); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `simple_wallet` [INFO] [stdout] --> tests/test_utils.rs:572:14 [INFO] [stdout] | [INFO] [stdout] 572 | wallet: &simple_wallet::SimpleWallet, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `simple_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/manager_execution_tests.rs:810:17 [INFO] [stdout] | [INFO] [stdout] 810 | mocks::mock_time::set_time((EVENT_MATURITY as u64) + 1); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:306:30 [INFO] [stdout] | [INFO] [stdout] 306 | let mock_time = Arc::new(mocks::mock_time::MockTime {}); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/manager_execution_tests.rs:882:21 [INFO] [stdout] | [INFO] [stdout] 882 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | mocks::mock_time::set_time((EVENT_MATURITY as u64) - 1); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dlc-manager` (test "test_utils") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | mocks::mock_time::set_time((EVENT_MATURITY as u64) + 1); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:1252:13 [INFO] [stdout] | [INFO] [stdout] 1252 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:1273:17 [INFO] [stdout] | [INFO] [stdout] 1273 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:1282:17 [INFO] [stdout] | [INFO] [stdout] 1282 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:1293:17 [INFO] [stdout] | [INFO] [stdout] 1293 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:1329:9 [INFO] [stdout] | [INFO] [stdout] 1329 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:1350:13 [INFO] [stdout] | [INFO] [stdout] 1350 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:1365:13 [INFO] [stdout] | [INFO] [stdout] 1365 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `mocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `simple_wallet` [INFO] [stdout] --> tests/test_utils.rs:572:14 [INFO] [stdout] | [INFO] [stdout] 572 | wallet: &simple_wallet::SimpleWallet, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `simple_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dlc-manager` (test "manager_execution_tests") due to 16 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `simple_wallet` [INFO] [stdout] --> tests/test_utils.rs:572:14 [INFO] [stdout] | [INFO] [stdout] 572 | wallet: &simple_wallet::SimpleWallet, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `simple_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dlc-manager` (test "channel_execution_tests") due to 24 previous errors [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dlc-manager` (lib test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "5a45de29514dedafd886cd21d9b03907bd8f01a61fabdb71e5c07fa36a09be43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a45de29514dedafd886cd21d9b03907bd8f01a61fabdb71e5c07fa36a09be43", kill_on_drop: false }` [INFO] [stdout] 5a45de29514dedafd886cd21d9b03907bd8f01a61fabdb71e5c07fa36a09be43