[INFO] fetching crate baru 0.1.0... [INFO] testing baru-0.1.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate baru 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate baru 0.1.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate baru 0.1.0 [INFO] finished tweaking crates.io crate baru 0.1.0 [INFO] tweaked toml for crates.io crate baru 0.1.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d53ea9b30cbb5c6d38ba1cf5baa43fbd49517bfc03cca66800a46a1f8c5d2123 [INFO] running `Command { std: "docker" "start" "-a" "d53ea9b30cbb5c6d38ba1cf5baa43fbd49517bfc03cca66800a46a1f8c5d2123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d53ea9b30cbb5c6d38ba1cf5baa43fbd49517bfc03cca66800a46a1f8c5d2123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d53ea9b30cbb5c6d38ba1cf5baa43fbd49517bfc03cca66800a46a1f8c5d2123", kill_on_drop: false }` [INFO] [stdout] d53ea9b30cbb5c6d38ba1cf5baa43fbd49517bfc03cca66800a46a1f8c5d2123 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdc02e920d380196b03304e4932ac53529572fbb7bc7815c05fb6e72816af8b4 [INFO] running `Command { std: "docker" "start" "-a" "bdc02e920d380196b03304e4932ac53529572fbb7bc7815c05fb6e72816af8b4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling bitcoin_hashes v0.7.6 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling bech32 v0.7.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling secp256k1-sys v0.4.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling secp256k1-zkp-sys v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling slip21 v0.2.0 [INFO] [stderr] Compiling bitcoin_hashes v0.9.7 [INFO] [stderr] Compiling rust_decimal v1.15.0 [INFO] [stderr] Compiling secp256k1 v0.20.3 [INFO] [stderr] Compiling secp256k1-zkp v0.4.0 [INFO] [stderr] Compiling bitcoin v0.26.2 [INFO] [stderr] Compiling elements v0.17.0 [INFO] [stderr] Compiling baru v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.23s [INFO] running `Command { std: "docker" "inspect" "bdc02e920d380196b03304e4932ac53529572fbb7bc7815c05fb6e72816af8b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdc02e920d380196b03304e4932ac53529572fbb7bc7815c05fb6e72816af8b4", kill_on_drop: false }` [INFO] [stdout] bdc02e920d380196b03304e4932ac53529572fbb7bc7815c05fb6e72816af8b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 226abf35928b6fa5a1d653500f510938c98cea34b184abb62a28d3fbfa477d8a [INFO] running `Command { std: "docker" "start" "-a" "226abf35928b6fa5a1d653500f510938c98cea34b184abb62a28d3fbfa477d8a", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling testcontainers v0.12.0 [INFO] [stderr] Compiling baru v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> tests/swap_happy_path.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> src/loan/protocol_tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> src/loan/protocol_tests.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `elements_harness` [INFO] [stdout] --> tests/swap_happy_path.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use elements_harness::Elementsd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `elements_harness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `elements_rpc` [INFO] [stdout] --> tests/swap_happy_path.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use elements_rpc::{Client, ElementsRpc}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `elements_rpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `baru::input::Input` [INFO] [stdout] --> tests/swap_happy_path.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use baru::input::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Actor`, `alice_finalize_transaction`, `bob_create_transaction`, `sign_with_key` [INFO] [stdout] --> tests/swap_happy_path.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use baru::swap::{alice_finalize_transaction, bob_create_transaction, sign_with_key, Actor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin` [INFO] [stdout] --> tests/swap_happy_path.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | bitcoin, opcodes, Address, AddressParams, OutPoint, SigHashType, Transaction, TxIn, TxOut, Txid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `testcontainers::clients::Cli` [INFO] [stdout] --> tests/swap_happy_path.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use testcontainers::clients::Cli; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `baru` due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `elements_harness` [INFO] [stdout] --> src/loan/protocol_tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use elements_harness::Elementsd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `elements_harness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `elements_rpc` [INFO] [stdout] --> src/loan/protocol_tests.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use elements_rpc::ElementsRpc; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `elements_rpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `elements_rpc` [INFO] [stdout] --> src/loan/protocol_tests.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | client: &elements_rpc::Client, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `elements_rpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `elements_rpc` [INFO] [stdout] --> src/loan/protocol_tests.rs:388:57 [INFO] [stdout] | [INFO] [stdout] 388 | pub async fn add_known_utxo(&mut self, client: &elements_rpc::Client, txid: Txid) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `elements_rpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Borrower0`, `Lender0` [INFO] [stdout] --> src/loan/protocol_tests.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::loan::{make_keypair, Borrower0, Lender0}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `testcontainers::clients::Cli` [INFO] [stdout] --> src/loan/protocol_tests.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use testcontainers::clients::Cli; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "226abf35928b6fa5a1d653500f510938c98cea34b184abb62a28d3fbfa477d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "226abf35928b6fa5a1d653500f510938c98cea34b184abb62a28d3fbfa477d8a", kill_on_drop: false }` [INFO] [stdout] 226abf35928b6fa5a1d653500f510938c98cea34b184abb62a28d3fbfa477d8a