[INFO] fetching crate eth-rlp-verify 0.1.0... [INFO] testing eth-rlp-verify-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate eth-rlp-verify 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate eth-rlp-verify 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate eth-rlp-verify 0.1.0 [INFO] tweaked toml for crates.io crate eth-rlp-verify 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate eth-rlp-verify 0.1.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 eth-rlp-verify 0.1.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] Downloading crates ... [INFO] [stderr] Downloaded ethbloom v0.14.1 [INFO] [stderr] Downloaded impl-rlp v0.4.0 [INFO] [stderr] Downloaded rlp v0.6.1 [INFO] [stderr] Downloaded impl-codec v0.7.0 [INFO] [stderr] Downloaded httparse v1.9.2 [INFO] [stderr] Downloaded ethereum-types v0.15.1 [INFO] [stderr] Downloaded hyper-util v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c474b3b3e8485efb82302a075217d3fc01d4defa80d21dbd51df39331f0d0d9 [INFO] running `Command { std: "docker" "start" "-a" "6c474b3b3e8485efb82302a075217d3fc01d4defa80d21dbd51df39331f0d0d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c474b3b3e8485efb82302a075217d3fc01d4defa80d21dbd51df39331f0d0d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c474b3b3e8485efb82302a075217d3fc01d4defa80d21dbd51df39331f0d0d9", kill_on_drop: false }` [INFO] [stdout] 6c474b3b3e8485efb82302a075217d3fc01d4defa80d21dbd51df39331f0d0d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d4213444039c4d6a054c2e414fbadb8d3f5a9c5dd5c65182f6ba95923e6ccd4 [INFO] running `Command { std: "docker" "start" "-a" "0d4213444039c4d6a054c2e414fbadb8d3f5a9c5dd5c65182f6ba95923e6ccd4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling httparse v1.9.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling rlp v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling impl-rlp v0.4.0 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling clap_builder v4.5.18 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.2 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling clap v4.5.18 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling zerovec v0.10.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.0 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ethbloom v0.14.1 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna v1.0.0 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling ethereum-types v0.15.1 [INFO] [stderr] Compiling url v2.5.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling eth-rlp-verify v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.59s [INFO] running `Command { std: "docker" "inspect" "0d4213444039c4d6a054c2e414fbadb8d3f5a9c5dd5c65182f6ba95923e6ccd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d4213444039c4d6a054c2e414fbadb8d3f5a9c5dd5c65182f6ba95923e6ccd4", kill_on_drop: false }` [INFO] [stdout] 0d4213444039c4d6a054c2e414fbadb8d3f5a9c5dd5c65182f6ba95923e6ccd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b7b8b3499e1eadedadb6465bf5dc82ed7945438d52c6ae8b10646cfb858ffc5 [INFO] running `Command { std: "docker" "start" "-a" "7b7b8b3499e1eadedadb6465bf5dc82ed7945438d52c6ae8b10646cfb858ffc5", kill_on_drop: false }` [INFO] [stderr] Compiling eth-rlp-verify v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "7b7b8b3499e1eadedadb6465bf5dc82ed7945438d52c6ae8b10646cfb858ffc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b7b8b3499e1eadedadb6465bf5dc82ed7945438d52c6ae8b10646cfb858ffc5", kill_on_drop: false }` [INFO] [stdout] 7b7b8b3499e1eadedadb6465bf5dc82ed7945438d52c6ae8b10646cfb858ffc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 83386a639b94d1b4c89041a78ff28ce5d31dbf80fa8eb6fcce208957d3b4d6fa [INFO] running `Command { std: "docker" "start" "-a" "83386a639b94d1b4c89041a78ff28ce5d31dbf80fa8eb6fcce208957d3b4d6fa", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/eth_rlp_verify-dba0a2a51026072b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests eth_rlp_verify [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/eras/dencun.rs - eras::dencun::BlockHeaderDencun (line 122) ... FAILED [INFO] [stdout] test src/eras/genesis.rs - eras::genesis::BlockHeaderGenesis (line 100) ... FAILED [INFO] [stdout] test src/eras/genesis.rs - eras::genesis::verify_hash_genesis (line 151) ... FAILED [INFO] [stdout] test src/eras/london.rs - eras::london::verify_hash_london (line 157) ... FAILED [INFO] [stdout] test src/eras/shapella.rs - eras::shapella::verify_hash_shapella (line 161) ... FAILED [INFO] [stdout] test src/eras/london.rs - eras::london::BlockHeaderLondon (line 104) ... FAILED [INFO] [stdout] test src/lib.rs - verify_block (line 29) ... FAILED [INFO] [stdout] test src/eras/mod.rs - eras::determine_era (line 49) ... FAILED [INFO] [stdout] test src/block_header.rs - block_header::BlockHeaderTrait (line 72) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/eras/dencun.rs - eras::dencun::verify_hash_dencun (line 180) ... FAILED [INFO] [stdout] test src/eras/paris.rs - eras::paris::verify_hash_paris (line 149) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/eras/dencun.rs - eras::dencun::BlockHeaderDencun (line 122) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `db_header` in this scope [INFO] [stdout] --> src/eras/dencun.rs:123:48 [INFO] [stdout] | [INFO] [stdout] 3 | let header = BlockHeaderDencun::from_db_header(db_header); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockHeaderDencun` [INFO] [stdout] --> src/eras/dencun.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 3 | let header = BlockHeaderDencun::from_db_header(db_header); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `BlockHeaderDencun` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/eras/genesis.rs - eras::genesis::BlockHeaderGenesis (line 100) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `db_header` in this scope [INFO] [stdout] --> src/eras/genesis.rs:101:49 [INFO] [stdout] | [INFO] [stdout] 3 | let header = BlockHeaderGenesis::from_db_header(db_header); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockHeaderGenesis` [INFO] [stdout] --> src/eras/genesis.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 3 | let header = BlockHeaderGenesis::from_db_header(db_header); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `BlockHeaderGenesis` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/eras/genesis.rs - eras::genesis::verify_hash_genesis (line 151) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `verify_hash_genesis` in this scope [INFO] [stdout] --> src/eras/genesis.rs:152:16 [INFO] [stdout] | [INFO] [stdout] 3 | let is_valid = verify_hash_genesis("0xabc...".to_string(), db_header); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use eth_rlp_verify::eras::verify_hash_genesis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db_header` in this scope [INFO] [stdout] --> src/eras/genesis.rs:152:60 [INFO] [stdout] | [INFO] [stdout] 3 | let is_valid = verify_hash_genesis("0xabc...".to_string(), db_header); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/eras/london.rs - eras::london::verify_hash_london (line 157) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `verify_hash_london` in this scope [INFO] [stdout] --> src/eras/london.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 3 | let is_valid = verify_hash_london("0xabc...".to_string(), db_header); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use eth_rlp_verify::eras::verify_hash_london; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db_header` in this scope [INFO] [stdout] --> src/eras/london.rs:158:59 [INFO] [stdout] | [INFO] [stdout] 3 | let is_valid = verify_hash_london("0xabc...".to_string(), db_header); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/eras/shapella.rs - eras::shapella::verify_hash_shapella (line 161) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `verify_hash_shapella` in this scope [INFO] [stdout] --> src/eras/shapella.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 3 | let is_valid = verify_hash_shapella("0xabc...".to_string(), db_header); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use eth_rlp_verify::eras::verify_hash_shapella; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db_header` in this scope [INFO] [stdout] --> src/eras/shapella.rs:162:61 [INFO] [stdout] | [INFO] [stdout] 3 | let is_valid = verify_hash_shapella("0xabc...".to_string(), db_header); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/eras/london.rs - eras::london::BlockHeaderLondon (line 104) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `db_header` in this scope [INFO] [stdout] --> src/eras/london.rs:105:48 [INFO] [stdout] | [INFO] [stdout] 3 | let header = BlockHeaderLondon::from_db_header(db_header); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockHeaderLondon` [INFO] [stdout] --> src/eras/london.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 3 | let header = BlockHeaderLondon::from_db_header(db_header); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `BlockHeaderLondon` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - verify_block (line 29) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `verify_block` in this scope [INFO] [stdout] --> src/lib.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 7 | let is_valid = verify_block(block_number, block_header, block_hash); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use eth_rlp_verify::verify_block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_block_header_from_db` in this scope [INFO] [stdout] --> src/lib.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 4 | let block_header = fetch_block_header_from_db(block_number); // Fetch the block header from the database [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/eras/mod.rs - eras::determine_era (line 49) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `determine_era` in this scope [INFO] [stdout] --> src/eras/mod.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 4 | if let Some(verify_fn) = determine_era(block_number) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use eth_rlp_verify::eras::determine_era; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch_block_header` in this scope [INFO] [stdout] --> src/eras/mod.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 6 | let db_header = fetch_block_header(block_number); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/block_header.rs - block_header::BlockHeaderTrait (line 72) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `BlockHeaderTrait` in this scope [INFO] [stdout] --> src/block_header.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl BlockHeaderTrait for MyBlockHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use eth_rlp_verify::block_header::BlockHeaderTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/eras/dencun.rs - eras::dencun::verify_hash_dencun (line 180) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `verify_hash_dencun` in this scope [INFO] [stdout] --> src/eras/dencun.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 3 | let is_valid = verify_hash_dencun("0xabc...".to_string(), db_header); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use eth_rlp_verify::eras::verify_hash_dencun; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db_header` in this scope [INFO] [stdout] --> src/eras/dencun.rs:181:59 [INFO] [stdout] | [INFO] [stdout] 3 | let is_valid = verify_hash_dencun("0xabc...".to_string(), db_header); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/eras/paris.rs - eras::paris::verify_hash_paris (line 149) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `verify_hash_paris` in this scope [INFO] [stdout] --> src/eras/paris.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 3 | let is_valid = verify_hash_paris("0xabc...".to_string(), db_header); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use eth_rlp_verify::eras::verify_hash_paris; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db_header` in this scope [INFO] [stdout] --> src/eras/paris.rs:150:58 [INFO] [stdout] | [INFO] [stdout] 3 | let is_valid = verify_hash_paris("0xabc...".to_string(), db_header); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/block_header.rs - block_header::BlockHeaderTrait (line 72) [INFO] [stdout] src/eras/dencun.rs - eras::dencun::BlockHeaderDencun (line 122) [INFO] [stdout] src/eras/dencun.rs - eras::dencun::verify_hash_dencun (line 180) [INFO] [stdout] src/eras/genesis.rs - eras::genesis::BlockHeaderGenesis (line 100) [INFO] [stdout] src/eras/genesis.rs - eras::genesis::verify_hash_genesis (line 151) [INFO] [stdout] src/eras/london.rs - eras::london::BlockHeaderLondon (line 104) [INFO] [stdout] src/eras/london.rs - eras::london::verify_hash_london (line 157) [INFO] [stdout] src/eras/mod.rs - eras::determine_era (line 49) [INFO] [stdout] src/eras/paris.rs - eras::paris::verify_hash_paris (line 149) [INFO] [stdout] src/eras/shapella.rs - eras::shapella::verify_hash_shapella (line 161) [INFO] [stdout] src/lib.rs - verify_block (line 29) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "83386a639b94d1b4c89041a78ff28ce5d31dbf80fa8eb6fcce208957d3b4d6fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83386a639b94d1b4c89041a78ff28ce5d31dbf80fa8eb6fcce208957d3b4d6fa", kill_on_drop: false }` [INFO] [stdout] 83386a639b94d1b4c89041a78ff28ce5d31dbf80fa8eb6fcce208957d3b4d6fa