[INFO] fetching crate mira-v1 0.1.9... [INFO] testing mira-v1-0.1.9 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate mira-v1 0.1.9 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mira-v1 0.1.9 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 401 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.74.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77c3eceba6789ef572f77a7bd2911028b994a6a72006270adcb5d8df439dfe3c [INFO] running `Command { std: "docker" "start" "-a" "77c3eceba6789ef572f77a7bd2911028b994a6a72006270adcb5d8df439dfe3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77c3eceba6789ef572f77a7bd2911028b994a6a72006270adcb5d8df439dfe3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77c3eceba6789ef572f77a7bd2911028b994a6a72006270adcb5d8df439dfe3c", kill_on_drop: false }` [INFO] [stdout] 77c3eceba6789ef572f77a7bd2911028b994a6a72006270adcb5d8df439dfe3c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c0ea3f0e7f1b1b6032c8669d9e1f8e3b56d4d2ce9b224bbf5cfd4be357d3bef [INFO] running `Command { std: "docker" "start" "-a" "6c0ea3f0e7f1b1b6032c8669d9e1f8e3b56d4d2ce9b224bbf5cfd4be357d3bef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [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 yoke v0.8.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling fuel-derive v0.58.2 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling cobs v0.3.0 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling fuel-storage v0.58.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling coins-core v0.8.7 [INFO] [stderr] Compiling fuel-types v0.58.2 [INFO] [stderr] Compiling coins-bip32 v0.8.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling postcard v1.1.3 [INFO] [stderr] Compiling coins-bip39 v0.8.7 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling fuel-asm v0.58.2 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling fuel-crypto v0.58.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling fuel-merkle v0.58.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling time-core v0.1.5 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling fuel-tx v0.58.2 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling tai64 v4.1.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling ethnum v1.5.2 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling impl-tools v0.10.3 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling fuel-vm v0.58.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling counter v0.5.7 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling impl-tools-lib v0.11.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling schemafy_core v0.5.2 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling schemafy_lib v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling graphql-parser v0.4.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling fuel-core-client v0.40.1 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling fuel-core-types v0.40.1 [INFO] [stderr] Compiling fuel-abi-types v0.7.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling eventsource-client v0.13.0 [INFO] [stderr] Compiling cynic-codegen v2.2.8 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling fuels-code-gen v0.66.10 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling fuel-core-storage v0.40.1 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling fuel-core-chain-config v0.40.1 [INFO] [stderr] Compiling fuels-macros v0.66.10 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling eth-keystore v0.5.0 [INFO] [stderr] Compiling fuel-core-metrics v0.40.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling cynic-proc-macros v2.2.8 [INFO] [stderr] Compiling cynic v2.2.8 [INFO] [stderr] Compiling fuel-core-services v0.40.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling fuel-core-poa v0.40.1 [INFO] [stderr] Compiling portpicker v0.1.1 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling which v6.0.3 [INFO] [stderr] Compiling fuels-core v0.66.10 [INFO] [stderr] Compiling fuels-accounts v0.66.10 [INFO] [stderr] Compiling fuels-test-helpers v0.66.10 [INFO] [stderr] Compiling fuels-programs v0.66.10 [INFO] [stderr] Compiling fuels v0.66.10 [INFO] [stderr] Compiling 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: 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, [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, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ViewOnlyAccount` [INFO] [stdout] --> 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)]` (part of `#[warn(unused)]`) on by default [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 4m 58s [INFO] running `Command { std: "docker" "inspect" "6c0ea3f0e7f1b1b6032c8669d9e1f8e3b56d4d2ce9b224bbf5cfd4be357d3bef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c0ea3f0e7f1b1b6032c8669d9e1f8e3b56d4d2ce9b224bbf5cfd4be357d3bef", kill_on_drop: false }` [INFO] [stdout] 6c0ea3f0e7f1b1b6032c8669d9e1f8e3b56d4d2ce9b224bbf5cfd4be357d3bef [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14c90142c2bf0e6244cd86fe378644ae2f14a720308efc636abbf3e6d0e02c54 [INFO] running `Command { std: "docker" "start" "-a" "14c90142c2bf0e6244cd86fe378644ae2f14a720308efc636abbf3e6d0e02c54", kill_on_drop: false }` [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 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, [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, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ViewOnlyAccount` [INFO] [stdout] --> 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)]` (part of `#[warn(unused)]`) on by default [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] Compiling 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: 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, [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, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ViewOnlyAccount` [INFO] [stdout] --> 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)]` (part of `#[warn(unused)]`) on by default [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 `test` profile [unoptimized + debuginfo] target(s) in 3.10s [INFO] running `Command { std: "docker" "inspect" "14c90142c2bf0e6244cd86fe378644ae2f14a720308efc636abbf3e6d0e02c54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c90142c2bf0e6244cd86fe378644ae2f14a720308efc636abbf3e6d0e02c54", kill_on_drop: false }` [INFO] [stdout] 14c90142c2bf0e6244cd86fe378644ae2f14a720308efc636abbf3e6d0e02c54 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 53065dab4966571bda3591fa20018a0d4c31d083b1335cb1f9c7ea94d2d15e08 [INFO] running `Command { std: "docker" "start" "-a" "53065dab4966571bda3591fa20018a0d4c31d083b1335cb1f9c7ea94d2d15e08", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/pool_math.rs:103:8 [INFO] [stderr] | [INFO] [stderr] 103 | if (is_stable) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 103 - if (is_stable) { [INFO] [stderr] 103 + if is_stable { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/pool_math.rs:107:24 [INFO] [stderr] | [INFO] [stderr] 107 | let _b: U256 = ((_x * _x) / one_e_18() + (_y * _y) / one_e_18()); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 107 - let _b: U256 = ((_x * _x) / one_e_18() + (_y * _y) / one_e_18()); [INFO] [stderr] 107 + let _b: U256 = (_x * _x) / one_e_18() + (_y * _y) / one_e_18(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool_id` [INFO] [stderr] --> src/readonly_mira_amm.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | pool_id: PoolId, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount_0_desired` [INFO] [stderr] --> src/readonly_mira_amm.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | amount_0_desired: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_0_desired` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount_1_desired` [INFO] [stderr] --> src/readonly_mira_amm.rs:142:9 [INFO] [stderr] | [INFO] [stderr] 142 | amount_1_desired: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_1_desired` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount_0_min` [INFO] [stderr] --> src/readonly_mira_amm.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 143 | amount_0_min: u64, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_0_min` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount_1_min` [INFO] [stderr] --> src/readonly_mira_amm.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 144 | amount_1_min: u64, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_1_min` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool_id` [INFO] [stderr] --> src/readonly_mira_amm.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | pool_id: PoolId, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `liquidity` [INFO] [stderr] --> src/readonly_mira_amm.rs:152:9 [INFO] [stderr] | [INFO] [stderr] 152 | liquidity: u64, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_liquidity` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount_0_min` [INFO] [stderr] --> src/readonly_mira_amm.rs:153:9 [INFO] [stderr] | [INFO] [stderr] 153 | amount_0_min: u64, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_0_min` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount_1_min` [INFO] [stderr] --> src/readonly_mira_amm.rs:154:9 [INFO] [stderr] | [INFO] [stderr] 154 | amount_1_min: u64, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_1_min` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount_in` [INFO] [stderr] --> src/readonly_mira_amm.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 161 | amount_in: u64, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `asset_in` [INFO] [stderr] --> src/readonly_mira_amm.rs:162:9 [INFO] [stderr] | [INFO] [stderr] 162 | asset_in: AssetId, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pools` [INFO] [stderr] --> src/readonly_mira_amm.rs:163:9 [INFO] [stderr] | [INFO] [stderr] 163 | pools: Vec, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pools` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount_out` [INFO] [stderr] --> src/readonly_mira_amm.rs:170:9 [INFO] [stderr] | [INFO] [stderr] 170 | amount_out: u64, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_out` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `asset_out` [INFO] [stderr] --> src/readonly_mira_amm.rs:171:9 [INFO] [stderr] | [INFO] [stderr] 171 | asset_out: AssetId, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_out` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pools` [INFO] [stderr] --> src/readonly_mira_amm.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 172 | pools: Vec, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pools` [INFO] [stderr] [INFO] [stderr] warning: unused import: `ViewOnlyAccount` [INFO] [stderr] --> src/mira_amm.rs:4:139 [INFO] [stderr] | [INFO] [stderr] 4 | ...sult, ScriptTransaction, TxPolicies, VariableOutputPolicy, ViewOnlyAccount, WalletUnlocked}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `provider` is never read [INFO] [stderr] --> src/readonly_mira_amm.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct ReadonlyMiraAmm { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 9 | provider: Provider, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `mira-v1` (lib) generated 19 warnings (run `cargo fix --lib -p mira-v1` to apply 2 suggestions) [INFO] [stderr] warning: `mira-v1` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mira_v1-56fe7f854bb4b493) [INFO] [stderr] Doc-tests mira_v1 [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/pool_math.rs:103:8 [INFO] [stderr] | [INFO] [stderr] 103 | if (is_stable) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 103 - if (is_stable) { [INFO] [stderr] 103 + if is_stable { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/pool_math.rs:107:24 [INFO] [stderr] | [INFO] [stderr] 107 | let _b: U256 = ((_x * _x) / one_e_18() + (_y * _y) / one_e_18()); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 107 - let _b: U256 = ((_x * _x) / one_e_18() + (_y * _y) / one_e_18()); [INFO] [stderr] 107 + let _b: U256 = (_x * _x) / one_e_18() + (_y * _y) / one_e_18(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "53065dab4966571bda3591fa20018a0d4c31d083b1335cb1f9c7ea94d2d15e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53065dab4966571bda3591fa20018a0d4c31d083b1335cb1f9c7ea94d2d15e08", kill_on_drop: false }` [INFO] [stdout] 53065dab4966571bda3591fa20018a0d4c31d083b1335cb1f9c7ea94d2d15e08