[INFO] fetching crate dlc-manager 0.7.0... [INFO] checking dlc-manager-0.7.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate dlc-manager 0.7.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate dlc-manager 0.7.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dlc-manager 0.7.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dlc-manager 0.7.0 [INFO] tweaked toml for crates.io crate dlc-manager 0.7.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 119 packages to latest compatible versions [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 hex-conservative v0.1.2 (available: v0.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoincore-rpc-json v0.19.0 [INFO] [stderr] Downloaded dlc-trie v0.7.0 [INFO] [stderr] Downloaded secp256k1-zkp v0.11.0 [INFO] [stderr] Downloaded dlc v0.7.0 [INFO] [stderr] Downloaded bitcoincore-rpc v0.19.0 [INFO] [stderr] Downloaded minreq v2.12.0 [INFO] [stderr] Downloaded jsonrpc v0.18.0 [INFO] [stderr] Downloaded miniscript v12.2.0 [INFO] [stderr] Downloaded lightning v0.0.125 [INFO] [stderr] Downloaded secp256k1-zkp-sys v0.10.1 [INFO] [stderr] Downloaded dlc-messages v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 750db1236cbec1e0e94154c0ec4b3f406786c3f9ca5a20d331e66de1e7d82922 [INFO] running `Command { std: "docker" "start" "-a" "750db1236cbec1e0e94154c0ec4b3f406786c3f9ca5a20d331e66de1e7d82922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "750db1236cbec1e0e94154c0ec4b3f406786c3f9ca5a20d331e66de1e7d82922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "750db1236cbec1e0e94154c0ec4b3f406786c3f9ca5a20d331e66de1e7d82922", kill_on_drop: false }` [INFO] [stdout] 750db1236cbec1e0e94154c0ec4b3f406786c3f9ca5a20d331e66de1e7d82922 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c37ee766766d933d79b9f94fad5c30d0af4c01614d72bcda479e9eadb7425f64 [INFO] running `Command { std: "docker" "start" "-a" "c37ee766766d933d79b9f94fad5c30d0af4c01614d72bcda479e9eadb7425f64", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling bitcoin v0.32.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling minreq v2.12.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking hex-conservative v0.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling secp256k1-zkp-sys v0.10.1 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.215 [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 bitcoin_hashes v0.14.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking base58ck v0.1.0 [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 miniscript v12.2.0 [INFO] [stderr] Checking lightning-types v0.1.0 [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.0 [INFO] [stderr] Checking dlc-trie v0.7.0 [INFO] [stderr] Checking bitcoincore-rpc v0.19.0 [INFO] [stderr] Checking dlc-messages v0.7.0 [INFO] [stderr] Checking dlc-manager v0.7.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:765:9 [INFO] [stdout] | [INFO] [stdout] 765 | 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:2590:9 [INFO] [stdout] | [INFO] [stdout] 2590 | 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:778:34 [INFO] [stdout] | [INFO] [stdout] 778 | 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:783:30 [INFO] [stdout] | [INFO] [stdout] 783 | 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:2627:9 [INFO] [stdout] | [INFO] [stdout] 2627 | 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:788:9 [INFO] [stdout] | [INFO] [stdout] 788 | 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] 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-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | 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:2650:13 [INFO] [stdout] | [INFO] [stdout] 2650 | 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-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | 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:2667:13 [INFO] [stdout] | [INFO] [stdout] 2667 | 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-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | 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/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_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_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[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] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [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[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] [stderr] error: could not compile `dlc-manager` (lib test) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `secp256k1_zkp::KeyPair` [INFO] [stdout] --> benches/benchmarks.rs:26:62 [INFO] [stdout] | [INFO] [stdout] 26 | global::SECP256K1, rand::thread_rng, schnorr::Signature, KeyPair, SecretKey, XOnlyPublicKey, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `KeyPair` in the root [INFO] [stdout] | help: a similar name exists in the module: `Keypair` [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] 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: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/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: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[E0599]: no function or associated item named `new_v0_p2wpkh` found for struct `ScriptBuf` in the current scope [INFO] [stdout] --> benches/benchmarks.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | ScriptBuf::new_v0_p2wpkh(&WPubkeyHash::hash(&get_pubkey().serialize())) [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `ScriptBuf` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ScriptBuf` consider using one of the following associated functions: [INFO] [stdout] ScriptBuf::new [INFO] [stdout] ScriptBuf::with_capacity [INFO] [stdout] ScriptBuf::new_p2pk [INFO] [stdout] ScriptBuf::new_p2pkh [INFO] [stdout] and 10 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitcoin-0.32.4/src/blockdata/script/owned.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub const fn new() -> Self { ScriptBuf(Vec::new()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn with_capacity(capacity: usize) -> Self { ScriptBuf(Vec::with_capacity(capacity)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn new_p2pk(pubkey: &PublicKey) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn new_p2pkh(pubkey_hash: &PubkeyHash) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `new_p2wpkh` with a similar name [INFO] [stdout] | [INFO] [stdout] 142 | ScriptBuf::new_p2wpkh(&WPubkeyHash::hash(&get_pubkey().serialize())) [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dlc-manager` (test "test_utils") due to 5 previous errors [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 `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: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: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: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] [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: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/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: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[E0308]: mismatched types [INFO] [stdout] --> benches/benchmarks.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 232 | .get_adaptor_info( [INFO] [stdout] | ---------------- arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 237 | fund_output_value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `Amount` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/contract/contract_info.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn get_adaptor_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] 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[E0308]: mismatched types [INFO] [stdout] --> benches/benchmarks.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 256 | .get_adaptor_info( [INFO] [stdout] | ---------------- arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 261 | fund_output_value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `Amount` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/contract/contract_info.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn get_adaptor_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dlc-manager` (test "manager_execution_tests") due to 15 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/benchmarks.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 271 | .verify_adaptor_info( [INFO] [stdout] | ------------------- arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 275 | fund_output_value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `Amount` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/contract/contract_info.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn verify_adaptor_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] 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: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dlc-manager` (bench "benchmarks") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "c37ee766766d933d79b9f94fad5c30d0af4c01614d72bcda479e9eadb7425f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c37ee766766d933d79b9f94fad5c30d0af4c01614d72bcda479e9eadb7425f64", kill_on_drop: false }` [INFO] [stdout] c37ee766766d933d79b9f94fad5c30d0af4c01614d72bcda479e9eadb7425f64