[INFO] fetching crate crabrolls 2.0.0... [INFO] checking crabrolls-2.0.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate crabrolls 2.0.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate crabrolls 2.0.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate crabrolls 2.0.0 [INFO] finished tweaking crates.io crate crabrolls 2.0.0 [INFO] tweaked toml for crates.io crate crabrolls 2.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate crabrolls 2.0.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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cc625d48faae697889736e420c55206bcc51c0d959925fa5ac029b583a7679f [INFO] running `Command { std: "docker" "start" "-a" "0cc625d48faae697889736e420c55206bcc51c0d959925fa5ac029b583a7679f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cc625d48faae697889736e420c55206bcc51c0d959925fa5ac029b583a7679f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cc625d48faae697889736e420c55206bcc51c0d959925fa5ac029b583a7679f", kill_on_drop: false }` [INFO] [stdout] 0cc625d48faae697889736e420c55206bcc51c0d959925fa5ac029b583a7679f [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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22ca3f2ce8dcbbea99d9fa086cfd24945f20c2b325fdb4b06290f85c49d90357 [INFO] running `Command { std: "docker" "start" "-a" "22ca3f2ce8dcbbea99d9fa086cfd24945f20c2b325fdb4b06290f85c49d90357", 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 proc-macro2 v1.0.84 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking piper v0.2.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking blocking v1.6.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking async-executor v1.12.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.207 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking polling v3.7.0 [INFO] [stderr] Checking rustls-webpki v0.102.5 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking ureq v2.10.1 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Checking crabrolls v2.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `crabrolls` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/utils/macros.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/macros.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | ($address:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/macros.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | ($value:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stdout] warning: unused imports: `Address` and `Uint` [INFO] [stdout] --> src/utils/macros.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use ethabi::{Address, Uint}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/macros.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | ($address: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] 5 | ($address: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/utils/macros.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | ($value: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] 12 | ($value:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner_iter` is never used [INFO] [stdout] --> src/core/contracts/erc1155.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait IntoIdsIter { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 25 | fn into_inner_iter(self) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/core/contracts/erc721.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(tokens) = self.ownership.get_mut(&owner) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/core/contracts/erc721.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 33 ~ match self.ownership.get_mut(&owner) { Some(tokens) => { [INFO] [stdout] 34 | tokens.remove(&(token_address, token_id)); [INFO] [stdout] ... [INFO] [stdout] 37 | } [INFO] [stdout] 38 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/utils/macros.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | ($address:expr_2021) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #123742 for more information [INFO] [stdout] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/super_honeypot.rs from 2021 edition to 2024 [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/utils/macros.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | ($value:expr_2021) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #123742 for more information [INFO] [stdout] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> src/utils/macros.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | (|| -> Address { $address.parse().expect("Invalid address format") })() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 25 | let address = address!("0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `address` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 21 + use ethabi::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address` [INFO] [stdout] --> src/utils/macros.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | Address::from([ [INFO] [stdout] | ^^^^^^^ use of undeclared type `Address` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 21 + use ethabi::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uint` in this scope [INFO] [stdout] --> src/utils/macros.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | (|| -> Uint { Uint::from($value) })() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 38 | let value = uint!(100); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 21 + use ethabi::Uint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crabrolls` (lib test) due to 8 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uint` [INFO] [stdout] --> src/utils/macros.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | (|| -> Uint { Uint::from($value) })() [INFO] [stdout] | ^^^^ use of undeclared type `Uint` [INFO] [stdout] ... [INFO] [stdout] 38 | let value = uint!(100); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 21 + use ethabi::Uint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uint` [INFO] [stdout] --> src/utils/macros.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(value, Uint::from(100u64)); [INFO] [stdout] | ^^^^ use of undeclared type `Uint` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 21 + use ethabi::Uint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] Fixed examples/super_honeypot.rs (1 fix) [INFO] [stderr] Migrating examples/blog.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/blog.rs (1 fix) [INFO] [stderr] Migrating examples/echo.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/echo.rs (1 fix) [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" "22ca3f2ce8dcbbea99d9fa086cfd24945f20c2b325fdb4b06290f85c49d90357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22ca3f2ce8dcbbea99d9fa086cfd24945f20c2b325fdb4b06290f85c49d90357", kill_on_drop: false }` [INFO] [stdout] 22ca3f2ce8dcbbea99d9fa086cfd24945f20c2b325fdb4b06290f85c49d90357