[INFO] fetching crate ree-exchange-sdk 0.12.1...
[INFO] testing ree-exchange-sdk-0.12.1 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate ree-exchange-sdk 0.12.1 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate ree-exchange-sdk 0.12.1
[INFO] finished tweaking crates.io crate ree-exchange-sdk 0.12.1
[INFO] tweaked toml for crates.io crate ree-exchange-sdk 0.12.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ree-exchange-sdk 0.12.1 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate ree-exchange-sdk 0.12.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4f3a781efa04b9fd2a7eea13e294146ee95e8a5a4624ce7c1821d73111f65c6a
[INFO] running `Command { std: "docker" "start" "-a" "4f3a781efa04b9fd2a7eea13e294146ee95e8a5a4624ce7c1821d73111f65c6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4f3a781efa04b9fd2a7eea13e294146ee95e8a5a4624ce7c1821d73111f65c6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f3a781efa04b9fd2a7eea13e294146ee95e8a5a4624ce7c1821d73111f65c6a", kill_on_drop: false }`
[INFO] [stdout] 4f3a781efa04b9fd2a7eea13e294146ee95e8a5a4624ce7c1821d73111f65c6a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 352d1a4b7b76f9ae4a9e159f57f4dbd715ff3169c31f0d68fa53adf9ac3d196a
[INFO] running `Command { std: "docker" "start" "-a" "352d1a4b7b76f9ae4a9e159f57f4dbd715ff3169c31f0d68fa53adf9ac3d196a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.104
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.6
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling bitcoin-io v0.1.4
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling bitcoin-internals v0.3.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling pretty v0.12.5
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling hex-conservative v0.2.2
[INFO] [stderr]    Compiling slotmap v1.1.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling hex_lit v0.1.1
[INFO] [stderr]    Compiling ic-cdk-executor v1.0.2
[INFO] [stderr]    Compiling bitcoin v0.32.8
[INFO] [stderr]    Compiling ic0 v1.0.1
[INFO] [stderr]    Compiling bech32 v0.11.1
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling stacker v0.1.22
[INFO] [stderr]    Compiling secp256k1-sys v0.10.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling serde_bytes v0.11.19
[INFO] [stderr]    Compiling ar_archive_writer v0.2.0
[INFO] [stderr]    Compiling psm v0.1.28
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling candid_derive v0.10.20
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling ree-exchange-sdk-macro v0.12.1
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling ic_principal v0.1.1
[INFO] [stderr]    Compiling bitcoin_hashes v0.14.1
[INFO] [stderr]    Compiling ic-error-types v0.2.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling bitcoin-units v0.1.2
[INFO] [stderr]    Compiling ic-stable-structures v0.7.2
[INFO] [stderr]    Compiling secp256k1 v0.29.1
[INFO] [stderr]    Compiling base58ck v0.1.0
[INFO] [stderr]    Compiling candid v0.10.20
[INFO] [stderr]    Compiling ic-management-canister-types v0.3.3
[INFO] [stderr]    Compiling ic-cdk-macros v0.18.7
[INFO] [stderr]    Compiling ic-cdk v0.18.7
[INFO] [stderr]    Compiling ree-types v0.12.1
[INFO] [stderr]    Compiling ree-exchange-sdk v0.12.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.05s
[INFO] running `Command { std: "docker" "inspect" "352d1a4b7b76f9ae4a9e159f57f4dbd715ff3169c31f0d68fa53adf9ac3d196a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "352d1a4b7b76f9ae4a9e159f57f4dbd715ff3169c31f0d68fa53adf9ac3d196a", kill_on_drop: false }`
[INFO] [stdout] 352d1a4b7b76f9ae4a9e159f57f4dbd715ff3169c31f0d68fa53adf9ac3d196a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0ad1789d0467d06cb9fbd4652eb3ae6cebd8c2b00227260c13860510e3420d7a
[INFO] running `Command { std: "docker" "start" "-a" "0ad1789d0467d06cb9fbd4652eb3ae6cebd8c2b00227260c13860510e3420d7a", kill_on_drop: false }`
[INFO] [stderr]    Compiling ree-exchange-sdk v0.12.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.81s
[INFO] running `Command { std: "docker" "inspect" "0ad1789d0467d06cb9fbd4652eb3ae6cebd8c2b00227260c13860510e3420d7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ad1789d0467d06cb9fbd4652eb3ae6cebd8c2b00227260c13860510e3420d7a", kill_on_drop: false }`
[INFO] [stdout] 0ad1789d0467d06cb9fbd4652eb3ae6cebd8c2b00227260c13860510e3420d7a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6f155c0d3ea534467c1e6ba0609f9fef9b92623be16ef1b0a47c6fdd558591a2
[INFO] running `Command { std: "docker" "start" "-a" "6f155c0d3ea534467c1e6ba0609f9fef9b92623be16ef1b0a47c6fdd558591a2", kill_on_drop: false }`
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stdout] running 2 tests
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ree_exchange_sdk-b2328d13749a852e)
[INFO] [stderr]    Doc-tests ree_exchange_sdk
[INFO] [stdout] test test::test_pool_rollback ... ok
[INFO] [stdout] test test::test_candid_and_bincode_serialize ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - Upgrade (line 549) ... FAILED
[INFO] [stdout] test src/store.rs - store (line 6) ... FAILED
[INFO] [stdout] test src/lib.rs - Upgrade (line 579) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 4) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Upgrade (line 549) stdout ----
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]    --> src/lib.rs:560:24
[INFO] [stdout]     |
[INFO] [stdout] 560 | #[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq, Default)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these derive macros
[INFO] [stdout]     |
[INFO] [stdout] 549 + use candid::Deserialize;
[INFO] [stdout]     |
[INFO] [stdout] 549 + use serde::Deserialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]    --> src/lib.rs:560:37
[INFO] [stdout]     |
[INFO] [stdout] 560 | #[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq, Default)]
[INFO] [stdout]     |                                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 549 + use serde::Serialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]    --> src/lib.rs:550:24
[INFO] [stdout]     |
[INFO] [stdout] 550 | #[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq, Default)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these derive macros
[INFO] [stdout]     |
[INFO] [stdout] 549 + use candid::Deserialize;
[INFO] [stdout]     |
[INFO] [stdout] 549 + use serde::Deserialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]    --> src/lib.rs:550:37
[INFO] [stdout]     |
[INFO] [stdout] 550 | #[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq, Default)]
[INFO] [stdout]     |                                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 549 + use serde::Serialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Txid` in this scope
[INFO] [stdout]    --> src/lib.rs:552:15
[INFO] [stdout]     |
[INFO] [stdout] 552 |     pub txid: Txid,
[INFO] [stdout]     |               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 549 + use ree_types::Txid;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CoinBalance` in this scope
[INFO] [stdout]    --> src/lib.rs:554:28
[INFO] [stdout]     |
[INFO] [stdout] 554 |     pub coin_reserved: Vec<CoinBalance>,
[INFO] [stdout]     |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 549 + use ree_types::CoinBalance;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Utxo` in this scope
[INFO] [stdout]    --> src/lib.rs:556:20
[INFO] [stdout]     |
[INFO] [stdout] 556 |     pub utxos: Vec<Utxo>,
[INFO] [stdout]     |                    ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 549 + use ic_cdk::api::management_canister::bitcoin::Utxo;
[INFO] [stdout]     |
[INFO] [stdout] 549 + use ic_cdk::bitcoin_canister::Utxo;
[INFO] [stdout]     |
[INFO] [stdout] 549 + use ree_types::Utxo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Pools` in this scope
[INFO] [stdout]    --> src/lib.rs:565:6
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Pools for MyPools {
[INFO] [stdout]     |      ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 549 + use ree_exchange_sdk::Pools;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyPools` in this scope
[INFO] [stdout]    --> src/lib.rs:565:16
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl Pools for MyPools {
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/store.rs - store (line 6) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `self::exchange`
[INFO] [stdout]   --> src/store.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | use self::exchange::*;
[INFO] [stdout]    |           ^^^^^^^^ could not find `exchange` in the crate root
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `exchange` in this scope
[INFO] [stdout]  --> src/store.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[exchange]
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `exchange` is in scope, but it is a module, not an attribute
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]   |
[INFO] [stdout] 5 + use ree_exchange_sdk::prelude::exchange;
[INFO] [stdout]   |
[INFO] [stdout] 5 + use ree_exchange_sdk_macro::exchange;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `storage` in this scope
[INFO] [stdout]   --> src/store.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[storage(memory = 0)]
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]    |
[INFO] [stdout] 10 +     use ree_exchange_sdk::prelude::storage;
[INFO] [stdout]    |
[INFO] [stdout] 10 +     use ree_exchange_sdk_macro::storage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `with_mut` found for struct `ree_exchange_sdk::store::StableBTreeMap<K, V>` in the current scope
[INFO] [stdout]   --> src/store.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |         DummyStorage::with_mut(|map| map.insert("hello".to_string(), "world".to_string()));
[INFO] [stdout]    |                       ^^^^^^^^ function or associated item not found in `ree_exchange_sdk::store::StableBTreeMap<std::string::String, std::string::String>`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/store.rs:21:33
[INFO] [stdout]    |
[INFO] [stdout] 21 |         DummyStorage::with_mut(|map| map.insert("hello".to_string(), "world".to_string()));
[INFO] [stdout]    |                                 ^^^  --- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 21 |         DummyStorage::with_mut(|map: /* Type */| map.insert("hello".to_string(), "world".to_string()));
[INFO] [stdout]    |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/store.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 |    DummyStorage::with_mut(|map| map.insert("foo".to_string(), "bar".to_string()));
[INFO] [stdout]    |                            ^^^  --- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 30 |    DummyStorage::with_mut(|map: /* Type */| map.insert("foo".to_string(), "bar".to_string()));
[INFO] [stdout]    |                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Upgrade (line 579) stdout ----
[INFO] [stdout] error: cannot find attribute `upgrade` in this scope
[INFO] [stdout]    --> src/lib.rs:607:3
[INFO] [stdout]     |
[INFO] [stdout] 607 | #[upgrade]
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]     |
[INFO] [stdout] 579 + use ree_exchange_sdk::prelude::upgrade;
[INFO] [stdout]     |
[INFO] [stdout] 579 + use ree_exchange_sdk_macro::upgrade;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]    --> src/lib.rs:590:24
[INFO] [stdout]     |
[INFO] [stdout] 590 | #[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq, Default)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these derive macros
[INFO] [stdout]     |
[INFO] [stdout] 579 + use candid::Deserialize;
[INFO] [stdout]     |
[INFO] [stdout] 579 + use serde::Deserialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]    --> src/lib.rs:590:37
[INFO] [stdout]     |
[INFO] [stdout] 590 | #[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq, Default)]
[INFO] [stdout]     |                                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 579 + use serde::Serialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]    --> src/lib.rs:580:24
[INFO] [stdout]     |
[INFO] [stdout] 580 | #[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq, Default)]
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these derive macros
[INFO] [stdout]     |
[INFO] [stdout] 579 + use candid::Deserialize;
[INFO] [stdout]     |
[INFO] [stdout] 579 + use serde::Deserialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]    --> src/lib.rs:580:37
[INFO] [stdout]     |
[INFO] [stdout] 580 | #[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq, Default)]
[INFO] [stdout]     |                                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 579 + use serde::Serialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Txid` in this scope
[INFO] [stdout]    --> src/lib.rs:582:15
[INFO] [stdout]     |
[INFO] [stdout] 582 |     pub txid: Txid,
[INFO] [stdout]     |               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 579 + use ree_types::Txid;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CoinBalance` in this scope
[INFO] [stdout]    --> src/lib.rs:584:28
[INFO] [stdout]     |
[INFO] [stdout] 584 |     pub coin_reserved: Vec<CoinBalance>,
[INFO] [stdout]     |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 579 + use ree_types::CoinBalance;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Utxo` in this scope
[INFO] [stdout]    --> src/lib.rs:586:20
[INFO] [stdout]     |
[INFO] [stdout] 586 |     pub utxos: Vec<Utxo>,
[INFO] [stdout]     |                    ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 579 + use ic_cdk::api::management_canister::bitcoin::Utxo;
[INFO] [stdout]     |
[INFO] [stdout] 579 + use ic_cdk::bitcoin_canister::Utxo;
[INFO] [stdout]     |
[INFO] [stdout] 579 + use ree_types::Utxo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Txid` in this scope
[INFO] [stdout]    --> src/lib.rs:592:15
[INFO] [stdout]     |
[INFO] [stdout] 592 |     pub txid: Txid,
[INFO] [stdout]     |               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 579 + use ree_types::Txid;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CoinBalance` in this scope
[INFO] [stdout]    --> src/lib.rs:594:28
[INFO] [stdout]     |
[INFO] [stdout] 594 |     pub coin_reserved: Vec<CoinBalance>,
[INFO] [stdout]     |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 579 + use ree_types::CoinBalance;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Utxo` in this scope
[INFO] [stdout]    --> src/lib.rs:596:20
[INFO] [stdout]     |
[INFO] [stdout] 596 |     pub utxos: Vec<Utxo>,
[INFO] [stdout]     |                    ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 579 + use ic_cdk::api::management_canister::bitcoin::Utxo;
[INFO] [stdout]     |
[INFO] [stdout] 579 + use ic_cdk::bitcoin_canister::Utxo;
[INFO] [stdout]     |
[INFO] [stdout] 579 + use ree_types::Utxo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyState` in this scope
[INFO] [stdout]    --> src/lib.rs:601:11
[INFO] [stdout]     |
[INFO] [stdout] 601 | impl Into<MyState> for OldState {
[INFO] [stdout]     |           ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 601 | impl<MyState> Into<MyState> for OldState {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OldState` in this scope
[INFO] [stdout]    --> src/lib.rs:601:24
[INFO] [stdout]     |
[INFO] [stdout] 601 | impl Into<MyState> for OldState {
[INFO] [stdout]     |                        ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyState` in this scope
[INFO] [stdout]    --> src/lib.rs:602:22
[INFO] [stdout]     |
[INFO] [stdout] 602 |     fn into(self) -> MyState {
[INFO] [stdout]     |                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Upgrade` in this scope
[INFO] [stdout]    --> src/lib.rs:608:6
[INFO] [stdout]     |
[INFO] [stdout] 608 | impl Upgrade<MyPools> for MyPools {
[INFO] [stdout]     |      ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 579 + use ree_exchange_sdk::Upgrade;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyPools` in this scope
[INFO] [stdout]    --> src/lib.rs:608:14
[INFO] [stdout]     |
[INFO] [stdout] 608 | impl Upgrade<MyPools> for MyPools {
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 608 | impl<MyPools> Upgrade<MyPools> for MyPools {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyPools` in this scope
[INFO] [stdout]    --> src/lib.rs:608:27
[INFO] [stdout]     |
[INFO] [stdout] 608 | impl Upgrade<MyPools> for MyPools {
[INFO] [stdout]     |                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OldState` in this scope
[INFO] [stdout]    --> src/lib.rs:609:22
[INFO] [stdout]     |
[INFO] [stdout] 609 |     type PoolState = OldState;
[INFO] [stdout]     |                      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Pools` in this scope
[INFO] [stdout]    --> src/lib.rs:619:6
[INFO] [stdout]     |
[INFO] [stdout] 619 | impl Pools for MyPools {
[INFO] [stdout]     |      ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 579 + use ree_exchange_sdk::Pools;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyPools` in this scope
[INFO] [stdout]    --> src/lib.rs:619:16
[INFO] [stdout]     |
[INFO] [stdout] 619 | impl Pools for MyPools {
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 4) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `self::exchange`
[INFO] [stdout]  --> src/lib.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use self::exchange::*;
[INFO] [stdout]   |           ^^^^^^^^ could not find `exchange` in the crate root
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pools` in this scope
[INFO] [stdout]   --> src/lib.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 39 |     #[pools]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use ree_exchange_sdk::prelude::pools;
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use ree_exchange_sdk_macro::pools;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `hook` in this scope
[INFO] [stdout]   --> src/lib.rs:57:7
[INFO] [stdout]    |
[INFO] [stdout] 57 |     #[hook]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use ree_exchange_sdk::prelude::hook;
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use ree_exchange_sdk_macro::hook;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `action` in this scope
[INFO] [stdout]   --> src/lib.rs:63:7
[INFO] [stdout]    |
[INFO] [stdout] 63 |     #[action(name = "swap")]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use ree_exchange_sdk::prelude::action;
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use ree_exchange_sdk_macro::action;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `DummyPools: Pools` is not satisfied
[INFO] [stdout]   --> src/lib.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[exchange]
[INFO] [stdout]    | ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Pools` is not implemented for `DummyPools`
[INFO] [stdout]   --> src/lib.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub struct DummyPools;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the attribute macro `exchange` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `DummyPools: Pools` is not satisfied
[INFO] [stdout]    --> src/lib.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | #[exchange]
[INFO] [stdout]     | ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Pools` is not implemented for `DummyPools`
[INFO] [stdout]    --> src/lib.rs:40:5
[INFO] [stdout]     |
[INFO] [stdout]  40 |     pub struct DummyPools;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `PoolIterator`
[INFO] [stdout]    --> src/lib.rs:662:32
[INFO] [stdout]     |
[INFO] [stdout] 662 |     pub struct PoolIterator<P: super::Pools> {
[INFO] [stdout]     |                                ^^^^^^^^^^^^ required by this bound in `PoolIterator`
[INFO] [stdout]     = note: this error originates in the attribute macro `exchange` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `DummyPools: Pools` is not satisfied
[INFO] [stdout]    --> src/lib.rs:40:16
[INFO] [stdout]     |
[INFO] [stdout]  40 |     pub struct DummyPools;
[INFO] [stdout]     |                ^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Pools` is not implemented for `DummyPools`
[INFO] [stdout]    --> src/lib.rs:40:5
[INFO] [stdout]     |
[INFO] [stdout]  40 |     pub struct DummyPools;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `PoolStorageAccess`
[INFO] [stdout]    --> src/lib.rs:498:32
[INFO] [stdout]     |
[INFO] [stdout] 498 | pub trait PoolStorageAccess<P: Pools> {
[INFO] [stdout]     |                                ^^^^^ required by this bound in `PoolStorageAccess`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 4)
[INFO] [stdout]     src/lib.rs - Upgrade (line 549)
[INFO] [stdout]     src/lib.rs - Upgrade (line 579)
[INFO] [stdout]     src/store.rs - store (line 6)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.72s; merged doctests compilation took 0.34s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "6f155c0d3ea534467c1e6ba0609f9fef9b92623be16ef1b0a47c6fdd558591a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f155c0d3ea534467c1e6ba0609f9fef9b92623be16ef1b0a47c6fdd558591a2", kill_on_drop: false }`
[INFO] [stdout] 6f155c0d3ea534467c1e6ba0609f9fef9b92623be16ef1b0a47c6fdd558591a2
