[INFO] fetching crate dlc-manager 0.7.1... [INFO] checking dlc-manager-0.7.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate dlc-manager 0.7.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate dlc-manager 0.7.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dlc-manager 0.7.1 [INFO] tweaked toml for crates.io crate dlc-manager 0.7.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dlc-manager 0.7.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 121 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.4.0 (available: v0.7.0) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.8) [INFO] [stderr] Adding hex-conservative v0.1.2 (available: v1.0.0) [INFO] [stderr] Adding lightning v0.0.125 (available: v0.1.5) [INFO] [stderr] Adding rand_chacha v0.3.1 (available: v0.9.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0ed901e330d55cca15e55d3ef4fbe1431f9d8f0e5d066fac8f39d6736bc267b [INFO] running `Command { std: "docker" "start" "-a" "a0ed901e330d55cca15e55d3ef4fbe1431f9d8f0e5d066fac8f39d6736bc267b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0ed901e330d55cca15e55d3ef4fbe1431f9d8f0e5d066fac8f39d6736bc267b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0ed901e330d55cca15e55d3ef4fbe1431f9d8f0e5d066fac8f39d6736bc267b", kill_on_drop: false }` [INFO] [stdout] a0ed901e330d55cca15e55d3ef4fbe1431f9d8f0e5d066fac8f39d6736bc267b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3029f7426a31f30eb4935e9bc30afb37ddfc6c78f4789ccc8de8427f5bf2e34 [INFO] running `Command { std: "docker" "start" "-a" "c3029f7426a31f30eb4935e9bc30afb37ddfc6c78f4789ccc8de8427f5bf2e34", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling secp256k1-zkp-sys v0.10.1 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking hex-conservative v0.1.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Checking minreq v2.14.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking jsonrpc v0.18.0 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking secp256k1-zkp v0.11.0 [INFO] [stderr] Checking lightning-types v0.1.0 [INFO] [stderr] Checking miniscript v12.3.5 [INFO] [stderr] Checking bitcoincore-rpc-json v0.19.0 [INFO] [stderr] Checking lightning-invoice v0.32.0 [INFO] [stderr] Checking lightning v0.0.125 [INFO] [stderr] Checking dlc v0.7.1 [INFO] [stderr] Checking dlc-trie v0.7.1 [INFO] [stderr] Checking bitcoincore-rpc v0.19.0 [INFO] [stderr] Checking dlc-messages v0.7.1 [INFO] [stderr] Checking dlc-manager v0.7.1 (/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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> src/contract_updater.rs:765:9 [INFO] [stdout] | [INFO] [stdout] 765 | use mocks::dlc_manager::contract::offered_contract::OfferedContract; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> src/manager.rs:2598:9 [INFO] [stdout] | [INFO] [stdout] 2598 | use mocks::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> src/contract_updater.rs:778:34 [INFO] [stdout] | [INFO] [stdout] 778 | let blockchain = Rc::new(mocks::mock_blockchain::MockBlockchain::new()); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> src/contract_updater.rs:783:30 [INFO] [stdout] | [INFO] [stdout] 783 | let wallet = Rc::new(mocks::mock_wallet::MockWallet::new( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> src/manager.rs:2635:9 [INFO] [stdout] | [INFO] [stdout] 2635 | mocks::mock_time::set_time(0); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> src/contract_updater.rs:788:9 [INFO] [stdout] | [INFO] [stdout] 788 | mocks::dlc_manager::contract_updater::accept_contract( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 763 + use crate::contract_updater; [INFO] [stdout] | [INFO] [stdout] help: if you import `contract_updater`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 788 - mocks::dlc_manager::contract_updater::accept_contract( [INFO] [stdout] 788 + 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 370 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.143/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | 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:2658:13 [INFO] [stdout] | [INFO] [stdout] 2658 | 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 370 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.143/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | 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:2675:13 [INFO] [stdout] | [INFO] [stdout] 2675 | 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 370 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.143/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | 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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `bitcoin_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bitcoin_test_utils`, use `cargo add bitcoin_test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `bitcoin_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bitcoin_test_utils`, use `cargo add bitcoin_test_utils` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `mocks` [INFO] [stdout] --> tests/test_utils.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use mocks::mock_oracle_provider::MockOracle; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `simple_wallet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_wallet`, use `cargo add simple_wallet` to add it to your `Cargo.toml` [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/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[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> tests/test_utils.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use mocks::mock_oracle_provider::MockOracle; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `bitcoin_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bitcoin_test_utils`, use `cargo add bitcoin_test_utils` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `simple_wallet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_wallet`, use `cargo add simple_wallet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use mocks::mock_time::MockTime; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `electrs_blockchain_provider` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `electrs_blockchain_provider`, use `cargo add electrs_blockchain_provider` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `simple_wallet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_wallet`, use `cargo add simple_wallet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> tests/test_utils.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use mocks::mock_oracle_provider::MockOracle; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dlc-manager` (test "test_utils") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 unresolved module or unlinked crate `simple_wallet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_wallet`, use `cargo add simple_wallet` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `electrs_blockchain_provider` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `electrs_blockchain_provider`, use `cargo add electrs_blockchain_provider` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `simple_wallet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_wallet`, use `cargo add simple_wallet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `simple_wallet` [INFO] [stdout] --> tests/test_utils.rs:572:14 [INFO] [stdout] | [INFO] [stdout] 572 | wallet: &simple_wallet::SimpleWallet, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `simple_wallet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_wallet`, use `cargo add simple_wallet` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:1252:13 [INFO] [stdout] | [INFO] [stdout] 1252 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> tests/manager_execution_tests.rs:882:21 [INFO] [stdout] | [INFO] [stdout] 882 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:1273:17 [INFO] [stdout] | [INFO] [stdout] 1273 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:1282:17 [INFO] [stdout] | [INFO] [stdout] 1282 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:1293:17 [INFO] [stdout] | [INFO] [stdout] 1293 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:1329:9 [INFO] [stdout] | [INFO] [stdout] 1329 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:1350:13 [INFO] [stdout] | [INFO] [stdout] 1350 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mocks` [INFO] [stdout] --> tests/channel_execution_tests.rs:1365:13 [INFO] [stdout] | [INFO] [stdout] 1365 | mocks::mock_time::set_time( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mocks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mocks`, use `cargo add mocks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `simple_wallet` [INFO] [stdout] --> tests/test_utils.rs:572:14 [INFO] [stdout] | [INFO] [stdout] 572 | wallet: &simple_wallet::SimpleWallet, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `simple_wallet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_wallet`, use `cargo add simple_wallet` to add it to your `Cargo.toml` [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 15 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `simple_wallet` [INFO] [stdout] --> tests/test_utils.rs:572:14 [INFO] [stdout] | [INFO] [stdout] 572 | wallet: &simple_wallet::SimpleWallet, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `simple_wallet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_wallet`, use `cargo add simple_wallet` to add it to your `Cargo.toml` [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 23 previous errors [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 12 previous errors [INFO] running `Command { std: "docker" "inspect" "c3029f7426a31f30eb4935e9bc30afb37ddfc6c78f4789ccc8de8427f5bf2e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3029f7426a31f30eb4935e9bc30afb37ddfc6c78f4789ccc8de8427f5bf2e34", kill_on_drop: false }` [INFO] [stdout] c3029f7426a31f30eb4935e9bc30afb37ddfc6c78f4789ccc8de8427f5bf2e34