[INFO] fetching crate mira-v1 0.1.9... [INFO] testing mira-v1-0.1.9 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate mira-v1 0.1.9 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mira-v1 0.1.9 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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 402 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.76.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.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fuels v0.66.10 [INFO] [stderr] Downloaded portpicker v0.1.1 [INFO] [stderr] Downloaded which v6.0.3 [INFO] [stderr] Downloaded hash32 v0.2.1 [INFO] [stderr] Downloaded fuels-programs v0.66.10 [INFO] [stderr] Downloaded fuel-core-poa v0.40.1 [INFO] [stderr] Downloaded fuel-core-types v0.40.1 [INFO] [stderr] Downloaded cynic-codegen v2.2.8 [INFO] [stderr] Downloaded publicsuffix v2.3.0 [INFO] [stderr] Downloaded eventsource-client v0.13.0 [INFO] [stderr] Downloaded winsafe v0.0.19 [INFO] [stderr] Downloaded idna v0.3.0 [INFO] [stderr] Downloaded fuel-tx v0.58.2 [INFO] [stderr] Downloaded schemars v1.1.0 [INFO] [stderr] Downloaded secp256k1 v0.29.1 [INFO] [stderr] Downloaded serde_with v3.15.1 [INFO] [stderr] Downloaded schemars v0.9.0 [INFO] [stderr] Downloaded ethnum v1.5.2 [INFO] [stderr] Downloaded fuel-asm v0.58.2 [INFO] [stderr] Downloaded coins-bip39 v0.8.7 [INFO] [stderr] Downloaded p256 v0.13.2 [INFO] [stderr] Downloaded fuel-merkle v0.58.2 [INFO] [stderr] Downloaded darling v0.21.3 [INFO] [stderr] Downloaded fuels-code-gen v0.66.10 [INFO] [stderr] Downloaded cookie_store v0.20.0 [INFO] [stderr] Downloaded rustls-native-certs v0.6.3 [INFO] [stderr] Downloaded hyper-rustls v0.24.2 [INFO] [stderr] Downloaded fuel-types v0.58.2 [INFO] [stderr] Downloaded serde_with_macros v3.15.1 [INFO] [stderr] Downloaded tai64 v4.1.0 [INFO] [stderr] Downloaded embedded-io v0.6.1 [INFO] [stderr] Downloaded bech32 v0.9.1 [INFO] [stderr] Downloaded fuel-crypto v0.58.2 [INFO] [stderr] Downloaded fuel-derive v0.58.2 [INFO] [stderr] Downloaded fuel-abi-types v0.7.0 [INFO] [stderr] Downloaded fuels-macros v0.66.10 [INFO] [stderr] Downloaded darling_core v0.21.3 [INFO] [stderr] Downloaded cobs v0.3.0 [INFO] [stderr] Downloaded embedded-io v0.4.0 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded prometheus-client v0.22.3 [INFO] [stderr] Downloaded fuel-core-metrics v0.40.4 [INFO] [stderr] Downloaded fuel-core-services v0.40.4 [INFO] [stderr] Downloaded fuel-core-client v0.40.1 [INFO] [stderr] Downloaded scrypt v0.10.0 [INFO] [stderr] Downloaded enum-iterator v1.5.0 [INFO] [stderr] Downloaded impl-tools v0.10.3 [INFO] [stderr] Downloaded num_enum_derive v0.7.5 [INFO] [stderr] Downloaded fuel-core-storage v0.40.1 [INFO] [stderr] Downloaded graphql-parser v0.4.1 [INFO] [stderr] Downloaded cynic v2.2.8 [INFO] [stderr] Downloaded cookie v0.17.0 [INFO] [stderr] Downloaded psl-types v2.0.11 [INFO] [stderr] Downloaded schemafy_core v0.5.2 [INFO] [stderr] Downloaded schemafy_lib v0.5.2 [INFO] [stderr] Downloaded coins-core v0.8.7 [INFO] [stderr] Downloaded coins-bip32 v0.8.7 [INFO] [stderr] Downloaded fuel-vm v0.58.2 [INFO] [stderr] Downloaded primeorder v0.13.6 [INFO] [stderr] Downloaded fuel-storage v0.58.2 [INFO] [stderr] Downloaded darling_macro v0.21.3 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded dtoa v1.0.10 [INFO] [stderr] Downloaded prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Downloaded ctr v0.9.2 [INFO] [stderr] Downloaded salsa20 v0.10.2 [INFO] [stderr] Downloaded secp256k1-sys v0.10.1 [INFO] [stderr] Downloaded eth-keystore v0.5.0 [INFO] [stderr] Downloaded fuels-accounts v0.66.10 [INFO] [stderr] Downloaded enum-iterator-derive v1.5.0 [INFO] [stderr] Downloaded impl-tools-lib v0.11.4 [INFO] [stderr] Downloaded num_enum v0.7.5 [INFO] [stderr] Downloaded strum v0.25.0 [INFO] [stderr] Downloaded strum_macros v0.25.3 [INFO] [stderr] Downloaded fuel-core-chain-config v0.40.1 [INFO] [stderr] Downloaded counter v0.5.7 [INFO] [stderr] Downloaded cynic-proc-macros v2.2.8 [INFO] [stderr] Downloaded tokio-io-timeout v1.2.1 [INFO] [stderr] Downloaded hyper-timeout v0.4.1 [INFO] [stderr] Downloaded postcard v1.1.3 [INFO] [stderr] Downloaded fuels-core v0.66.10 [INFO] [stderr] Downloaded fuels-test-helpers v0.66.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7bd649198cbce3ddc625c936186578ec0e8c983e3bf35747176106f57d665a4 [INFO] running `Command { std: "docker" "start" "-a" "b7bd649198cbce3ddc625c936186578ec0e8c983e3bf35747176106f57d665a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7bd649198cbce3ddc625c936186578ec0e8c983e3bf35747176106f57d665a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7bd649198cbce3ddc625c936186578ec0e8c983e3bf35747176106f57d665a4", kill_on_drop: false }` [INFO] [stdout] b7bd649198cbce3ddc625c936186578ec0e8c983e3bf35747176106f57d665a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 480bb31fd03cb72dd236adf41e372a19e0cb25f245672764ecda0eb4f92f28ff [INFO] running `Command { std: "docker" "start" "-a" "480bb31fd03cb72dd236adf41e372a19e0cb25f245672764ecda0eb4f92f28ff", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling static_assertions v1.1.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 either v1.15.0 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling fuel-storage v0.58.2 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.69 [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 tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling coins-core v0.8.7 [INFO] [stderr] Compiling fuel-derive v0.58.2 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling coins-bip32 v0.8.7 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling fuel-types v0.58.2 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling coins-bip39 v0.8.7 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling cobs v0.3.0 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling fuel-crypto v0.58.2 [INFO] [stderr] Compiling fuel-asm v0.58.2 [INFO] [stderr] Compiling postcard v1.1.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling serde_with_macros v3.15.1 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling serde_with v3.15.1 [INFO] [stderr] Compiling fuel-merkle v0.58.2 [INFO] [stderr] Compiling fuel-tx v0.58.2 [INFO] [stderr] Compiling idna v1.1.0 [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 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-error2 v2.0.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [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 impl-tools v0.10.3 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling counter v0.5.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling impl-tools-lib v0.11.4 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling schemafy_core v0.5.2 [INFO] [stderr] Compiling enum-iterator-derive v1.5.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling schemafy_lib v0.5.2 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling fuel-vm v0.58.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 reqwest v0.11.27 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling fuel-core-client v0.40.1 [INFO] [stderr] Compiling fuel-abi-types v0.7.0 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling eventsource-client v0.13.0 [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 graphql-parser v0.4.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling fuels-code-gen v0.66.10 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling fuels-macros v0.66.10 [INFO] [stderr] Compiling cynic-codegen v2.2.8 [INFO] [stderr] Compiling eth-keystore v0.5.0 [INFO] [stderr] Compiling fuel-core-types v0.40.1 [INFO] [stderr] Compiling fuel-core-metrics v0.40.4 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling fuel-core-services v0.40.4 [INFO] [stderr] Compiling fuel-core-storage v0.40.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling home v0.5.12 [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 fuel-core-chain-config v0.40.1 [INFO] [stderr] Compiling which v6.0.3 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling cynic-proc-macros v2.2.8 [INFO] [stderr] Compiling fuel-core-poa v0.40.1 [INFO] [stderr] Compiling cynic v2.2.8 [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 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, [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: 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 49s [INFO] running `Command { std: "docker" "inspect" "480bb31fd03cb72dd236adf41e372a19e0cb25f245672764ecda0eb4f92f28ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "480bb31fd03cb72dd236adf41e372a19e0cb25f245672764ecda0eb4f92f28ff", kill_on_drop: false }` [INFO] [stdout] 480bb31fd03cb72dd236adf41e372a19e0cb25f245672764ecda0eb4f92f28ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c064361c4a802b9ba06b5673e8abf11b38ca5c6a144cdb14e83d9228d72d96ce [INFO] running `Command { std: "docker" "start" "-a" "c064361c4a802b9ba06b5673e8abf11b38ca5c6a144cdb14e83d9228d72d96ce", 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 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, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mira-v1 v0.1.9 (/opt/rustwide/workdir) [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: 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: 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, [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: 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.72s [INFO] running `Command { std: "docker" "inspect" "c064361c4a802b9ba06b5673e8abf11b38ca5c6a144cdb14e83d9228d72d96ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c064361c4a802b9ba06b5673e8abf11b38ca5c6a144cdb14e83d9228d72d96ce", kill_on_drop: false }` [INFO] [stdout] c064361c4a802b9ba06b5673e8abf11b38ca5c6a144cdb14e83d9228d72d96ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1a6c5502d91888ce29bd8caca4029b383bb262ee4d67254419e40c99a5fa9a2c [INFO] running `Command { std: "docker" "start" "-a" "1a6c5502d91888ce29bd8caca4029b383bb262ee4d67254419e40c99a5fa9a2c", 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 import: `ViewOnlyAccount` [INFO] [stderr] --> src/mira_amm.rs:4:139 [INFO] [stderr] | [INFO] [stderr] 4 | ...lt, 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: 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: 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 17 suggestions) [INFO] [stderr] warning: `mira-v1` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mira_v1-1430fe67e01dd431) [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] 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" "1a6c5502d91888ce29bd8caca4029b383bb262ee4d67254419e40c99a5fa9a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a6c5502d91888ce29bd8caca4029b383bb262ee4d67254419e40c99a5fa9a2c", kill_on_drop: false }` [INFO] [stdout] 1a6c5502d91888ce29bd8caca4029b383bb262ee4d67254419e40c99a5fa9a2c