[INFO] fetching crate ethereum-block 0.4.0... [INFO] testing ethereum-block-0.4.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate ethereum-block 0.4.0 into /workspace/builds/worker-114/source [INFO] validating manifest of crates.io crate ethereum-block 0.4.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethereum-block 0.4.0 [INFO] finished tweaking crates.io crate ethereum-block 0.4.0 [INFO] tweaked toml for crates.io crate ethereum-block 0.4.0 written to /workspace/builds/worker-114/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b352e360118544cb994becde9345fed62ff238639eb0faf4bced4ff27b4d5191 [INFO] running `Command { std: "docker" "start" "-a" "b352e360118544cb994becde9345fed62ff238639eb0faf4bced4ff27b4d5191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b352e360118544cb994becde9345fed62ff238639eb0faf4bced4ff27b4d5191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b352e360118544cb994becde9345fed62ff238639eb0faf4bced4ff27b4d5191", kill_on_drop: false }` [INFO] [stdout] b352e360118544cb994becde9345fed62ff238639eb0faf4bced4ff27b4d5191 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bda0d31df4a019a25dd1449cf1c6d5527cd8e18ed2f38f23e9f7a7d044efecb2 [INFO] running `Command { std: "docker" "start" "-a" "bda0d31df4a019a25dd1449cf1c6d5527cd8e18ed2f38f23e9f7a7d044efecb2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling elastic-array-plus v0.9.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ethereum-hexutil v0.2.3 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling libsecp256k1 v0.1.3 [INFO] [stderr] Compiling blockchain v0.2.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling ethereum-rlp v0.2.3 [INFO] [stderr] Compiling ethereum-bigint v0.2.9 [INFO] [stderr] Compiling generic-array v0.8.4 [INFO] [stderr] Compiling digest v0.6.1 [INFO] [stderr] Compiling block-buffer v0.2.0 [INFO] [stderr] Compiling sha3 v0.6.0 [INFO] [stderr] Compiling ethereum-trie v0.5.0 [INFO] [stderr] Compiling ethereum-bloom v0.2.1 [INFO] [stderr] Compiling ethereum-block-core v0.2.0 [INFO] [stderr] Compiling ethereum-trie-memory v0.5.0 [INFO] [stderr] Compiling ethereum-block v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `secp256k1::Error` [INFO] [stdout] --> src/transaction.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use secp256k1::{self, Message, Error, Signature, RecoveryId, SecretKey, PublicKey}; [INFO] [stdout] | ^^^^^ no `Error` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `secp256k1::Error` [INFO] [stdout] --> src/address.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use secp256k1::{self, PublicKey, SecretKey, Error}; [INFO] [stdout] | ^^^^^ no `Error` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sign` in crate `secp256k1` [INFO] [stdout] --> src/transaction.rs:160:26 [INFO] [stdout] | [INFO] [stdout] 160 | { secp256k1::sign(&msg, key).unwrap() } [INFO] [stdout] | ^^^^ not found in `secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PublicKey` [INFO] [stdout] --> src/transaction.rs:6:73 [INFO] [stdout] | [INFO] [stdout] 6 | use secp256k1::{self, Message, Error, Signature, RecoveryId, SecretKey, PublicKey}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `B256`, `M256` [INFO] [stdout] --> src/transaction.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | use bigint::{Address, Gas, H256, U256, B256, M256}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/transaction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Address`, `B256`, `Gas`, `H2048`, `H64` [INFO] [stdout] --> src/block.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use bigint::{Address, Gas, H256, U256, B256, H64, H2048}; [INFO] [stdout] | ^^^^^^^ ^^^ ^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bloom::LogsBloom` [INFO] [stdout] --> src/block.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bloom::LogsBloom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/block.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SignaturePatch` [INFO] [stdout] --> src/block.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{Header, Transaction, Receipt, SignaturePatch}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Address`, `B256`, `H64`, `U256` [INFO] [stdout] --> src/receipt.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use bigint::{Address, Gas, H256, U256, B256, H64}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/address.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use secp256k1::{self, PublicKey, SecretKey, Error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `RecoveryId` in the current scope [INFO] [stdout] --> src/transaction.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | Ok((Signature::parse(&sig), RecoveryId::parse(self.standard_v() as u8)?)) [INFO] [stdout] | ^^^^^ function or associated item not found in `RecoveryId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transaction.rs:233:34 [INFO] [stdout] | [INFO] [stdout] 233 | secp256k1::recover(&Message::parse(&a), &sig.0, &sig.1)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `Signature`, found struct `Message` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Signature` [INFO] [stdout] found reference `&Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Option<[u8; 65]>` [INFO] [stdout] --> src/address.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | Keccak256::digest(&key.serialize()[1..]).as_slice()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ethereum-block` due to 7 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bda0d31df4a019a25dd1449cf1c6d5527cd8e18ed2f38f23e9f7a7d044efecb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bda0d31df4a019a25dd1449cf1c6d5527cd8e18ed2f38f23e9f7a7d044efecb2", kill_on_drop: false }` [INFO] [stdout] bda0d31df4a019a25dd1449cf1c6d5527cd8e18ed2f38f23e9f7a7d044efecb2