[INFO] fetching crate ethers-core 2.0.14... [INFO] checking ethers-core-2.0.14 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate ethers-core 2.0.14 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate ethers-core 2.0.14 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethers-core 2.0.14 [INFO] finished tweaking crates.io crate ethers-core 2.0.14 [INFO] tweaked toml for crates.io crate ethers-core 2.0.14 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 137 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding rlp v0.5.2 (available: v0.6.1) [INFO] [stderr] Adding thiserror v1.0.68 (available: v2.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70ab9b5e5fd92cfe0d61c0ceebf57a0d7f9cab44be0ba73a2fc66ae48a335057 [INFO] running `Command { std: "docker" "start" "-a" "70ab9b5e5fd92cfe0d61c0ceebf57a0d7f9cab44be0ba73a2fc66ae48a335057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70ab9b5e5fd92cfe0d61c0ceebf57a0d7f9cab44be0ba73a2fc66ae48a335057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70ab9b5e5fd92cfe0d61c0ceebf57a0d7f9cab44be0ba73a2fc66ae48a335057", kill_on_drop: false }` [INFO] [stdout] 70ab9b5e5fd92cfe0d61c0ceebf57a0d7f9cab44be0ba73a2fc66ae48a335057 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee2903d1b7bddc4279711dbc21b7c54023ba1f32cf925e31b86bf1a999fe6a6b [INFO] running `Command { std: "docker" "start" "-a" "ee2903d1b7bddc4279711dbc21b7c54023ba1f32cf925e31b86bf1a999fe6a6b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking const-hex v1.13.1 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling scale-info-derive v2.11.5 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking thiserror v1.0.68 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking parity-scale-codec v3.6.12 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking scale-info v2.11.5 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Checking open-fastrlp v0.1.4 [INFO] [stderr] Checking ethers-core v2.0.14 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/types/serde_helpers.rs (3 fixes) [INFO] [stderr] Fixed src/types/block.rs (1 fix) [INFO] [stderr] Fixed src/abi/raw.rs (1 fix) [INFO] [stderr] Fixed src/abi/human_readable/lexer.rs (1 fix) [INFO] [stderr] Fixed src/types/transaction/eip2718.rs (1 fix) [INFO] [stderr] Fixed src/abi/mod.rs (1 fix) [INFO] [stderr] Fixed src/abi/tokens.rs (2 fixes) [INFO] [stdout] error: couldn't read `src/types/../../testdata/proof.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/types/proof.rs:32:54 [INFO] [stdout] | [INFO] [stdout] 32 | serde_json::from_str::(include_str!("../../testdata/proof.json")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ethers-core` (lib test) due to 8 previous errors; 2 warnings emitted [INFO] [stdout] error: couldn't read `src/types/../../testdata/proof_uint_key.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/types/proof.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 38 | serde_json::from_str::(include_str!( [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 39 | | "../../testdata/proof_uint_key.json" [INFO] [stdout] 40 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/types/../../testdata/proof_empty_key.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/types/proof.rs:46:54 [INFO] [stdout] | [INFO] [stdout] 46 | serde_json::from_str::(include_str!( [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 47 | | "../../testdata/proof_empty_key.json" [INFO] [stdout] 48 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/abi/../../../ethers-contract/tests/solidity-contracts/verifier_abi.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/abi/raw.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | include_str!("../../../ethers-contract/tests/solidity-contracts/verifier_abi.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/abi/../../../ethers-contract/tests/solidity-contracts/verifier_abi_hardhat.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/abi/raw.rs:288:36 [INFO] [stdout] | [INFO] [stdout] 288 | const VERIFIER_ABI: &str = include_str!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 289 | | "../../../ethers-contract/tests/solidity-contracts/verifier_abi_hardhat.json" [INFO] [stdout] 290 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/abi/../../../ethers-contract/tests/solidity-contracts/verifier_abi_hardhat.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/abi/raw.rs:328:27 [INFO] [stdout] | [INFO] [stdout] 328 | let hh_artifact = include_str!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 329 | | "../../../ethers-contract/tests/solidity-contracts/verifier_abi_hardhat.json" [INFO] [stdout] 330 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/abi/../../../ethers-contract/tests/solidity-contracts/greeter.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/abi/raw.rs:344:13 [INFO] [stdout] | [INFO] [stdout] 344 | include_str!("../../../ethers-contract/tests/solidity-contracts/greeter.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/abi/../../testdata/solc-obj.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/abi/raw.rs:376:24 [INFO] [stdout] | [INFO] [stdout] 376 | let artifact = include_str!("../../testdata/solc-obj.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/abi/codec.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | ($val:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 202 | ($val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/abi/codec.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | ($val:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 210 | ($val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ee2903d1b7bddc4279711dbc21b7c54023ba1f32cf925e31b86bf1a999fe6a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee2903d1b7bddc4279711dbc21b7c54023ba1f32cf925e31b86bf1a999fe6a6b", kill_on_drop: false }` [INFO] [stdout] ee2903d1b7bddc4279711dbc21b7c54023ba1f32cf925e31b86bf1a999fe6a6b