[INFO] fetching crate ethereum-block 0.4.0... [INFO] testing ethereum-block-0.4.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ethereum-block 0.4.0 into /workspace/builds/worker-3-tc1/source [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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ethereum-block 0.4.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] [stderr] Adding blockchain v0.2.0 (available: v0.9.2) [INFO] [stderr] Adding libsecp256k1 v0.1.3 (available: v0.1.15) [INFO] [stderr] Adding rand v0.4.6 (available: v0.9.1) [INFO] [stderr] Adding sha3 v0.6.0 (available: v0.10.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generic-array v0.8.4 [INFO] [stderr] Downloaded block-buffer v0.2.0 [INFO] [stderr] Downloaded ethereum-trie-memory v0.5.0 [INFO] [stderr] Downloaded digest v0.6.1 [INFO] [stderr] Downloaded blockchain v0.2.0 [INFO] [stderr] Downloaded ethereum-bloom v0.2.1 [INFO] [stderr] Downloaded elastic-array-plus v0.9.1 [INFO] [stderr] Downloaded ethereum-rlp v0.2.3 [INFO] [stderr] Downloaded ethereum-bigint v0.2.9 [INFO] [stderr] Downloaded ethereum-trie v0.5.0 [INFO] [stderr] Downloaded ethereum-block-core v0.2.0 [INFO] [stderr] Downloaded ethereum-hexutil v0.2.3 [INFO] [stderr] Downloaded secp256k1-plus v0.5.7 [INFO] [stderr] Downloaded sha3 v0.6.0 [INFO] [stderr] Downloaded libsecp256k1 v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7787f676bee1b790b22dcd835457e7c7f06094dbc818eb39a302a22afee86bd9 [INFO] running `Command { std: "docker" "start" "-a" "7787f676bee1b790b22dcd835457e7c7f06094dbc818eb39a302a22afee86bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7787f676bee1b790b22dcd835457e7c7f06094dbc818eb39a302a22afee86bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7787f676bee1b790b22dcd835457e7c7f06094dbc818eb39a302a22afee86bd9", kill_on_drop: false }` [INFO] [stdout] 7787f676bee1b790b22dcd835457e7c7f06094dbc818eb39a302a22afee86bd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0067a68e819c457e986bdbaa413a403721abfca37a0cbb613050f6b5db3cb182 [INFO] running `Command { std: "docker" "start" "-a" "0067a68e819c457e986bdbaa413a403721abfca37a0cbb613050f6b5db3cb182", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling elastic-array-plus v0.9.1 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ethereum-hexutil v0.2.3 [INFO] [stderr] Compiling blockchain v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.1.3 [INFO] [stderr] Compiling generic-array v0.8.4 [INFO] [stderr] Compiling block-buffer v0.2.0 [INFO] [stderr] Compiling digest v0.6.1 [INFO] [stderr] Compiling sha3 v0.6.0 [INFO] [stderr] Compiling ethereum-rlp v0.2.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling ethereum-bigint v0.2.9 [INFO] [stderr] Compiling ethereum-trie v0.5.0 [INFO] [stderr] Compiling ethereum-block-core v0.2.0 [INFO] [stderr] Compiling ethereum-bloom v0.2.1 [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] = help: consider importing one of these items instead: [INFO] [stdout] std::error::Error [INFO] [stdout] std::fmt::Error [INFO] [stdout] std::fs::TryLockError::Error [INFO] [stdout] std::io::Error [INFO] [stdout] trie::Error [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] = help: consider importing one of these items instead: [INFO] [stdout] std::error::Error [INFO] [stdout] std::fmt::Error [INFO] [stdout] std::fs::TryLockError::Error [INFO] [stdout] std::io::Error [INFO] [stdout] trie::Error [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` and `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`, and `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`, and `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 `&Signature`, found `&Message` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Signature` [INFO] [stdout] found reference `&Message` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libsecp256k1-0.1.3/src/lib.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn recover(signature: &Signature, recovery_id: &RecoveryId, message: &Message) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Option<[u8; 65]>` [INFO] [stdout] --> src/address.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 26 | Keccak256::digest(&key.serialize()[1..]).as_slice()); [INFO] [stdout] | ^^^^^ [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` (lib) due to 6 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0067a68e819c457e986bdbaa413a403721abfca37a0cbb613050f6b5db3cb182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0067a68e819c457e986bdbaa413a403721abfca37a0cbb613050f6b5db3cb182", kill_on_drop: false }` [INFO] [stdout] 0067a68e819c457e986bdbaa413a403721abfca37a0cbb613050f6b5db3cb182