[INFO] cloning repository https://github.com/intbyte-100/mira-v1-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/intbyte-100/mira-v1-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fintbyte-100%2Fmira-v1-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fintbyte-100%2Fmira-v1-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2463ef49034d066be5b56876a8c7d2498c145b38 [INFO] testing intbyte-100/mira-v1-test against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fintbyte-100%2Fmira-v1-test" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/intbyte-100/mira-v1-test [INFO] finished tweaking git repo https://github.com/intbyte-100/mira-v1-test [INFO] tweaked toml for git repo https://github.com/intbyte-100/mira-v1-test written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/intbyte-100/mira-v1-test on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/intbyte-100/mira-v1-test 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 018b8a131c50965144f769bf8799512c0a8e25f489b51c25fde32566ccfa87ce [INFO] running `Command { std: "docker" "start" "-a" "018b8a131c50965144f769bf8799512c0a8e25f489b51c25fde32566ccfa87ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "018b8a131c50965144f769bf8799512c0a8e25f489b51c25fde32566ccfa87ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "018b8a131c50965144f769bf8799512c0a8e25f489b51c25fde32566ccfa87ce", kill_on_drop: false }` [INFO] [stdout] 018b8a131c50965144f769bf8799512c0a8e25f489b51c25fde32566ccfa87ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b37f283467e8aa27d910f9aa560dccd6eba30bebd8f1bd2c9c6a32ffa92a5f01 [INFO] running `Command { std: "docker" "start" "-a" "b37f283467e8aa27d910f9aa560dccd6eba30bebd8f1bd2c9c6a32ffa92a5f01", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling fuel-storage v0.58.2 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling winnow v0.6.22 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling ethnum v1.5.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling impl-tools v0.10.3 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling counter v0.5.7 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling impl-tools-lib v0.11.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling fuel-derive v0.58.2 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [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 crypto-bigint v0.5.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling graphql-parser v0.4.1 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling cynic-codegen v2.2.8 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling pin-project v1.1.8 [INFO] [stderr] Compiling portpicker v0.1.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling fuel-core-metrics v0.40.2 [INFO] [stderr] Compiling fuel-core-services v0.40.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tai64 v4.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling cynic-proc-macros v2.2.8 [INFO] [stderr] Compiling coins-core v0.8.7 [INFO] [stderr] Compiling fuel-types v0.58.2 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling fuel-merkle v0.58.2 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling coins-bip32 v0.8.7 [INFO] [stderr] Compiling postcard v1.1.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling coins-bip39 v0.8.7 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling fuel-abi-types v0.7.0 [INFO] [stderr] Compiling fuel-crypto v0.58.2 [INFO] [stderr] Compiling fuel-asm v0.58.2 [INFO] [stderr] Compiling eth-keystore v0.5.0 [INFO] [stderr] Compiling schemafy_core v0.5.2 [INFO] [stderr] Compiling schemafy_lib v0.5.2 [INFO] [stderr] Compiling which v6.0.3 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling fuel-core-client v0.40.1 [INFO] [stderr] Compiling fuels-code-gen v0.66.10 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling fuels-macros v0.66.10 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling eventsource-client v0.13.0 [INFO] [stderr] Compiling fuel-tx v0.58.2 [INFO] [stderr] Compiling cynic v2.2.8 [INFO] [stderr] Compiling fuel-vm v0.58.2 [INFO] [stderr] Compiling fuel-core-types v0.40.1 [INFO] [stderr] Compiling fuel-core-storage v0.40.1 [INFO] [stderr] Compiling fuel-core-chain-config v0.40.1 [INFO] [stderr] Compiling fuel-core-poa v0.40.1 [INFO] [stderr] Compiling fuels-core v0.66.10 [INFO] [stderr] Compiling fuels-accounts v0.66.10 [INFO] [stderr] Compiling fuels-programs v0.66.10 [INFO] [stderr] Compiling fuels-test-helpers v0.66.10 [INFO] [stderr] Compiling fuels v0.66.10 [INFO] [stderr] Compiling mira-v1 v0.1.9 (/opt/rustwide/workdir/mira-v1-rs/packages/mira-v1) [INFO] [stdout] error: failed to read `abi` file with path /opt/rustwide/workdir/sway-abis/add_liquidity_script/release/add_liquidity_script-abi.json: No such file or directory (os error 2) [INFO] [stdout] --> mira-v1-rs/packages/mira-v1/src/interface.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | abi = "sway-abis/add_liquidity_script/release/add_liquidity_script-abi.json" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::interface::AddLiquidityScript`, `crate::interface::AddLiquidityScriptConfigurables`, `crate::interface::MiraAmmContract`, `crate::interface::MiraAmmContractConfigurables`, `crate::interface::RemoveLiquidityScript`, `crate::interface::RemoveLiquidityScriptConfigurables`, `crate::interface::SwapExactInputScript`, `crate::interface::SwapExactInputScriptConfigurables`, `crate::interface::SwapExactOutputScript`, `crate::interface::SwapExactOutputScriptConfigurables` [INFO] [stdout] --> mira-v1-rs/packages/mira-v1/src/mira_amm.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | ...::{AddLiquidityScript, AddLiquidityScriptConfigurables, MiraAmmContract, MiraAmmContractConfigurables, PoolId, RemoveLiquidityScript, RemoveLiquidityScriptConfigurables, SwapExactInputScript, SwapExactInputScriptConfigurables, SwapExactOutputScript, SwapExactOutputScriptConfigurables, A... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SwapExactOutputScriptConfigurables` in `interface` [INFO] [stdout] | | | | | | | | | | [INFO] [stdout] | | | | | | | | | no `SwapExactOutputScript` in `interface` [INFO] [stdout] | | | | | | | | no `SwapExactInputScriptConfigurables` in `interface` [INFO] [stdout] | | | | | | | no `SwapExactInputScript` in `interface` [INFO] [stdout] | | | | | | no `RemoveLiquidityScriptConfigurables` in `interface` [INFO] [stdout] | | | | | no `RemoveLiquidityScript` in `interface` [INFO] [stdout] | | | | no `MiraAmmContractConfigurables` in `interface` [INFO] [stdout] | | | no `MiraAmmContract` in `interface` [INFO] [stdout] | | no `AddLiquidityScriptConfigurables` in `interface` [INFO] [stdout] | no `AddLiquidityScript` in `interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::interface::Asset`, `crate::interface::MiraAmmContract`, `crate::interface::PoolMetadata`, `crate::interface::State` [INFO] [stdout] --> mira-v1-rs/packages/mira-v1/src/readonly_mira_amm.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::interface::{AmmFees, Asset, LpAssetInfo, MiraAmmContract, PoolId, PoolMetadata, State}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ no `State` in `interface` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `PoolMetadata` in `interface` [INFO] [stdout] | | no `MiraAmmContract` in `interface` [INFO] [stdout] | no `Asset` in `interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::interface::PoolMetadata` [INFO] [stdout] --> mira-v1-rs/packages/mira-v1/src/pool_math.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::interface::{AmmFees, PoolId, PoolMetadata}; [INFO] [stdout] | ^^^^^^^^^^^^ no `PoolMetadata` in `interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mira-v1-rs/packages/mira-v1/src/pool_math.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | if (is_stable) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - if (is_stable) { [INFO] [stdout] 103 + if is_stable { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> mira-v1-rs/packages/mira-v1/src/pool_math.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | let _b: U256 = ((_x * _x) / one_e_18() + (_y * _y) / one_e_18()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - let _b: U256 = ((_x * _x) / one_e_18() + (_y * _y) / one_e_18()); [INFO] [stdout] 107 + let _b: U256 = (_x * _x) / one_e_18() + (_y * _y) / one_e_18(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_id` [INFO] [stdout] --> mira-v1-rs/packages/mira-v1/src/readonly_mira_amm.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | pool_id: PoolId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `liquidity` [INFO] [stdout] --> mira-v1-rs/packages/mira-v1/src/readonly_mira_amm.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | liquidity: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_liquidity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount_0_min` [INFO] [stdout] --> mira-v1-rs/packages/mira-v1/src/readonly_mira_amm.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | amount_0_min: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_0_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount_1_min` [INFO] [stdout] --> mira-v1-rs/packages/mira-v1/src/readonly_mira_amm.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | amount_1_min: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_1_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ViewOnlyAccount` [INFO] [stdout] --> mira-v1-rs/packages/mira-v1/src/mira_amm.rs:4:139 [INFO] [stdout] | [INFO] [stdout] 4 | ...sult, ScriptTransaction, TxPolicies, VariableOutputPolicy, ViewOnlyAccount, WalletUnlocked}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mira-v1` (lib) due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b37f283467e8aa27d910f9aa560dccd6eba30bebd8f1bd2c9c6a32ffa92a5f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b37f283467e8aa27d910f9aa560dccd6eba30bebd8f1bd2c9c6a32ffa92a5f01", kill_on_drop: false }` [INFO] [stdout] b37f283467e8aa27d910f9aa560dccd6eba30bebd8f1bd2c9c6a32ffa92a5f01