brontes icon indicating copy to clipboard operation
brontes copied to clipboard

Install from fresh clone on Ubuntu 24.04 LTS throws 116 errors.

Open mingram8 opened this issue 1 year ago • 3 comments

Describe the bug

I did a fresh clone and install on ubuntu 24.04 with cargo version 1.82.0-nightly and rustc 1.82.0-nightly threw 116 errors. sudo apt update && sudo apt install -y libclang-dev pkg-config build-essential gcc g++ llvm-dev clang was run so all the dependencies should be installed.

build log build.log

Steps to reproduce

git clone https://github.com/SorellaLabs/brontes cd brontes RUSTFLAGS="-C target-cpu=native" cargo install --path crates/bin --profile maxperf build.log

Brontes logs

No response

Platform(s)

Linux (x86)

What version/commit are you on?

build from source off main branch

Rust Nightly Version

rustc 1.82.0-nightly (2024-08-09)

If you've built Brontes from source, provide the full command you used

No response

Code of Conduct

  • [X] I agree to follow the Code of Conduct

mingram8 avatar Aug 21 '24 16:08 mingram8

could you please paste the logs or an image of them rather than a link to a file - thanks

jnoorchashm37 avatar Aug 21 '24 16:08 jnoorchashm37

Installing brontes v0.1.0 (/home/ubuntu/brontes/crates/bin) Updating crates.io index Updating git repository https://github.com/alloy-rs/alloy.git Updating git repository https://github.com/SorellaLabs/clickhouse.rs Updating git repository https://github.com/SorellaLabs/db-interfaces Updating git repository https://github.com/paradigmxyz/reth Updating git repository https://github.com/SorellaLabs/redefined Updating git repository https://github.com/rkyv/rkyv.git Updating git repository https://github.com/sigp/discv5 Updating git repository https://github.com/paradigmxyz/evm-inspectors Locking 978 packages to latest compatible versions Adding addr2line v0.21.0 (latest: v0.24.1) Adding aead v0.4.3 (latest: v0.5.2) Adding aes v0.7.5 (latest: v0.8.4) Adding aes-gcm v0.9.2 (latest: v0.10.3) Adding aho-corasick v0.7.20 (latest: v1.1.3) Adding alloy-dyn-abi v0.7.7 (latest: v0.8.0) Adding alloy-json-abi v0.7.7 (latest: v0.8.0) Adding alloy-primitives v0.7.7 (latest: v0.8.0) Adding alloy-sol-macro v0.7.7 (latest: v0.8.0) Adding alloy-sol-macro-expander v0.7.7 (latest: v0.8.0) Adding alloy-sol-macro-input v0.7.7 (latest: v0.8.0) Adding alloy-sol-type-parser v0.7.7 (latest: v0.8.0) Adding alloy-sol-types v0.7.7 (latest: v0.8.0) Adding alloy-trie v0.3.1 (latest: v0.4.1) Adding anes v0.1.6 (latest: v0.2.0) Adding ark-ff v0.3.0 (latest: v0.4.2) Adding ark-ff-asm v0.3.0 (latest: v0.4.2) Adding ark-ff-macros v0.3.0 (latest: v0.4.2) Adding ark-serialize v0.3.0 (latest: v0.4.2) Adding ark-std v0.3.0 (latest: v0.4.0) Adding arrow v51.0.0 (latest: v52.2.0) Adding arrow-arith v51.0.0 (latest: v52.2.0) Adding arrow-array v51.0.0 (latest: v52.2.0) Adding arrow-buffer v51.0.0 (latest: v52.2.0) Adding arrow-cast v51.0.0 (latest: v52.2.0) Adding arrow-csv v51.0.0 (latest: v52.2.0) Adding arrow-data v51.0.0 (latest: v52.2.0) Adding arrow-ipc v51.0.0 (latest: v52.2.0) Adding arrow-json v51.0.0 (latest: v52.2.0) Adding arrow-ord v51.0.0 (latest: v52.2.0) Adding arrow-row v51.0.0 (latest: v52.2.0) Adding arrow-schema v51.0.0 (latest: v52.2.0) Adding arrow-select v51.0.0 (latest: v52.2.0) Adding arrow-string v51.0.0 (latest: v52.2.0) Adding async-scoped v0.7.1 (latest: v0.9.0) Adding atoi_simd v0.15.6 (latest: v0.16.0) Adding attohttpc v0.24.1 (latest: v0.28.0) Adding backtrace v0.3.69 (latest: v0.3.73) Adding base64 v0.13.1 (latest: v0.22.1) Adding base64 v0.21.7 (latest: v0.22.1) Adding bindgen v0.69.4 (latest: v0.70.1) Adding bit-set v0.5.3 (latest: v0.8.0) Adding bit-vec v0.6.3 (latest: v0.8.0) Adding bitflags v1.3.2 (latest: v2.6.0) Adding block-buffer v0.9.0 (latest: v0.10.4) Adding boa_ast v0.18.0 (latest: v0.19.0) Adding boa_engine v0.18.0 (latest: v0.19.0) Adding boa_gc v0.18.0 (latest: v0.19.0) Adding boa_interner v0.18.0 (latest: v0.19.0) Adding boa_macros v0.18.0 (latest: v0.19.0) Adding boa_parser v0.18.0 (latest: v0.19.0) Adding boa_profiler v0.18.0 (latest: v0.19.0) Adding brotli v3.5.0 (latest: v6.0.0) Adding brotli-decompressor v2.5.1 (latest: v4.0.1) Adding bytecheck v0.6.12 (latest: v0.7.0) Adding bytecheck_derive v0.6.12 (latest: v0.7.0) Adding cc v1.0.83 (latest: v1.1.13) Adding chrono-tz v0.8.6 (latest: v0.9.0) Adding chrono-tz-build v0.2.1 (latest: v0.3.0) Adding cipher v0.3.0 (latest: v0.4.4) Adding convert_case v0.4.0 (latest: v0.6.0) Adding core-foundation v0.9.4 (latest: v0.10.0) Adding crossterm v0.27.0 (latest: v0.28.1) Adding crypto-mac v0.8.0 (latest: v0.11.1) Adding ctr v0.7.0 (latest: v0.9.2) Adding ctr v0.8.0 (latest: v0.9.2) Adding darling v0.10.2 (latest: v0.20.10) Adding darling_core v0.10.2 (latest: v0.20.10) Adding darling_macro v0.10.2 (latest: v0.20.10) Adding dashmap v5.5.3 (latest: v6.0.1) Adding delay_map v0.3.0 (latest: v0.4.0) Adding derive_builder v0.9.0 (latest: v0.20.0) Adding derive_builder_core v0.9.0 (latest: v0.20.0) Adding derive_more v0.99.18 (latest: v1.0.0) Adding digest v0.9.0 (latest: v0.10.7) Adding dns-lookup v1.0.8 (latest: v2.0.4) Adding educe v0.4.23 (latest: v0.6.0) Adding encode_unicode v0.3.6 (latest: v1.0.0) Adding endian-type v0.1.2 (latest: v0.2.0) Adding enr v0.10.0 (latest: v0.12.1) Adding enum-as-inner v0.3.4 (latest: v0.6.0) Adding enum-ordinalize v3.1.15 (latest: v4.3.0) Adding erased-serde v0.3.31 (latest: v0.4.5) Adding ethereum_ssz v0.5.4 (latest: v0.7.0) Adding fixedbitset v0.4.2 (latest: v0.5.7) Adding flatbuffers v23.5.26 (latest: v24.3.25) Adding foreign-types v0.3.2 (latest: v0.5.0) Adding foreign-types-shared v0.1.1 (latest: v0.3.1) Adding generic-array v0.14.7 (latest: v1.1.0) Adding getrandom v0.1.16 (latest: v0.2.15) Adding ghash v0.4.4 (latest: v0.5.1) Adding gimli v0.28.1 (latest: v0.31.0) Adding gloo-net v0.5.0 (latest: v0.6.0) Adding gloo-timers v0.2.6 (latest: v0.3.0) Adding h2 v0.3.26 (latest: v0.4.6) Adding hashbrown v0.12.3 (latest: v0.14.5) Adding hashbrown v0.13.2 (latest: v0.14.5) Adding hashlink v0.8.4 (latest: v0.9.1) Adding heck v0.3.3 (latest: v0.5.0) Adding heck v0.4.1 (latest: v0.5.0) Adding hermit-abi v0.3.9 (latest: v0.4.0) Adding hmac v0.8.1 (latest: v0.12.1) Adding hostname v0.3.1 (latest: v0.4.0) Adding http v0.2.12 (latest: v1.1.0) Adding http-body v0.4.6 (latest: v1.0.1) Adding http-range-header v0.3.1 (latest: v0.4.1) Adding hyper v0.14.30 (latest: v1.4.1) Adding hyper-rustls v0.24.2 (latest: v0.27.2) Adding hyper-tls v0.5.0 (latest: v0.6.0) Adding icu_collections v1.4.0 (latest: v1.5.0) Adding icu_locid v1.4.0 (latest: v1.5.0) Adding icu_locid_transform v1.4.0 (latest: v1.5.0) Adding icu_locid_transform_data v1.4.0 (latest: v1.5.0) Adding icu_normalizer v1.4.3 (latest: v1.5.0) Adding icu_normalizer_data v1.4.1 (latest: v1.5.0) Adding icu_properties v1.4.3 (latest: v1.5.1) Adding icu_properties_data v1.4.1 (latest: v1.5.0) Adding icu_provider v1.4.0 (latest: v1.5.0) Adding icu_provider_macros v1.4.0 (latest: v1.5.0) Adding idna v0.2.3 (latest: v1.0.2) Adding idna v0.4.0 (latest: v1.0.2) Adding idna v0.5.0 (latest: v1.0.2) Adding indexmap v1.9.3 (latest: v2.4.0) Adding integer-encoding v3.0.4 (latest: v4.0.2) Adding itertools v0.10.5 (latest: v0.13.0) Adding itertools v0.11.0 (latest: v0.13.0) Adding itertools v0.12.1 (latest: v0.13.0) Adding jsonrpsee v0.22.5 (latest: v0.24.3) Adding jsonrpsee-client-transport v0.22.5 (latest: v0.24.3) Adding jsonrpsee-core v0.22.5 (latest: v0.24.3) Adding jsonrpsee-http-client v0.22.5 (latest: v0.24.3) Adding jsonrpsee-proc-macros v0.22.5 (latest: v0.24.3) Adding jsonrpsee-server v0.22.5 (latest: v0.24.3) Adding jsonrpsee-types v0.22.5 (latest: v0.24.3) Adding jsonrpsee-wasm-client v0.22.5 (latest: v0.24.3) Adding jsonrpsee-ws-client v0.22.5 (latest: v0.24.3) Adding jsonwebtoken v8.3.0 (latest: v9.3.0) Adding konst v0.2.19 (latest: v0.3.9) Adding libp2p v0.53.2 (latest: v0.54.1) Adding libp2p-allow-block-list v0.3.0 (latest: v0.4.0) Adding libp2p-connection-limits v0.3.1 (latest: v0.4.0) Adding libp2p-core v0.41.3 (latest: v0.42.0) Adding libp2p-swarm v0.44.2 (latest: v0.45.1) Adding linux-raw-sys v0.4.14 (latest: v0.6.5) Adding matchers v0.1.0 (latest: v0.2.0) Adding memmap2 v0.7.1 (latest: v0.9.4) Adding metrics v0.21.1 (latest: v0.23.0) Adding metrics-exporter-prometheus v0.12.1 (latest: v0.15.3) Adding metrics-process v1.0.14 (latest: v2.1.0) Adding metrics-util v0.15.0 (latest: v0.17.0) Adding miniz_oxide v0.7.4 (latest: v0.8.0) Adding mio v0.8.11 (latest: v1.0.2) Adding nalgebra v0.29.0 (latest: v0.33.0) Adding nalgebra-macros v0.1.0 (latest: v0.2.2) Adding nu-ansi-term v0.46.0 (latest: v0.50.1) Adding object v0.32.2 (latest: v0.36.3) Adding ordered-float v2.10.1 (latest: v4.2.2) Adding ordered-float v3.9.2 (latest: v4.2.2) Adding parking_lot v0.11.2 (latest: v0.12.3) Adding parking_lot_core v0.8.6 (latest: v0.9.10) Adding parquet v51.0.0 (latest: v52.2.0) Adding pem v1.1.1 (latest: v3.0.4) Adding planus v0.3.1 (latest: v0.4.0) Adding polars v0.38.3 (latest: v0.42.0) Adding polars-arrow v0.38.3 (latest: v0.42.0) Adding polars-compute v0.38.3 (latest: v0.42.0) Adding polars-core v0.38.3 (latest: v0.42.0) Adding polars-error v0.38.3 (latest: v0.42.0) Adding polars-io v0.38.3 (latest: v0.42.0) Adding polars-lazy v0.38.3 (latest: v0.42.0) Adding polars-ops v0.38.3 (latest: v0.42.0) Adding polars-parquet v0.38.3 (latest: v0.42.0) Adding polars-pipe v0.38.3 (latest: v0.42.0) Adding polars-plan v0.38.3 (latest: v0.42.0) Adding polars-row v0.38.3 (latest: v0.42.0) Adding polars-sql v0.38.3 (latest: v0.42.0) Adding polars-time v0.38.3 (latest: v0.42.0) Adding polars-utils v0.38.3 (latest: v0.42.0) Adding polyval v0.5.3 (latest: v0.6.2) Adding proptest-derive v0.4.0 (latest: v0.5.0) Adding protobuf v2.28.0 (latest: v3.5.1) Adding ptr_meta v0.1.4 (latest: v0.2.0) Adding ptr_meta_derive v0.1.4 (latest: v0.2.0) Adding quanta v0.11.1 (latest: v0.12.3) Adding quick-error v1.2.3 (latest: v2.0.1) Adding radium v0.7.0 (latest: v1.1.0) Adding rand v0.7.3 (latest: v0.8.5) Adding rand_chacha v0.2.2 (latest: v0.3.1) Adding rand_core v0.5.1 (latest: v0.6.4) Adding rand_hc v0.2.0 (latest: v0.3.2) Adding raw-cpuid v10.7.0 (latest: v11.1.0) Adding redox_syscall v0.2.16 (latest: v0.5.3) Adding regex-automata v0.1.10 (latest: v0.4.7) Adding regex-syntax v0.6.29 (latest: v0.8.4) Adding regress v0.9.1 (latest: v0.10.0) Adding revm v8.0.0 (latest: v13.0.0) Adding revm-interpreter v4.0.0 (latest: v9.0.0) Adding revm-precompile v6.0.0 (latest: v10.0.0) Adding revm-primitives v3.1.1 (latest: v8.0.0) Adding ring v0.16.20 (latest: v0.17.8) Adding rustc-hash v1.1.0 (latest: v2.0.0) Adding rustc_version v0.3.3 (latest: v0.4.0) Adding rustls v0.21.12 (latest: v0.23.12) Adding rustls v0.22.4 (latest: v0.23.12) Adding rustls-native-certs v0.6.3 (latest: v0.7.2) Adding rustls-pemfile v1.0.4 (latest: v2.1.3) Adding rustls-webpki v0.101.7 (latest: v0.102.6) Adding sealed v0.4.0 (latest: v0.5.0) Adding secp256k1 v0.27.0 (latest: v0.29.0) Adding secp256k1 v0.28.2 (latest: v0.29.0) Adding secp256k1-sys v0.8.1 (latest: v0.10.0) Adding secp256k1-sys v0.9.2 (latest: v0.10.0) Adding semver v0.11.0 (latest: v1.0.23) Adding send_wrapper v0.4.0 (latest: v0.6.0) Adding serde_derive_internals v0.26.0 (latest: v0.29.1) Adding sha-1 v0.9.8 (latest: v0.10.1) Adding sha2 v0.9.9 (latest: v0.10.8) Adding simba v0.6.0 (latest: v0.9.0) Adding siphasher v0.3.11 (latest: v1.0.1) Adding sketches-ddsketch v0.2.2 (latest: v0.3.0) Adding socket2 v0.4.10 (latest: v0.5.7) Adding soketto v0.7.1 (latest: v0.8.0) Adding spin v0.5.2 (latest: v0.9.8) Adding sqlparser v0.39.0 (latest: v0.50.0) Adding statrs v0.16.1 (latest: v0.17.1) Adding strsim v0.9.3 (latest: v0.11.1) Adding strum v0.25.0 (latest: v0.26.3) Adding strum_macros v0.25.3 (latest: v0.26.4) Adding syn v1.0.109 (latest: v2.0.75) Adding syn-solidity v0.7.7 (latest: v0.8.0) Adding sysinfo v0.30.13 (latest: v0.31.2) Adding term v0.7.0 (latest: v1.0.0) Adding tikv-jemalloc-ctl v0.5.4 (latest: v0.6.0) Adding tikv-jemalloc-sys v0.5.4+5.3.0-patched (latest: v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7) Adding tikv-jemallocator v0.5.4 (latest: v0.6.0) Adding tokio-rustls v0.24.1 (latest: v0.26.0) Adding tokio-rustls v0.25.0 (latest: v0.26.0) Adding toml_edit v0.21.1 (latest: v0.22.20) Adding tower v0.4.13 (latest: v0.5.0) Adding tower-http v0.4.4 (latest: v0.5.2) Adding triomphe v0.1.11 (latest: v0.1.13) Adding trust-dns-client v0.20.4 (latest: v0.23.2) Adding trust-dns-proto v0.20.4 (latest: v0.23.2) Adding universal-hash v0.4.0 (latest: v0.5.1) Adding unsigned-varint v0.7.2 (latest: v0.8.0) Adding untrusted v0.7.1 (latest: v0.9.0) Adding vergen v8.3.2 (latest: v9.0.0) Adding virtue v0.0.13 (latest: v0.0.17) Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) Adding windows v0.52.0 (latest: v0.58.0) Adding windows-core v0.52.0 (latest: v0.58.0) Adding windows-sys v0.48.0 (latest: v0.59.0) Adding windows-sys v0.52.0 (latest: v0.59.0) Adding windows-targets v0.48.5 (latest: v0.52.6) Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) Adding winnow v0.5.40 (latest: v0.6.18) Adding winreg v0.50.0 (latest: v0.52.0) Adding wyz v0.5.1 (latest: v0.6.1) Compiling brontes-types v0.1.0 (/home/ubuntu/brontes/crates/brontes-types) error: proc macro panicked --> crates/brontes-types/src/db/redefined_types/malachite.rs:7:1 | 7 | / redefined_remote!( 8 | | #[derive( 9 | | Debug, 10 | | Clone, ... | 19 | | [Rational] : "malachite-q" 20 | | ); | |_^ | = help: message: Could not find crates-io package with name: malachite-q-0.4.14

error: proc macro panicked --> crates/brontes-types/src/db/redefined_types/malachite.rs:23:1 | 23 | / redefined_remote!( 24 | | #[derive( 25 | | Debug, 26 | | Clone, ... | 35 | | [Natural] : "malachite-nz" 36 | | ); | |_^ | = help: message: Could not find crates-io package with name: malachite-nz-0.4.14

error: proc macro panicked --> crates/brontes-types/src/db/redefined_types/malachite.rs:39:1 | 39 | / redefined_remote!( 40 | | #[derive( 41 | | Debug, 42 | | Clone, ... | 51 | | [InnerNatural] : "malachite-nz" : no_impl 52 | | ); | |_^ | = help: message: Could not find crates-io package with name: malachite-nz-0.4.14

error[E0432]: unresolved import crate::db::redefined_types::malachite::RationalRedefined --> crates/brontes-types/src/db/cex/quotes/cex_quotes.rs:39:9 | 39 | redefined_types::malachite::RationalRedefined, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no RationalRedefined in db::redefined_types::malachite

error[E0432]: unresolved import crate::db::redefined_types::malachite::RationalRedefined --> crates/brontes-types/src/db/cex/quotes/types.rs:16:9 | 16 | redefined_types::malachite::RationalRedefined, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no RationalRedefined in db::redefined_types::malachite

error[E0432]: unresolved import crate::db::redefined_types::malachite::RationalRedefined --> crates/brontes-types/src/db/cex/trades/cex_trades.rs:13:28 | 13 | db::{cex::CexExchange, redefined_types::malachite::RationalRedefined}, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no RationalRedefined in db::redefined_types::malachite

error[E0432]: unresolved import crate::db::redefined_types::malachite::RationalRedefined --> crates/brontes-types/src/db/dex.rs:25:44 | 25 | db::{clickhouse_serde::dex::dex_quote, redefined_types::malachite::RationalRedefined}, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no RationalRedefined in db::redefined_types::malachite

error[E0432]: unresolved import crate::db::redefined_types::malachite::RationalRedefined --> crates/brontes-types/src/mev/cex_dex.rs:21:27 | 21 | redefined_types::{malachite::RationalRedefined, primitives::*}, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no RationalRedefined in db::redefined_types::malachite

error[E0432]: unresolved import crate::db::redefined_types::malachite::RationalRedefined --> crates/brontes-types/src/normalized_actions/liquidation.rs:16:27 | 16 | redefined_types::{malachite::RationalRedefined, primitives::*}, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no RationalRedefined in db::redefined_types::malachite

error[E0432]: unresolved import crate::db::redefined_types::malachite::RationalRedefined --> crates/brontes-types/src/normalized_actions/liquidity.rs:16:27 | 16 | redefined_types::{malachite::RationalRedefined, primitives::AddressRedefined}, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no RationalRedefined in db::redefined_types::malachite

error[E0412]: cannot find type RationalRedefined in this scope --> crates/brontes-types/src/normalized_actions/swaps.rs:63:22 | 63 | pub amount_in: Rational, | ^^^^^^^^ not found in this scope

error[E0412]: cannot find type RationalRedefined in this scope --> crates/brontes-types/src/normalized_actions/swaps.rs:64:22 | 64 | pub amount_out: Rational, | ^^^^^^^^ not found in this scope

error[E0412]: cannot find type RationalRedefined in this scope --> crates/brontes-types/src/normalized_actions/swaps.rs:63:22 | 63 | pub amount_in: Rational, | ^^^^^^^^ not found in this scope | help: you might be missing a type parameter | 52 | pub struct NormalizedSwap<RationalRedefined> { | +++++++++++++++++++

error[E0412]: cannot find type RationalRedefined in this scope --> crates/brontes-types/src/normalized_actions/swaps.rs:64:22 | 64 | pub amount_out: Rational, | ^^^^^^^^ not found in this scope | help: you might be missing a type parameter | 52 | pub struct NormalizedSwap<RationalRedefined> { | +++++++++++++++++++

error[E0412]: cannot find type RationalRedefined in this scope --> crates/brontes-types/src/normalized_actions/transfer.rs:26:22 | 26 | pub amount: Rational, | ^^^^^^^^ not found in this scope

error[E0412]: cannot find type RationalRedefined in this scope --> crates/brontes-types/src/normalized_actions/transfer.rs:27:22 | 27 | pub fee: Rational, | ^^^^^^^^ not found in this scope

error[E0412]: cannot find type RationalRedefined in this scope --> crates/brontes-types/src/normalized_actions/transfer.rs:26:22 | 26 | pub amount: Rational, | ^^^^^^^^ not found in this scope | help: you might be missing a type parameter | 21 | pub struct NormalizedTransfer<RationalRedefined> { | +++++++++++++++++++

error[E0412]: cannot find type RationalRedefined in this scope --> crates/brontes-types/src/normalized_actions/transfer.rs:27:22 | 27 | pub fee: Rational, | ^^^^^^^^ not found in this scope | help: you might be missing a type parameter | 21 | pub struct NormalizedTransfer<RationalRedefined> { | +++++++++++++++++++

warning: unused imports: Natural and Rational --> crates/brontes-types/src/db/redefined_types/malachite.rs:1:17 | 1 | use malachite::{Natural, Rational}; | ^^^^^^^ ^^^^^^^^ | = note: #[warn(unused_imports)] on by default

warning: unused import: Redefined --> crates/brontes-types/src/db/redefined_types/malachite.rs:2:35 | 2 | use redefined::{redefined_remote, Redefined}; | ^^^^^^^^^

warning: unused imports: Archive, Deserialize as rDeserialize, and Serialize as rSerialize --> crates/brontes-types/src/db/redefined_types/malachite.rs:3:12 | 3 | use rkyv::{Archive, Deserialize as rDeserialize, Serialize as rSerialize}; | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: serde::Serialize --> crates/brontes-types/src/db/redefined_types/malachite.rs:4:5 | 4 | use serde::Serialize; | ^^^^^^^^^^^^^^^^

warning: unused import: malachite::* --> crates/brontes-types/src/normalized_actions/swaps.rs:23:27 | 23 | redefined_types::{malachite::, primitives::}, | ^^^^^^^^^^^^

warning: unused import: malachite::* --> crates/brontes-types/src/normalized_actions/transfer.rs:13:27 | 13 | redefined_types::{malachite::, primitives::}, | ^^^^^^^^^^^^

error[E0283]: type annotations needed --> crates/brontes-types/src/db/dex.rs:303:5 | 303 | rDeserialize, | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<Vec<(PairRedefined, DexPricesRedefined)>, __D> found --> crates/brontes-types/src/db/dex.rs:303:5 | 303 | rDeserialize, | ^^^^^^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T, D> rkyv::Deserialize<Vec<T>, D> for ArchivedVec<<T as Archive>::Archived> where T: Archive, D: Fallible, [<T as Archive>::Archived]: DeserializeUnsized<[T], D>, D: ?Sized; = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/db/dex.rs:303:5 | 303 | rDeserialize, | ^^^^^^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<(PairRedefined, DexPricesRedefined)> as Archive>::Archived == _ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/db/dex.rs:305:5 | 305 | Archive | ^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<(PairRedefined, DexPricesRedefined)> as Archive>::Resolver == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/db/dex.rs:307:12 | 307 | pub struct DexQuoteWithIndex { | ^^^^^^^^^^^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<(PairRedefined, DexPricesRedefined)> as Archive>::Archived == _ note: required because it appears within the type ArchivedDexQuoteWithIndexRedefined --> crates/brontes-types/src/db/dex.rs:307:12 | 307 | pub struct DexQuoteWithIndex { | ^^^^^^^^^^^^^^^^^ note: required by a bound in rkyv::Archive::Archived --> /home/ubuntu/.cargo/git/checkouts/rkyv-41442ee1b7a4be0a/7b88320/rkyv/src/lib.rs:404:5 | 404 | type Archived; | ^^^^^^^^^^^^^^ required by this bound in Archive::Archived

error[E0284]: type annotations needed --> crates/brontes-types/src/db/dex.rs:307:12 | 307 | pub struct DexQuoteWithIndex { | ^^^^^^^^^^^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<(PairRedefined, DexPricesRedefined)> as Archive>::Resolver == _ note: required because it appears within the type DexQuoteWithIndexRedefinedResolver --> crates/brontes-types/src/db/dex.rs:307:12 | 307 | pub struct DexQuoteWithIndex { | ^^^^^^^^^^^^^^^^^ note: required by a bound in rkyv::Archive::Resolver --> /home/ubuntu/.cargo/git/checkouts/rkyv-41442ee1b7a4be0a/7b88320/rkyv/src/lib.rs:408:5 | 408 | type Resolver; | ^^^^^^^^^^^^^^ required by this bound in Archive::Resolver

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<sandwich::SandwichRedefined, __D> found --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ | ::: crates/brontes-types/src/mev/sandwich.rs:61:73 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<backrun::AtomicArbRedefined, __D> found --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ | ::: crates/brontes-types/src/mev/backrun.rs:26:73 | 26 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<cex_dex_quotes::CexDexQuoteRedefined, __D> found --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ | ::: crates/brontes-types/src/mev/cex_dex_quotes.rs:23:73 | 23 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<mev::liquidation::LiquidationRedefined, __D> found --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ | ::: crates/brontes-types/src/mev/liquidation.rs:21:73 | 21 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<searcher_tx::SearcherTxRedefined, __D> found --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ | ::: crates/brontes-types/src/mev/searcher_tx.rs:23:73 | 23 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | = note: cannot satisfy <searcher_tx::SearcherTxRedefined as Archive>::Archived == _ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:25:87 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ cannot infer type | = note: cannot satisfy <sandwich::SandwichRedefined as Archive>::Resolver == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:25:87 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ cannot infer type | = note: cannot satisfy <sandwich::SandwichRedefined as Archive>::Archived == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:25:87 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ cannot infer type | = note: cannot satisfy <backrun::AtomicArbRedefined as Archive>::Archived == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:25:87 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ cannot infer type | = note: cannot satisfy <jit_sandwich::JitLiquiditySandwichRedefined as Archive>::Archived == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:25:87 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ cannot infer type | = note: cannot satisfy <jit::JitLiquidityRedefined as Archive>::Archived == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:25:87 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ cannot infer type | = note: cannot satisfy <cex_dex_quotes::CexDexQuoteRedefined as Archive>::Archived == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:25:87 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ cannot infer type | = note: cannot satisfy <mev::liquidation::LiquidationRedefined as Archive>::Archived == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:25:87 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ cannot infer type | = note: cannot satisfy <searcher_tx::SearcherTxRedefined as Archive>::Archived == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed: cannot satisfy Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive --> crates/brontes-types/src/mev/sandwich.rs:61:61 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^ | note: multiple impls or where clauses satisfying Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive found --> crates/brontes-types/src/mev/sandwich.rs:61:61 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T> Archive for Vec<T> where T: Archive; note: required for sandwich::SandwichRedefined to implement Archive --> crates/brontes-types/src/mev/sandwich.rs:61:87 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ unsatisfied trait bound introduced in this derive macro 62 | pub struct Sandwich { | ^^^^^^^^ = note: this error originates in the derive macro rSerialize which comes from the expansion of the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed: cannot satisfy Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive --> crates/brontes-types/src/mev/sandwich.rs:61:73 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ | note: multiple impls or where clauses satisfying Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive found --> crates/brontes-types/src/mev/sandwich.rs:61:73 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T> Archive for Vec<T> where T: Archive; note: required for sandwich::SandwichRedefined to implement Archive --> crates/brontes-types/src/mev/sandwich.rs:61:87 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ unsatisfied trait bound introduced in this derive macro 62 | pub struct Sandwich { | ^^^^^^^^ = note: this error originates in the derive macro rDeserialize which comes from the expansion of the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/sandwich.rs:61:73 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<Vec<Vec<swaps::NormalizedSwapRedefined>>, __D> found --> crates/brontes-types/src/mev/sandwich.rs:61:73 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T, D> rkyv::Deserialize<Vec<T>, D> for ArchivedVec<<T as Archive>::Archived> where T: Archive, D: Fallible, [<T as Archive>::Archived]: DeserializeUnsized<[T], D>, D: ?Sized; = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/sandwich.rs:61:73 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<Vec<swaps::NormalizedSwapRedefined>, __D> found --> crates/brontes-types/src/mev/sandwich.rs:61:73 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T, D> rkyv::Deserialize<Vec<T>, D> for ArchivedVec<<T as Archive>::Archived> where T: Archive, D: Fallible, [<T as Archive>::Archived]: DeserializeUnsized<[T], D>, D: ?Sized; = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/sandwich.rs:61:73 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<swaps::NormalizedSwapRedefined> as Archive>::Archived == _ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/sandwich.rs:61:87 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<Vec<swaps::NormalizedSwapRedefined>> as Archive>::Resolver == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed: cannot satisfy Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive --> crates/brontes-types/src/mev/sandwich.rs:61:87 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ | note: multiple impls or where clauses satisfying Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive found --> crates/brontes-types/src/mev/sandwich.rs:61:87 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T> Archive for Vec<T> where T: Archive; = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed: cannot satisfy Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive --> crates/brontes-types/src/mev/sandwich.rs:61:87 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ | note: multiple impls or where clauses satisfying Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive found --> crates/brontes-types/src/mev/sandwich.rs:61:87 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T> Archive for Vec<T> where T: Archive; note: required for sandwich::SandwichRedefined to implement Archive --> crates/brontes-types/src/mev/sandwich.rs:61:87 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ unsatisfied trait bound introduced in this derive macro 62 | pub struct Sandwich { | ^^^^^^^^ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed: cannot satisfy Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive --> crates/brontes-types/src/mev/sandwich.rs:62:12 | 62 | pub struct Sandwich { | ^^^^^^^^ | note: multiple impls or where clauses satisfying Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive found --> crates/brontes-types/src/mev/sandwich.rs:61:87 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T> Archive for Vec<T> where T: Archive; note: required by a bound in ArchivedSandwichRedefined --> crates/brontes-types/src/mev/sandwich.rs:61:87 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ required by this bound in ArchivedSandwichRedefined 62 | pub struct Sandwich { | -------- required by a bound in this struct = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed: cannot satisfy Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive --> crates/brontes-types/src/mev/sandwich.rs:62:12 | 62 | pub struct Sandwich { | ^^^^^^^^ | note: multiple impls or where clauses satisfying Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive found --> crates/brontes-types/src/mev/sandwich.rs:61:87 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T> Archive for Vec<T> where T: Archive; note: required by a bound in SandwichRedefinedResolver --> crates/brontes-types/src/mev/sandwich.rs:61:87 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ required by this bound in SandwichRedefinedResolver 62 | pub struct Sandwich { | -------- required by a bound in this struct = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/jit.rs:28:73 | 28 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<Vec<Vec<swaps::NormalizedSwapRedefined>>, __D> found --> crates/brontes-types/src/mev/jit.rs:28:73 | 28 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T, D> rkyv::Deserialize<Vec<T>, D> for ArchivedVec<<T as Archive>::Archived> where T: Archive, D: Fallible, [<T as Archive>::Archived]: DeserializeUnsized<[T], D>, D: ?Sized; = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/jit.rs:28:73 | 28 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<liquidity::NormalizedBurnRedefined> as Archive>::Archived == _ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/jit.rs:28:87 | 28 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<liquidity::NormalizedMintRedefined> as Archive>::Resolver == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/backrun.rs:26:73 | 26 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<Vec<swaps::NormalizedSwapRedefined>, __D> found --> crates/brontes-types/src/mev/backrun.rs:26:73 | 26 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T, D> rkyv::Deserialize<Vec<T>, D> for ArchivedVec<<T as Archive>::Archived> where T: Archive, D: Fallible, [<T as Archive>::Archived]: DeserializeUnsized<[T], D>, D: ?Sized; = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/backrun.rs:26:73 | 26 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<swaps::NormalizedSwapRedefined> as Archive>::Archived == _ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/backrun.rs:26:87 | 26 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<swaps::NormalizedSwapRedefined> as Archive>::Resolver == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/liquidation.rs:21:73 | 21 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<Vec<swaps::NormalizedSwapRedefined>, __D> found --> crates/brontes-types/src/mev/liquidation.rs:21:73 | 21 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T, D> rkyv::Deserialize<Vec<T>, D> for ArchivedVec<<T as Archive>::Archived> where T: Archive, D: Fallible, [<T as Archive>::Archived]: DeserializeUnsized<[T], D>, D: ?Sized; = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/liquidation.rs:21:73 | 21 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<Vec<normalized_actions::liquidation::NormalizedLiquidationRedefined>, __D> found --> crates/brontes-types/src/mev/liquidation.rs:21:73 | 21 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T, D> rkyv::Deserialize<Vec<T>, D> for ArchivedVec<<T as Archive>::Archived> where T: Archive, D: Fallible, [<T as Archive>::Archived]: DeserializeUnsized<[T], D>, D: ?Sized; = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/liquidation.rs:21:73 | 21 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<normalized_actions::liquidation::NormalizedLiquidationRedefined> as Archive>::Archived == _ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/liquidation.rs:21:87 | 21 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<swaps::NormalizedSwapRedefined> as Archive>::Resolver == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed: cannot satisfy Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive --> crates/brontes-types/src/mev/jit_sandwich.rs:27:61 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^ | note: multiple impls or where clauses satisfying Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive found --> crates/brontes-types/src/mev/jit_sandwich.rs:27:61 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T> Archive for Vec<T> where T: Archive; note: required for jit_sandwich::JitLiquiditySandwichRedefined to implement Archive --> crates/brontes-types/src/mev/jit_sandwich.rs:27:87 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ unsatisfied trait bound introduced in this derive macro 28 | pub struct JitLiquiditySandwich { | ^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the derive macro rSerialize which comes from the expansion of the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed: cannot satisfy Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive --> crates/brontes-types/src/mev/jit_sandwich.rs:27:73 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ | note: multiple impls or where clauses satisfying Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive found --> crates/brontes-types/src/mev/jit_sandwich.rs:27:73 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T> Archive for Vec<T> where T: Archive; note: required for jit_sandwich::JitLiquiditySandwichRedefined to implement Archive --> crates/brontes-types/src/mev/jit_sandwich.rs:27:87 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ unsatisfied trait bound introduced in this derive macro 28 | pub struct JitLiquiditySandwich { | ^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the derive macro rDeserialize which comes from the expansion of the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/jit_sandwich.rs:27:73 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<Vec<Vec<swaps::NormalizedSwapRedefined>>, __D> found --> crates/brontes-types/src/mev/jit_sandwich.rs:27:73 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T, D> rkyv::Deserialize<Vec<T>, D> for ArchivedVec<<T as Archive>::Archived> where T: Archive, D: Fallible, [<T as Archive>::Archived]: DeserializeUnsized<[T], D>, D: ?Sized; = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/jit_sandwich.rs:27:73 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<Vec<swaps::NormalizedSwapRedefined>, __D> found --> crates/brontes-types/src/mev/jit_sandwich.rs:27:73 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T, D> rkyv::Deserialize<Vec<T>, D> for ArchivedVec<<T as Archive>::Archived> where T: Archive, D: Fallible, [<T as Archive>::Archived]: DeserializeUnsized<[T], D>, D: ?Sized; = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/jit_sandwich.rs:27:73 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<liquidity::NormalizedBurnRedefined> as Archive>::Archived == _ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/jit_sandwich.rs:27:87 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<Vec<swaps::NormalizedSwapRedefined>> as Archive>::Resolver == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed: cannot satisfy Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive --> crates/brontes-types/src/mev/jit_sandwich.rs:27:87 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ | note: multiple impls or where clauses satisfying Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive found --> crates/brontes-types/src/mev/jit_sandwich.rs:27:87 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T> Archive for Vec<T> where T: Archive; = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed: cannot satisfy Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive --> crates/brontes-types/src/mev/jit_sandwich.rs:27:87 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ | note: multiple impls or where clauses satisfying Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive found --> crates/brontes-types/src/mev/jit_sandwich.rs:27:87 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T> Archive for Vec<T> where T: Archive; note: required for jit_sandwich::JitLiquiditySandwichRedefined to implement Archive --> crates/brontes-types/src/mev/jit_sandwich.rs:27:87 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ unsatisfied trait bound introduced in this derive macro 28 | pub struct JitLiquiditySandwich { | ^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed: cannot satisfy Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive --> crates/brontes-types/src/mev/jit_sandwich.rs:28:12 | 28 | pub struct JitLiquiditySandwich { | ^^^^^^^^^^^^^^^^^^^^ | note: multiple impls or where clauses satisfying Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive found --> crates/brontes-types/src/mev/jit_sandwich.rs:27:87 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T> Archive for Vec<T> where T: Archive; note: required by a bound in ArchivedJitLiquiditySandwichRedefined --> crates/brontes-types/src/mev/jit_sandwich.rs:27:87 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ required by this bound in ArchivedJitLiquiditySandwichRedefined 28 | pub struct JitLiquiditySandwich { | -------------------- required by a bound in this struct = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed: cannot satisfy Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive --> crates/brontes-types/src/mev/jit_sandwich.rs:28:12 | 28 | pub struct JitLiquiditySandwich { | ^^^^^^^^^^^^^^^^^^^^ | note: multiple impls or where clauses satisfying Vec<Vec<swaps::NormalizedSwapRedefined>>: Archive found --> crates/brontes-types/src/mev/jit_sandwich.rs:27:87 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T> Archive for Vec<T> where T: Archive; note: required by a bound in JitLiquiditySandwichRedefinedResolver --> crates/brontes-types/src/mev/jit_sandwich.rs:27:87 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ required by this bound in JitLiquiditySandwichRedefinedResolver 28 | pub struct JitLiquiditySandwich { | -------------------- required by a bound in this struct = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/searcher_tx.rs:23:73 | 23 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<Vec<transfer::NormalizedTransferRedefined>, __D> found --> crates/brontes-types/src/mev/searcher_tx.rs:23:73 | 23 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T, D> rkyv::Deserialize<Vec<T>, D> for ArchivedVec<<T as Archive>::Archived> where T: Archive, D: Fallible, [<T as Archive>::Archived]: DeserializeUnsized<[T], D>, D: ?Sized; = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/searcher_tx.rs:23:73 | 23 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<transfer::NormalizedTransferRedefined> as Archive>::Archived == _ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/searcher_tx.rs:23:87 | 23 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<transfer::NormalizedTransferRedefined> as Archive>::Resolver == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/cex_dex_quotes.rs:23:73 | 23 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<Vec<swaps::NormalizedSwapRedefined>, __D> found --> crates/brontes-types/src/mev/cex_dex_quotes.rs:23:73 | 23 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: and another impl found in the rkyv crate: - impl<T, D> rkyv::Deserialize<Vec<T>, D> for ArchivedVec<<T as Archive>::Archived> where T: Archive, D: Fallible, [<T as Archive>::Archived]: DeserializeUnsized<[T], D>, D: ?Sized; = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/cex_dex_quotes.rs:23:73 | 23 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<swaps::NormalizedSwapRedefined> as Archive>::Archived == _ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/cex_dex_quotes.rs:23:87 | 23 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ cannot infer type | = note: cannot satisfy <Vec<swaps::NormalizedSwapRedefined> as Archive>::Resolver == _ = note: this error originates in the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation == cannot be applied to type Vec<(exchanges::CexExchange, HashMap<PairRedefined, Vec<quotes::types::CexQuoteRedefined>, ahash::RandomState>)> --> crates/brontes-types/src/db/cex/quotes/cex_quotes.rs:66:5 | 55 | Debug, PartialEq, Clone, serde::Serialize, rSerialize, rDeserialize, Archive, Redefined, | --------- in this derive macro expansion ... 66 | pub map: Vec<(CexExchange, FastHashMap<PairRedefined, Vec<CexQuoteRedefined>>)>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the derive macro PartialEq (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types --> crates/brontes-types/src/db/cex/quotes/cex_quotes.rs:59:17 | 59 | to_source = "CexPriceMap { | ___________^ 60 | | quotes: self.map.into_iter().collect::<FastHashMap<,>>().to_source(), 61 | | most_liquid_ex: self.most_liquid_ex.into_iter().collect::<FastHashMap<,>>().to_source(), 62 | | }", | |^ expected HashMap<CexExchange, ..., ...>, found &HashMap<CexExchange, ..., ...> | = note: expected struct HashMap<_, HashMap<Pair, Vec<quotes::types::CexQuote>, _>, _> found reference &HashMap<_, HashMap<PairRedefined, Vec<quotes::types::CexQuoteRedefined>, _>, _>

error[E0308]: mismatched types --> crates/brontes-types/src/db/codecs.rs:20:20 | 20 | Ok(this) | -- ^^^^ expected CexPriceMapRedefined, found With<_, _> | | | arguments to this enum variant are incorrect | ::: crates/brontes-types/src/db/cex/quotes/cex_quotes.rs:88:1 | 88 | implement_table_value_codecs_with_zc!(CexPriceMapRedefined); | ----------------------------------------------------------- in this macro invocation | = note: expected struct CexPriceMapRedefined found struct rkyv::with::With<_, _> help: the type constructed contains rkyv::with::With<_, _> due to the type of the argument passed --> crates/brontes-types/src/db/codecs.rs:20:17 | 20 | Ok(this) | ^^^----^ | | | this argument influences the type of Ok | ::: crates/brontes-types/src/db/cex/quotes/cex_quotes.rs:88:1 | 88 | implement_table_value_codecs_with_zc!(CexPriceMapRedefined); | ----------------------------------------------------------- in this macro invocation note: tuple variant defined here --> /rustc/ca5d25e2c41f5a6b4ce65c681bf2f94c7ead1f14/library/core/src/result.rs:531:5 = note: this error originates in the macro implement_table_value_codecs_with_zc (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named into_iter found for struct Vec in the current scope --> crates/brontes-types/src/db/cex/trades/cex_trades.rs:34:38 | 33 | ... let trades = trades | _________- 34 | | ... .into_iter() | |-^^^^^^^^^ | help: there is a method into_either with a similar name, but with different arguments --> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/either-1.13.0/src/into_either.rs:29:5 | 29 | fn into_either(self, into_left: bool) -> Either<Self, Self> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0369]: binary operation == cannot be applied to type Vec<(exchanges::CexExchange, Vec<(PairRedefined, Vec<CexTradesRedefined>)>)> --> crates/brontes-types/src/db/cex/trades/cex_trades.rs:134:5 | 127 | #[derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive, Redefined)] | --------- in this derive macro expansion ... 134 | pub map: Vec<(CexExchange, RedefinedTradeMapVec)>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the derive macro PartialEq (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types --> crates/brontes-types/src/db/codecs.rs:20:20 | 20 | Ok(this) | -- ^^^^ expected CexTradeMapRedefined, found With<_, _> | | | arguments to this enum variant are incorrect | ::: crates/brontes-types/src/db/cex/trades/cex_trades.rs:161:1 | 161 | implement_table_value_codecs_with_zc!(CexTradeMapRedefined); | ----------------------------------------------------------- in this macro invocation | = note: expected struct CexTradeMapRedefined found struct rkyv::with::With<_, _> help: the type constructed contains rkyv::with::With<_, _> due to the type of the argument passed --> crates/brontes-types/src/db/codecs.rs:20:17 | 20 | Ok(this) | ^^^----^ | | | this argument influences the type of Ok | ::: crates/brontes-types/src/db/cex/trades/cex_trades.rs:161:1 | 161 | implement_table_value_codecs_with_zc!(CexTradeMapRedefined); | ----------------------------------------------------------- in this macro invocation note: tuple variant defined here --> /rustc/ca5d25e2c41f5a6b4ce65c681bf2f94c7ead1f14/library/core/src/result.rs:531:5 = note: this error originates in the macro implement_table_value_codecs_with_zc (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0282]: type annotations needed --> crates/brontes-types/src/db/dex.rs:305:5 | 305 | Archive | ^^^^^^^ | | | cannot infer type | cannot call a method on a raw pointer with an unknown pointee type | = note: this error originates in the macro out_field which comes from the expansion of the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types --> crates/brontes-types/src/db/codecs.rs:20:20 | 20 | Ok(this) | -- ^^^^ expected MevBlockWithClassifiedRedefined, found With<_, _> | | | arguments to this enum variant are incorrect | ::: crates/brontes-types/src/db/mev_block.rs:14:1 | 14 | implement_table_value_codecs_with_zc!(MevBlockWithClassifiedRedefined); | ---------------------------------------------------------------------- in this macro invocation | = note: expected struct MevBlockWithClassifiedRedefined found struct rkyv::with::With<_, _> help: the type constructed contains rkyv::with::With<_, _> due to the type of the argument passed --> crates/brontes-types/src/db/codecs.rs:20:17 | 20 | Ok(this) | ^^^----^ | | | this argument influences the type of Ok | ::: crates/brontes-types/src/db/mev_block.rs:14:1 | 14 | implement_table_value_codecs_with_zc!(MevBlockWithClassifiedRedefined); | ---------------------------------------------------------------------- in this macro invocation note: tuple variant defined here --> /rustc/ca5d25e2c41f5a6b4ce65c681bf2f94c7ead1f14/library/core/src/result.rs:531:5 = note: this error originates in the macro implement_table_value_codecs_with_zc (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0284]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:27:14 | 27 | Sandwich(Sandwich), | ^^^^^^^^ cannot infer type | = note: cannot satisfy <sandwich::SandwichRedefined as Archive>::Archived == _

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:27:14 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ------------ required by a bound introduced by this call 26 | pub enum BundleData { 27 | Sandwich(Sandwich), | ^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<sandwich::SandwichRedefined, __D> found --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ | ::: crates/brontes-types/src/mev/sandwich.rs:61:73 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:28:15 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ------------ required by a bound introduced by this call ... 28 | AtomicArb(AtomicArb), | ^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<backrun::AtomicArbRedefined, __D> found --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ | ::: crates/brontes-types/src/mev/backrun.rs:26:73 | 26 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:31:17 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ------------ required by a bound introduced by this call ... 31 | CexDexQuote(CexDexQuote), | ^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<cex_dex_quotes::CexDexQuoteRedefined, __D> found --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ | ::: crates/brontes-types/src/mev/cex_dex_quotes.rs:23:73 | 23 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:33:17 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ------------ required by a bound introduced by this call ... 33 | Liquidation(Liquidation), | ^^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<mev::liquidation::LiquidationRedefined, __D> found --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ | ::: crates/brontes-types/src/mev/liquidation.rs:21:73 | 21 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0283]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:34:13 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ------------ required by a bound introduced by this call ... 34 | Unknown(SearcherTx), | ^^^^^^^^^^ cannot infer type | note: multiple impls or where clauses satisfying _: rkyv::Deserialize<searcher_tx::SearcherTxRedefined, __D> found --> crates/brontes-types/src/mev/bundle/data.rs:25:73 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ | ::: crates/brontes-types/src/mev/searcher_tx.rs:23:73 | 23 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^^^^^^ = note: this error originates in the derive macro rDeserialize (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0282]: type annotations needed --> crates/brontes-types/src/mev/bundle/data.rs:25:87 | 25 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ | | | cannot infer type | cannot call a method on a raw pointer with an unknown pointee type | = note: this error originates in the macro out_field which comes from the expansion of the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0282]: type annotations needed --> crates/brontes-types/src/mev/sandwich.rs:61:87 | 61 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ | | | cannot infer type | cannot call a method on a raw pointer with an unknown pointee type | = note: this error originates in the macro out_field which comes from the expansion of the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0282]: type annotations needed --> crates/brontes-types/src/mev/jit.rs:28:87 | 28 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ | | | cannot infer type | cannot call a method on a raw pointer with an unknown pointee type | = note: this error originates in the macro out_field which comes from the expansion of the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0282]: type annotations needed --> crates/brontes-types/src/mev/backrun.rs:26:87 | 26 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ | | | cannot infer type | cannot call a method on a raw pointer with an unknown pointee type | = note: this error originates in the macro out_field which comes from the expansion of the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation == cannot be applied to type Vec<ArbDetailsRedefined> --> crates/brontes-types/src/mev/cex_dex.rs:73:5 | 65 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | --------- in this derive macro expansion ... 73 | pub global_vmap_details: Vec<ArbDetails>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the derive macro PartialEq (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation == cannot be applied to type Vec<ArbDetailsRedefined> --> crates/brontes-types/src/mev/cex_dex.rs:76:5 | 65 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | --------- in this derive macro expansion ... 76 | pub optimal_route_details: Vec<ArbDetails>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the derive macro PartialEq (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation == cannot be applied to type Vec<ArbDetailsRedefined> --> crates/brontes-types/src/mev/cex_dex.rs:79:5 | 65 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | --------- in this derive macro expansion ... 79 | pub optimistic_route_details: Vec<ArbDetails>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the derive macro PartialEq (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation == cannot be applied to type Vec<Vec<OptimisticTradeRedefined>> --> crates/brontes-types/src/mev/cex_dex.rs:80:5 | 65 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | --------- in this derive macro expansion ... 80 | pub optimistic_trade_details: Vec<Vec<OptimisticTrade>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the derive macro PartialEq (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation == cannot be applied to type Vec<Vec<ArbDetailsRedefined>> --> crates/brontes-types/src/mev/cex_dex.rs:83:5 | 65 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | --------- in this derive macro expansion ... 83 | pub per_exchange_details: Vec<Vec<ArbDetails>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the derive macro PartialEq (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0282]: type annotations needed --> crates/brontes-types/src/mev/cex_dex.rs:65:87 | 65 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ | | | cannot infer type | cannot call a method on a raw pointer with an unknown pointee type | = note: this error originates in the macro out_field which comes from the expansion of the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0282]: type annotations needed --> crates/brontes-types/src/mev/liquidation.rs:21:87 | 21 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ | | | cannot infer type | cannot call a method on a raw pointer with an unknown pointee type | = note: this error originates in the macro out_field which comes from the expansion of the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0282]: type annotations needed --> crates/brontes-types/src/mev/jit_sandwich.rs:27:87 | 27 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ | | | cannot infer type | cannot call a method on a raw pointer with an unknown pointee type | = note: this error originates in the macro out_field which comes from the expansion of the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0282]: type annotations needed --> crates/brontes-types/src/mev/searcher_tx.rs:23:87 | 23 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ | | | cannot infer type | cannot call a method on a raw pointer with an unknown pointee type | = note: this error originates in the macro out_field which comes from the expansion of the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0282]: type annotations needed --> crates/brontes-types/src/mev/cex_dex_quotes.rs:23:87 | 23 | #[redefined_attr(derive(Debug, PartialEq, Clone, Serialize, rSerialize, rDeserialize, Archive))] | ^^^^^^^ | | | cannot infer type | cannot call a method on a raw pointer with an unknown pointee type | = note: this error originates in the macro out_field which comes from the expansion of the derive macro Archive (in Nightly builds, run with -Z macro-backtrace for more info)

Some errors have detailed explanations: E0282, E0283, E0284, E0308, E0369, E0412, E0432, E0599. For more information about an error, try rustc --explain E0282. warning: brontes-types (lib) generated 6 warnings error: could not compile brontes-types (lib) due to 116 previous errors; 6 warnings emitted warning: build failed, waiting for other jobs to finish... warning: brontes-types (lib) generated 6 warnings (6 duplicates) error: could not compile brontes-types (lib) due to 116 previous errors; 6 warnings emitted error: failed to compile brontes v0.1.0 (/home/ubuntu/brontes/crates/bin), intermediate artifacts can be found at /home/ubuntu/brontes/target. To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

mingram8 avatar Aug 21 '24 16:08 mingram8

I had the same error. For me the issues resolved when specified the +nightly flag and got an error that the nightly version was missing.

RUSTFLAGS="-C target-cpu=native" cargo +nightly install --path crates/bin --profile maxperf

Install the nightly rust version that was prompted e.g.:

rustup install nightly-x86_64-unknown-linux-gnu

Afterwards it was compiling as well without the +nightly flag.

Ebolon avatar Aug 21 '24 18:08 Ebolon

Received similar errors to the OP, installing/using nightly (on Darwin) did not help -- still no dice.

In my case, looks like the malachite-q dependency is no longer available (as pinned in the lock file), so any new builds/pulls of the dep will fail. Running cargo update malachite-q --precise "0.4.15" allowed the build to proceed as normal.

zakisaad avatar Aug 23 '24 02:08 zakisaad

cargo update malachite-q --precise "0.4.15"

This worked. Hero find.

mingram8 avatar Aug 23 '24 02:08 mingram8

cargo update malachite-q --precise "0.4.15" RUSTFLAGS="-C target-cpu=native" cargo +nightly install --path crates/bin --profile maxperf

solves the issue

mingram8 avatar Aug 23 '24 02:08 mingram8