[INFO] fetching crate mira-v1 0.1.9...
[INFO] checking mira-v1-0.1.9 against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1
[INFO] extracting crate mira-v1 0.1.9 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate mira-v1 0.1.9
[INFO] finished tweaking crates.io crate mira-v1 0.1.9
[INFO] tweaked toml for crates.io crate mira-v1 0.1.9 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate mira-v1 0.1.9 on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 395 packages to latest compatible versions
[INFO] [stderr]       Adding fuel-core-chain-config v0.40.1 (available: v0.40.4)
[INFO] [stderr]       Adding fuel-core-client v0.40.1 (available: v0.40.4)
[INFO] [stderr]       Adding fuel-core-poa v0.40.1 (available: v0.40.4)
[INFO] [stderr]       Adding fuel-core-storage v0.40.1 (available: v0.40.4)
[INFO] [stderr]       Adding fuel-core-types v0.40.1 (available: v0.40.4)
[INFO] [stderr]       Adding fuels v0.66.10 (available: v0.77.0)
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding primitive-types v0.13.1 (available: v0.14.0)
[INFO] [stderr]       Adding rand v0.8.7 (available: v0.10.2)
[INFO] [stderr]       Adding sha2 v0.10.9 (available: v0.11.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2330727d1bee7034dbd335cdec2507703f230020fe1c05ad3f81184d116a9afc
[INFO] running `Command { std: "docker" "start" "2330727d1bee7034dbd335cdec2507703f230020fe1c05ad3f81184d116a9afc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2330727d1bee7034dbd335cdec2507703f230020fe1c05ad3f81184d116a9afc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2330727d1bee7034dbd335cdec2507703f230020fe1c05ad3f81184d116a9afc" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2330727d1bee7034dbd335cdec2507703f230020fe1c05ad3f81184d116a9afc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2330727d1bee7034dbd335cdec2507703f230020fe1c05ad3f81184d116a9afc" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]     Checking typenum v1.20.1
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling zerocopy v0.8.55
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]     Checking memchr v2.8.3
[INFO] [stderr]    Compiling cc v1.3.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking bytes v1.12.1
[INFO] [stderr]    Compiling semver v1.0.28
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]     Checking futures-core v0.3.33
[INFO] [stderr]    Compiling rustversion v1.0.23
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking socket2 v0.6.5
[INFO] [stderr]     Checking mio v1.2.2
[INFO] [stderr]     Checking futures-sink v0.3.33
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking futures-channel v0.3.33
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking futures-task v0.3.33
[INFO] [stderr]     Checking futures-io v0.3.33
[INFO] [stderr]     Checking keccak v0.1.6
[INFO] [stderr]     Checking bitflags v2.13.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking writeable v0.6.3
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]     Checking litemap v0.8.2
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling secp256k1-sys v0.10.1
[INFO] [stderr]    Compiling thiserror v2.0.19
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]     Checking either v1.16.0
[INFO] [stderr]     Checking bech32 v0.9.1
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]    Compiling heapless v0.7.17
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking rand v0.8.7
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling thiserror-impl v2.0.19
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]     Checking bitvec v1.1.1
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling zeroize_derive v1.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]     Checking zeroize v1.9.0
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]     Checking yoke v0.8.3
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling tokio-macros v2.7.1
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]    Compiling futures-macro v0.3.33
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]     Checking sha3 v0.10.9
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking tokio v1.53.1
[INFO] [stderr]     Checking ripemd v0.1.3
[INFO] [stderr]    Compiling fuel-derive v0.58.2
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]     Checking futures-util v0.3.33
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking coins-core v0.8.7
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]     Checking fuel-types v0.58.2
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]    Compiling regex-automata v0.4.16
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking coins-bip32 v0.8.7
[INFO] [stderr]     Checking hash32 v0.2.1
[INFO] [stderr]     Checking spin v0.9.9
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling anyhow v1.0.104
[INFO] [stderr]     Checking hashbrown v0.17.1
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking fixed-hash v0.8.0
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking strum v0.24.1
[INFO] [stderr]     Checking coins-bip39 v0.8.7
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking ed25519-dalek v2.2.0
[INFO] [stderr]     Checking cobs v0.3.0
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking secp256k1 v0.29.1
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling winnow v1.0.4
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]     Checking log v0.4.33
[INFO] [stderr]     Checking tokio-util v0.7.19
[INFO] [stderr]     Checking fuel-storage v0.58.2
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking fuel-crypto v0.58.2
[INFO] [stderr]     Checking postcard v1.1.3
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]    Compiling serde_with_macros v3.21.0
[INFO] [stderr]     Checking fuel-asm v0.58.2
[INFO] [stderr]    Compiling toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]     Checking fuel-merkle v0.58.2
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling async-trait v0.1.91
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling num-conv v0.2.2
[INFO] [stderr]    Compiling toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]    Compiling time-core v0.1.9
[INFO] [stderr]     Checking serde_with v3.21.0
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling time-macros v0.2.32
[INFO] [stderr]    Compiling toml_edit v0.25.13+spec-1.1.0
[INFO] [stderr]     Checking tinyvec v1.12.0
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking primitive-types v0.12.2
[INFO] [stderr]     Checking fuel-tx v0.58.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]     Checking tai64 v4.1.0
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling cookie v0.17.0
[INFO] [stderr]     Checking ethnum v1.5.3
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]    Compiling proc-macro-crate v3.5.0
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]     Checking futures-executor v0.3.33
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]    Compiling strum_macros v0.25.3
[INFO] [stderr]    Compiling impl-tools v0.10.3
[INFO] [stderr]     Checking strum v0.25.0
[INFO] [stderr]     Checking time v0.3.54
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]     Checking psl-types v2.0.11
[INFO] [stderr]     Checking publicsuffix v2.3.0
[INFO] [stderr]    Compiling counter v0.5.7
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]    Compiling num_enum_derive v0.7.6
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking futures v0.3.33
[INFO] [stderr]    Compiling impl-tools-lib v0.11.4
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling schemafy_core v0.5.2
[INFO] [stderr]    Compiling enum-iterator-derive v1.5.0
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]     Checking unicode-ident v1.0.24
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling schemafy_lib v0.5.2
[INFO] [stderr]     Checking num_enum v0.7.6
[INFO] [stderr]     Checking enum-iterator v1.5.0
[INFO] [stderr]     Checking cookie_store v0.20.0
[INFO] [stderr]     Checking tokio-io-timeout v1.2.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.13
[INFO] [stderr]     Checking fuel-vm v0.58.2
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]    Compiling fuel-core-client v0.40.1
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]    Compiling prometheus-client v0.22.3
[INFO] [stderr]    Compiling fuel-abi-types v0.7.0
[INFO] [stderr]     Checking pin-project v1.1.13
[INFO] [stderr]     Checking eventsource-client v0.13.0
[INFO] [stderr]     Checking salsa20 v0.10.2
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]    Compiling prometheus-client-derive-encode v0.4.2
[INFO] [stderr]     Checking dtoa v1.0.11
[INFO] [stderr]     Checking scrypt v0.10.0
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]    Compiling graphql-parser v0.4.1
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking fuel-core-metrics v0.40.4
[INFO] [stderr]     Checking eth-keystore v0.5.0
[INFO] [stderr]    Compiling fuels-code-gen v0.66.10
[INFO] [stderr]     Checking rustix v1.1.4
[INFO] [stderr]     Checking fuel-core-services v0.40.4
[INFO] [stderr]     Checking fuel-core-types v0.40.1
[INFO] [stderr]     Checking tokio-stream v0.1.19
[INFO] [stderr]     Checking fastrand v2.5.0
[INFO] [stderr]     Checking home v0.5.12
[INFO] [stderr]     Checking portpicker v0.1.1
[INFO] [stderr]    Compiling cynic-codegen v2.2.8
[INFO] [stderr]     Checking uint v0.10.0
[INFO] [stderr]     Checking primitive-types v0.13.1
[INFO] [stderr]    Compiling fuels-macros v0.66.10
[INFO] [stderr]     Checking fuel-core-storage v0.40.1
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking which v6.0.3
[INFO] [stderr]     Checking fuel-core-chain-config v0.40.1
[INFO] [stderr]     Checking fuel-core-poa v0.40.1
[INFO] [stderr]    Compiling cynic-proc-macros v2.2.8
[INFO] [stderr]     Checking cynic v2.2.8
[INFO] [stderr]     Checking fuels-core v0.66.10
[INFO] [stderr]     Checking fuels-accounts v0.66.10
[INFO] [stderr]     Checking fuels-programs v0.66.10
[INFO] [stderr]     Checking fuels-test-helpers v0.66.10
[INFO] [stderr]     Checking fuels v0.66.10
[INFO] [stderr]     Checking mira-v1 v0.1.9 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pool_math.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 |     if (is_stable) {
[INFO] [stdout]     |        ^         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) 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]    --> 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: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pool_math.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 |     if (is_stable) {
[INFO] [stdout]     |        ^         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) 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]    --> 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 import: `ViewOnlyAccount`
[INFO] [stdout]  --> src/mira_amm.rs:4:139
[INFO] [stdout]   |
[INFO] [stdout] 4 | ...lt, ScriptTransaction, TxPolicies, VariableOutputPolicy, ViewOnlyAccount, WalletUnlocked};
[INFO] [stdout]   |                                                             ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool_id`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount_0_desired`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         amount_0_desired: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_0_desired`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount_1_desired`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |         amount_1_desired: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_1_desired`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount_0_min`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |         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]    --> src/readonly_mira_amm.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 |         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 variable: `pool_id`
[INFO] [stdout]    --> 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] 
[INFO] [stdout] warning: unused variable: `liquidity`
[INFO] [stdout]    --> 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]    --> 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]    --> 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 variable: `amount_in`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |         amount_in: u64,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_in`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `asset_in`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:162:9
[INFO] [stdout]     |
[INFO] [stdout] 162 |         asset_in: AssetId,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_in`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pools`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |         pools: Vec<PoolId>,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount_out`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |         amount_out: u64,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `asset_out`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |         asset_out: AssetId,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pools`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         pools: Vec<PoolId>,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `provider` is never read
[INFO] [stdout]  --> src/readonly_mira_amm.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ReadonlyMiraAmm {
[INFO] [stdout]   |            --------------- field in this struct
[INFO] [stdout] 9 |     provider: Provider,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ViewOnlyAccount`
[INFO] [stdout]  --> src/mira_amm.rs:4:139
[INFO] [stdout]   |
[INFO] [stdout] 4 | ...lt, ScriptTransaction, TxPolicies, VariableOutputPolicy, ViewOnlyAccount, WalletUnlocked};
[INFO] [stdout]   |                                                             ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool_id`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount_0_desired`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         amount_0_desired: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_0_desired`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount_1_desired`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |         amount_1_desired: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_1_desired`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount_0_min`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |         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]    --> src/readonly_mira_amm.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 |         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 variable: `pool_id`
[INFO] [stdout]    --> 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] 
[INFO] [stdout] warning: unused variable: `liquidity`
[INFO] [stdout]    --> 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]    --> 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]    --> 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 variable: `amount_in`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |         amount_in: u64,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_in`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `asset_in`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:162:9
[INFO] [stdout]     |
[INFO] [stdout] 162 |         asset_in: AssetId,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_in`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pools`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |         pools: Vec<PoolId>,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount_out`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |         amount_out: u64,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `asset_out`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |         asset_out: AssetId,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pools`
[INFO] [stdout]    --> src/readonly_mira_amm.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         pools: Vec<PoolId>,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `provider` is never read
[INFO] [stdout]  --> src/readonly_mira_amm.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ReadonlyMiraAmm {
[INFO] [stdout]   |            --------------- field in this struct
[INFO] [stdout] 9 |     provider: Provider,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 06s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "2330727d1bee7034dbd335cdec2507703f230020fe1c05ad3f81184d116a9afc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2330727d1bee7034dbd335cdec2507703f230020fe1c05ad3f81184d116a9afc", kill_on_drop: false }`
[INFO] [stdout] 2330727d1bee7034dbd335cdec2507703f230020fe1c05ad3f81184d116a9afc
