[INFO] fetching crate cido-ethereum 0.2.0... [INFO] testing cido-ethereum-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cido-ethereum 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate cido-ethereum 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate cido-ethereum 0.2.0 [INFO] tweaked toml for crates.io crate cido-ethereum 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cido-ethereum 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cido-ethereum 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uint v0.10.0 [INFO] [stderr] Downloaded array_map_derive v0.4.0 [INFO] [stderr] Downloaded cido-ethereum-macros v0.2.0 [INFO] [stderr] Downloaded iso8601 v0.6.1 [INFO] [stderr] Downloaded array_map v0.4.0 [INFO] [stderr] Downloaded async-graphql-parser v7.0.14 [INFO] [stderr] Downloaded async-graphql-derive v7.0.14 [INFO] [stderr] Downloaded web3 v0.19.0 [INFO] [stderr] Downloaded cido v0.2.0 [INFO] [stderr] Downloaded cido-macros v0.2.0 [INFO] [stderr] Downloaded tempfile v3.16.0 [INFO] [stderr] Downloaded async-graphql-value v7.0.14 [INFO] [stderr] Downloaded smart-default v0.7.1 [INFO] [stderr] Downloaded async-graphql v7.0.14 [INFO] [stderr] Downloaded rustls v0.23.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ccdc1ccc0b168bdaeb4170dce0bb57ee9c204d1abf861a7444e12b44ef51924 [INFO] running `Command { std: "docker" "start" "-a" "3ccdc1ccc0b168bdaeb4170dce0bb57ee9c204d1abf861a7444e12b44ef51924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ccdc1ccc0b168bdaeb4170dce0bb57ee9c204d1abf861a7444e12b44ef51924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ccdc1ccc0b168bdaeb4170dce0bb57ee9c204d1abf861a7444e12b44ef51924", kill_on_drop: false }` [INFO] [stdout] 3ccdc1ccc0b168bdaeb4170dce0bb57ee9c204d1abf861a7444e12b44ef51924 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c1b68b16fe09b11ef800a09cc01f6aa65583b2cf627194a0b2a5a0173868584 [INFO] running `Command { std: "docker" "start" "-a" "4c1b68b16fe09b11ef800a09cc01f6aa65583b2cf627194a0b2a5a0173868584", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling rustls v0.23.22 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling bigdecimal v0.4.7 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling winnow v0.7.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling cido-macros v0.2.0 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling static_assertions_next v1.1.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling cido-ethereum-macros v0.2.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling array_map_derive v0.4.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling deluxe-core v0.5.0 [INFO] [stderr] Compiling iso8601 v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling pin-project v1.1.8 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap v4.5.27 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling array_map v0.4.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling toml_edit v0.22.23 [INFO] [stderr] Compiling async-graphql-value v7.0.14 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling handlebars v5.1.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling async-graphql-parser v7.0.14 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling soketto v0.7.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Compiling async-graphql-derive v7.0.14 [INFO] [stderr] Compiling deluxe v0.5.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling async-graphql v7.0.14 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling web3 v0.19.0 [INFO] [stderr] Compiling cido v0.2.0 [INFO] [stderr] Compiling cido-ethereum v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tracing` [INFO] [stdout] --> src/graphql.rs:11:74 [INFO] [stdout] | [INFO] [stdout] 11 | BlockId, GraphqlMetaExtension, GraphqlOrderBy, Network, async_graphql, tracing, [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 imports: `EthereumBlockInfoOrderBy` and `EthereumBlockInfo` [INFO] [stdout] --> src/network.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | block_info::{EthereumBlockInfo, EthereumBlockInfoOrderBy}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H256` [INFO] [stdout] --> src/network.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | types::{H160, H256, ReceiptBlock}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::TransactionIdBlock` [INFO] [stdout] --> src/network.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::types::TransactionIdBlock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/network.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | use cido::__internal::chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryBuilder` [INFO] [stdout] --> src/network.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | use cido::__internal::sqlx::{self, PgPool, QueryBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/network.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web3::types::BlockId` [INFO] [stdout] --> src/network.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use web3::types::BlockId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block` is never read [INFO] [stdout] --> src/graphql.rs:399:3 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct EthereumMetaExtension { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 399 | block: EthereumBlockNumber, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `unwrap_tx_filter` and `unwrap_log_filter` are never used [INFO] [stdout] --> src/network/filters.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 164 | impl EthereumFilter { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 165 | pub(crate) fn unwrap_tx_filter(&self) -> &EthereumTransactionFilter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub(crate) fn unwrap_log_filter(&self) -> &EthereumLogFilter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_receipt` is never used [INFO] [stdout] --> src/types.rs:389:6 [INFO] [stdout] | [INFO] [stdout] 388 | impl Transaction { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 389 | fn with_receipt(self, receipt_data: Receipt) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_receipts` is never used [INFO] [stdout] --> src/types.rs:848:17 [INFO] [stdout] | [INFO] [stdout] 847 | impl EthereumBlock> { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] 848 | pub(crate) fn with_receipts( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 51s [INFO] running `Command { std: "docker" "inspect" "4c1b68b16fe09b11ef800a09cc01f6aa65583b2cf627194a0b2a5a0173868584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c1b68b16fe09b11ef800a09cc01f6aa65583b2cf627194a0b2a5a0173868584", kill_on_drop: false }` [INFO] [stdout] 4c1b68b16fe09b11ef800a09cc01f6aa65583b2cf627194a0b2a5a0173868584 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8519ec8974bb4ab5c44af14aed85e21bc7380fcaa9b12116ac9919f2aecca050 [INFO] running `Command { std: "docker" "start" "-a" "8519ec8974bb4ab5c44af14aed85e21bc7380fcaa9b12116ac9919f2aecca050", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling cido v0.2.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling web3 v0.19.0 [INFO] [stderr] Compiling cido-ethereum v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tracing` [INFO] [stdout] --> src/graphql.rs:11:74 [INFO] [stdout] | [INFO] [stdout] 11 | BlockId, GraphqlMetaExtension, GraphqlOrderBy, Network, async_graphql, tracing, [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 imports: `EthereumBlockInfoOrderBy` and `EthereumBlockInfo` [INFO] [stdout] --> src/network.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | block_info::{EthereumBlockInfo, EthereumBlockInfoOrderBy}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H256` [INFO] [stdout] --> src/network.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | types::{H160, H256, ReceiptBlock}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::TransactionIdBlock` [INFO] [stdout] --> src/network.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::types::TransactionIdBlock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/network.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | use cido::__internal::chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryBuilder` [INFO] [stdout] --> src/network.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | use cido::__internal::sqlx::{self, PgPool, QueryBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/network.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web3::types::BlockId` [INFO] [stdout] --> src/network.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use web3::types::BlockId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing` [INFO] [stdout] --> src/graphql.rs:11:74 [INFO] [stdout] | [INFO] [stdout] 11 | BlockId, GraphqlMetaExtension, GraphqlOrderBy, Network, async_graphql, tracing, [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 imports: `EthereumBlockInfoOrderBy` and `EthereumBlockInfo` [INFO] [stdout] --> src/network.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | block_info::{EthereumBlockInfo, EthereumBlockInfoOrderBy}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H256` [INFO] [stdout] --> src/network.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | types::{H160, H256, ReceiptBlock}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::TransactionIdBlock` [INFO] [stdout] --> src/network.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::types::TransactionIdBlock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/network.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | use cido::__internal::chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryBuilder` [INFO] [stdout] --> src/network.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | use cido::__internal::sqlx::{self, PgPool, QueryBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/network.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web3::types::BlockId` [INFO] [stdout] --> src/network.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use web3::types::BlockId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block` is never read [INFO] [stdout] --> src/graphql.rs:399:3 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct EthereumMetaExtension { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 399 | block: EthereumBlockNumber, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `unwrap_tx_filter` and `unwrap_log_filter` are never used [INFO] [stdout] --> src/network/filters.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 164 | impl EthereumFilter { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 165 | pub(crate) fn unwrap_tx_filter(&self) -> &EthereumTransactionFilter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub(crate) fn unwrap_log_filter(&self) -> &EthereumLogFilter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_receipt` is never used [INFO] [stdout] --> src/types.rs:389:6 [INFO] [stdout] | [INFO] [stdout] 388 | impl Transaction { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 389 | fn with_receipt(self, receipt_data: Receipt) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_receipts` is never used [INFO] [stdout] --> src/types.rs:848:17 [INFO] [stdout] | [INFO] [stdout] 847 | impl EthereumBlock> { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] 848 | pub(crate) fn with_receipts( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block` is never read [INFO] [stdout] --> src/graphql.rs:399:3 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct EthereumMetaExtension { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 399 | block: EthereumBlockNumber, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `unwrap_tx_filter` and `unwrap_log_filter` are never used [INFO] [stdout] --> src/network/filters.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 164 | impl EthereumFilter { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 165 | pub(crate) fn unwrap_tx_filter(&self) -> &EthereumTransactionFilter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub(crate) fn unwrap_log_filter(&self) -> &EthereumLogFilter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_receipt` is never used [INFO] [stdout] --> src/types.rs:389:6 [INFO] [stdout] | [INFO] [stdout] 388 | impl Transaction { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 389 | fn with_receipt(self, receipt_data: Receipt) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_receipts` is never used [INFO] [stdout] --> src/types.rs:848:17 [INFO] [stdout] | [INFO] [stdout] 847 | impl EthereumBlock> { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] 848 | pub(crate) fn with_receipts( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToPrimitive` [INFO] [stdout] --> examples/uniswap-v2/core.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use num_traits::{ToPrimitive, Zero}; [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 imports: `DateTime` and `Utc` [INFO] [stdout] --> examples/uniswap-v2/pair.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use cido::__internal::chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `needs_complete` is never read [INFO] [stdout] --> examples/uniswap-v2/main.rs:286:3 [INFO] [stdout] | [INFO] [stdout] 251 | #[event(cidomap = Uniswap)] [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 286 | needs_complete: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BurnGql` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `incomplete_mints`, `incomplete_burns`, and `incomplete_swaps` are never read [INFO] [stdout] --> examples/uniswap-v2/main.rs:326:3 [INFO] [stdout] | [INFO] [stdout] 313 | #[event(cidomap = Uniswap)] [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 326 | incomplete_mints: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | incomplete_burns: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | incomplete_swaps: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "8519ec8974bb4ab5c44af14aed85e21bc7380fcaa9b12116ac9919f2aecca050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8519ec8974bb4ab5c44af14aed85e21bc7380fcaa9b12116ac9919f2aecca050", kill_on_drop: false }` [INFO] [stdout] 8519ec8974bb4ab5c44af14aed85e21bc7380fcaa9b12116ac9919f2aecca050 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a5b56641210a4477b3ccd4361f11fcb613a52e891538bb43daaa1c2f4fb72d0a [INFO] running `Command { std: "docker" "start" "-a" "a5b56641210a4477b3ccd4361f11fcb613a52e891538bb43daaa1c2f4fb72d0a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `tracing` [INFO] [stderr] --> src/graphql.rs:11:74 [INFO] [stderr] | [INFO] [stderr] 11 | BlockId, GraphqlMetaExtension, GraphqlOrderBy, Network, async_graphql, tracing, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `EthereumBlockInfoOrderBy` and `EthereumBlockInfo` [INFO] [stderr] --> src/network.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | block_info::{EthereumBlockInfo, EthereumBlockInfoOrderBy}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `H256` [INFO] [stderr] --> src/network.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | types::{H160, H256, ReceiptBlock}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::types::TransactionIdBlock` [INFO] [stderr] --> src/network.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::types::TransactionIdBlock; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DateTime` and `Utc` [INFO] [stderr] --> src/network.rs:13:32 [INFO] [stderr] | [INFO] [stderr] 13 | use cido::__internal::chrono::{DateTime, Utc}; [INFO] [stderr] | ^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `QueryBuilder` [INFO] [stderr] --> src/network.rs:14:44 [INFO] [stderr] | [INFO] [stderr] 14 | use cido::__internal::sqlx::{self, PgPool, QueryBuilder}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/network.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `web3::types::BlockId` [INFO] [stderr] --> src/network.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use web3::types::BlockId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `block` is never read [INFO] [stderr] --> src/graphql.rs:399:3 [INFO] [stderr] | [INFO] [stderr] 398 | pub struct EthereumMetaExtension { [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] 399 | block: EthereumBlockNumber, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `unwrap_tx_filter` and `unwrap_log_filter` are never used [INFO] [stderr] --> src/network/filters.rs:165:17 [INFO] [stderr] | [INFO] [stderr] 164 | impl EthereumFilter { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] 165 | pub(crate) fn unwrap_tx_filter(&self) -> &EthereumTransactionFilter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 172 | pub(crate) fn unwrap_log_filter(&self) -> &EthereumLogFilter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `with_receipt` is never used [INFO] [stderr] --> src/types.rs:389:6 [INFO] [stderr] | [INFO] [stderr] 388 | impl Transaction { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] 389 | fn with_receipt(self, receipt_data: Receipt) -> Transaction { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `with_receipts` is never used [INFO] [stderr] --> src/types.rs:848:17 [INFO] [stderr] | [INFO] [stderr] 847 | impl EthereumBlock> { [INFO] [stderr] | ------------------------------------- method in this implementation [INFO] [stderr] 848 | pub(crate) fn with_receipts( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cido-ethereum` (lib) generated 12 warnings (run `cargo fix --lib -p cido-ethereum` to apply 8 suggestions) [INFO] [stderr] warning: `cido-ethereum` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] warning: unused import: `ToPrimitive` [INFO] [stderr] --> examples/uniswap-v2/core.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | use num_traits::{ToPrimitive, Zero}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DateTime` and `Utc` [INFO] [stderr] --> examples/uniswap-v2/pair.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | use cido::__internal::chrono::{DateTime, Utc}; [INFO] [stderr] | ^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `needs_complete` is never read [INFO] [stderr] --> examples/uniswap-v2/main.rs:286:3 [INFO] [stderr] | [INFO] [stderr] 251 | #[event(cidomap = Uniswap)] [INFO] [stderr] | --------------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 286 | needs_complete: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BurnGql` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `incomplete_mints`, `incomplete_burns`, and `incomplete_swaps` are never read [INFO] [stderr] --> examples/uniswap-v2/main.rs:326:3 [INFO] [stderr] | [INFO] [stderr] 313 | #[event(cidomap = Uniswap)] [INFO] [stderr] | --------------------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 326 | incomplete_mints: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 330 | incomplete_burns: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 334 | incomplete_swaps: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cido-ethereum` (example "uniswap-v2") generated 4 warnings (run `cargo fix --example "uniswap-v2"` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cido_ethereum-01564a8f2c83bfad) [INFO] [stdout] [INFO] [stderr] Doc-tests cido_ethereum [INFO] [stdout] running 1 test [INFO] [stdout] test graphql::test_block_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/../README.md - (line 37) ... ignored [INFO] [stdout] test src/../README.md - (line 10) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 10) stdout ---- [INFO] [stdout] error: cannot find attribute `ethereum_contract` in this scope [INFO] [stdout] --> src/../README.md:17:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[ethereum_contract( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 6 + use cido_ethereum::ethereum_contract; [INFO] [stdout] | [INFO] [stdout] 6 + use cido_ethereum_macros::ethereum_contract; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H160` in this scope [INFO] [stdout] --> src/../README.md:14:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub const UNISWAP_V3_FACTORY: H160 = [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use cido_ethereum::H160; [INFO] [stdout] | [INFO] [stdout] 6 + use web3::types::H160; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H160` [INFO] [stdout] --> src/../README.md:15:7 [INFO] [stdout] | [INFO] [stdout] 7 | H160::from_hex_str("0x1F98431c8aD98523631AE4a59f267346ea31F984"); [INFO] [stdout] | ^^^^ use of undeclared type `H160` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use cido_ethereum::H160; [INFO] [stdout] | [INFO] [stdout] 6 + use web3::types::H160; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 10) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.39s; merged doctests compilation took 0.17s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a5b56641210a4477b3ccd4361f11fcb613a52e891538bb43daaa1c2f4fb72d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5b56641210a4477b3ccd4361f11fcb613a52e891538bb43daaa1c2f4fb72d0a", kill_on_drop: false }` [INFO] [stdout] a5b56641210a4477b3ccd4361f11fcb613a52e891538bb43daaa1c2f4fb72d0a