[INFO] fetching crate ree-exchange-sdk 0.10.0... [INFO] testing ree-exchange-sdk-0.10.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate ree-exchange-sdk 0.10.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ree-exchange-sdk 0.10.0 [INFO] finished tweaking crates.io crate ree-exchange-sdk 0.10.0 [INFO] tweaked toml for crates.io crate ree-exchange-sdk 0.10.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ree-exchange-sdk 0.10.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ree-exchange-sdk 0.10.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff8106930199c07eea113d2f5619ea313ba0875ff263b9b936242d9ccf63b76d [INFO] running `Command { std: "docker" "start" "-a" "ff8106930199c07eea113d2f5619ea313ba0875ff263b9b936242d9ccf63b76d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff8106930199c07eea113d2f5619ea313ba0875ff263b9b936242d9ccf63b76d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff8106930199c07eea113d2f5619ea313ba0875ff263b9b936242d9ccf63b76d", kill_on_drop: false }` [INFO] [stdout] ff8106930199c07eea113d2f5619ea313ba0875ff263b9b936242d9ccf63b76d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca4dc62e6b98eaf40583ea29dc5b24db0f1022a6ab49c5bedfeaf9890c8b02fd [INFO] running `Command { std: "docker" "start" "-a" "ca4dc62e6b98eaf40583ea29dc5b24db0f1022a6ab49c5bedfeaf9890c8b02fd", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [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 cc v1.2.30 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling ic-cdk-executor v1.0.1 [INFO] [stderr] Compiling bitcoin v0.32.6 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling ic0 v1.0.0 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling ree-exchange-sdk-macro v0.10.0 [INFO] [stderr] Compiling thiserror v1.0.69 [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 ic_principal v0.1.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ic-stable-structures v0.7.0 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling candid v0.10.14 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling ic-management-canister-types v0.3.2 [INFO] [stderr] Compiling ic-cdk-macros v0.18.5 [INFO] [stderr] Compiling ic-cdk v0.18.5 [INFO] [stderr] Compiling ree-types v0.10.0 [INFO] [stderr] Compiling ree-exchange-sdk v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.96s [INFO] running `Command { std: "docker" "inspect" "ca4dc62e6b98eaf40583ea29dc5b24db0f1022a6ab49c5bedfeaf9890c8b02fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4dc62e6b98eaf40583ea29dc5b24db0f1022a6ab49c5bedfeaf9890c8b02fd", kill_on_drop: false }` [INFO] [stdout] ca4dc62e6b98eaf40583ea29dc5b24db0f1022a6ab49c5bedfeaf9890c8b02fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e959d11be85d0962eb7a25effe39c95907cbf428351a1f1d2d29964f90599171 [INFO] running `Command { std: "docker" "start" "-a" "e959d11be85d0962eb7a25effe39c95907cbf428351a1f1d2d29964f90599171", kill_on_drop: false }` [INFO] [stderr] Compiling ree-exchange-sdk v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "e959d11be85d0962eb7a25effe39c95907cbf428351a1f1d2d29964f90599171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e959d11be85d0962eb7a25effe39c95907cbf428351a1f1d2d29964f90599171", kill_on_drop: false }` [INFO] [stdout] e959d11be85d0962eb7a25effe39c95907cbf428351a1f1d2d29964f90599171 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b928f4cfc8ef1ee062ace627d2b3e193f83d44290834ca5d73a7b5adecea3c79 [INFO] running `Command { std: "docker" "start" "-a" "b928f4cfc8ef1ee062ace627d2b3e193f83d44290834ca5d73a7b5adecea3c79", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ree_exchange_sdk-905c6de741e4220e) [INFO] [stdout] [INFO] [stdout] running 2 tests [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.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ree_exchange_sdk [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/store.rs - store (line 6) ... FAILED [INFO] [stdout] test src/lib.rs - (line 4) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 23 | 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] 5 | #[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] 2 + use ree_exchange_sdk::prelude::exchange; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 12 | #[storage(memory = 0)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 7 + use ree_exchange_sdk::prelude::storage; [INFO] [stdout] | [INFO] [stdout] 7 + 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` in the current scope [INFO] [stdout] --> src/store.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 18 | 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` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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] 5 | 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] 38 | #[pools] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 36 + use ree_exchange_sdk::prelude::pools; [INFO] [stdout] | [INFO] [stdout] 36 + 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] 56 | #[hook] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 36 + use ree_exchange_sdk::prelude::hook; [INFO] [stdout] | [INFO] [stdout] 36 + 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] 62 | #[action(name = "swap")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 36 + use ree_exchange_sdk::prelude::action; [INFO] [stdout] | [INFO] [stdout] 36 + 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] 34 | #[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] 39 | 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] 34 | #[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] 39 | pub struct DummyPools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `PoolIterator` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:455:32 [INFO] [stdout] | [INFO] [stdout] 455 | pub struct PoolIterator { [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] 39 | 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] 39 | pub struct DummyPools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `PoolStorageAccess` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:432:32 [INFO] [stdout] | [INFO] [stdout] 432 | pub trait PoolStorageAccess { [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/store.rs - store (line 6) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.46s; merged doctests compilation took 0.21s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b928f4cfc8ef1ee062ace627d2b3e193f83d44290834ca5d73a7b5adecea3c79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b928f4cfc8ef1ee062ace627d2b3e193f83d44290834ca5d73a7b5adecea3c79", kill_on_drop: false }` [INFO] [stdout] b928f4cfc8ef1ee062ace627d2b3e193f83d44290834ca5d73a7b5adecea3c79