[INFO] fetching crate erc20_payment_lib 0.4.7... [INFO] checking erc20_payment_lib-0.4.7 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate erc20_payment_lib 0.4.7 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate erc20_payment_lib 0.4.7 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 erc20_payment_lib 0.4.7 [INFO] finished tweaking crates.io crate erc20_payment_lib 0.4.7 [INFO] tweaked toml for crates.io crate erc20_payment_lib 0.4.7 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 418 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding arc-swap v0.4.8 (available: v1.7.1) [INFO] [stderr] Adding atomic-shim v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding bitmaps v2.1.0 (available: v3.2.1) [INFO] [stderr] Adding bollard v0.14.0 (available: v0.17.1) [INFO] [stderr] Adding bollard-stubs v1.42.0-rc.7 (available: v1.42.0-rc.8) [INFO] [stderr] Adding bytecheck v0.6.12 (available: v0.8.0) [INFO] [stderr] Adding bytecheck_derive v0.6.12 (available: v0.8.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding cookie v0.16.2 (available: v0.18.1) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding crossbeam v0.7.3 (available: v0.8.4) [INFO] [stderr] Adding crossbeam-channel v0.4.4 (available: v0.5.13) [INFO] [stderr] Adding crossbeam-deque v0.7.4 (available: v0.8.5) [INFO] [stderr] Adding crossbeam-epoch v0.8.2 (available: v0.9.18) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (available: v0.3.11) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (available: v0.8.20) [INFO] [stderr] Adding ctor v0.1.26 (available: v0.2.8) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.5) [INFO] [stderr] Adding ethbloom v0.13.0 (available: v0.14.1) [INFO] [stderr] Adding ethereum-types v0.14.1 (available: v0.15.1) [INFO] [stderr] Adding event-listener v2.5.3 (available: v5.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hashlink v0.8.4 (available: v0.9.1) [INFO] [stderr] Adding hdrhistogram v6.3.4 (available: v7.5.4) [INFO] [stderr] Adding headers v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding headers-core v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding hostname v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding hyper-rustls v0.24.2 (available: v0.27.3) [INFO] [stderr] Adding hyperlocal v0.8.0 (available: v0.9.1) [INFO] [stderr] Adding idna v0.4.0 (available: v1.0.2) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding impl-codec v0.6.0 (available: v0.7.0) [INFO] [stderr] Adding impl-rlp v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding impl-serde v0.4.0 (available: v0.5.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding libsqlite3-sys v0.27.0 (available: v0.30.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding lock_api v0.3.4 (available: v0.4.12) [INFO] [stderr] Adding memoffset v0.5.6 (available: v0.9.1) [INFO] [stderr] Adding metrics v0.12.1 (available: v0.23.0) [INFO] [stderr] Adding metrics-util v0.3.2 (available: v0.17.0) [INFO] [stderr] Adding parking_lot v0.10.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.7.3 (available: v0.9.10) [INFO] [stderr] Adding primitive-types v0.12.2 (available: v0.13.1) [INFO] [stderr] Adding ptr_meta v0.1.4 (available: v0.3.0) [INFO] [stderr] Adding ptr_meta_derive v0.1.4 (available: v0.3.0) [INFO] [stderr] Adding quanta v0.3.2 (available: v0.12.3) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding rend v0.4.2 (available: v0.5.1) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.7) [INFO] [stderr] Adding ring v0.16.20 (available: v0.17.8) [INFO] [stderr] Adding rkyv v0.7.45 (available: v0.8.8) [INFO] [stderr] Adding rkyv_derive v0.7.45 (available: v0.8.8) [INFO] [stderr] Adding rlp v0.5.2 (available: v0.6.1) [INFO] [stderr] Adding rustls v0.20.9 (available: v0.23.13) [INFO] [stderr] Adding rustls v0.21.12 (available: v0.23.13) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (available: v2.1.3) [INFO] [stderr] Adding rustls-webpki v0.101.7 (available: v0.102.8) [INFO] [stderr] Adding secp256k1 v0.27.0 (available: v0.29.1) [INFO] [stderr] Adding secp256k1-sys v0.8.1 (available: v0.10.1) [INFO] [stderr] Adding serde_with v2.3.3 (available: v3.9.0) [INFO] [stderr] Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated) [INFO] [stderr] Adding sized-chunks v0.6.5 (available: v0.7.0) [INFO] [stderr] Adding spin v0.5.2 (available: v0.9.8) [INFO] [stderr] Adding sqlx v0.7.4 (available: v0.8.2) [INFO] [stderr] Adding sqlx-core v0.7.4 (available: v0.8.2) [INFO] [stderr] Adding sqlx-macros v0.7.4 (available: v0.8.2) [INFO] [stderr] Adding sqlx-macros-core v0.7.4 (available: v0.8.2) [INFO] [stderr] Adding sqlx-mysql v0.7.4 (available: v0.8.2) [INFO] [stderr] Adding sqlx-postgres v0.7.4 (available: v0.8.2) [INFO] [stderr] Adding sqlx-sqlite v0.7.4 (available: v0.8.2) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding system-configuration v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding tokio-rustls v0.23.4 (available: v0.26.0) [INFO] [stderr] Adding tokio-rustls v0.24.1 (available: v0.26.0) [INFO] [stderr] Adding uint v0.9.5 (available: v0.10.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding untrusted v0.7.1 (available: v0.9.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding webpki-roots v0.22.6 (available: v0.26.6) [INFO] [stderr] Adding webpki-roots v0.25.4 (available: v0.26.6) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winreg v0.50.0 (available: v0.52.0) [INFO] [stderr] Adding wyz v0.5.1 (available: v0.6.1) [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] e017e836da364ba8de17e0740915a87ae22bb75f19f8d3f5fe9c809640ebe542 [INFO] running `Command { std: "docker" "start" "-a" "e017e836da364ba8de17e0740915a87ae22bb75f19f8d3f5fe9c809640ebe542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e017e836da364ba8de17e0740915a87ae22bb75f19f8d3f5fe9c809640ebe542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e017e836da364ba8de17e0740915a87ae22bb75f19f8d3f5fe9c809640ebe542", kill_on_drop: false }` [INFO] [stdout] e017e836da364ba8de17e0740915a87ae22bb75f19f8d3f5fe9c809640ebe542 [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] 47248adeb826fdfb5ef8f594f3ef1cf0ad97903c9be166b2e39314afc5b467c5 [INFO] running `Command { std: "docker" "start" "-a" "47248adeb826fdfb5ef8f594f3ef1cf0ad97903c9be166b2e39314afc5b467c5", 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 serde v1.0.210 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking bytestring v1.3.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking metrics-core v0.5.2 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Checking metrics-util v0.3.2 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Checking hdrhistogram v6.3.4 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling metrics v0.12.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking atomic-shim v0.1.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking quanta v0.3.2 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking trust-dns-proto v0.23.2 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking metrics-observer-yaml v0.1.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Checking metrics-observer-json v0.1.1 [INFO] [stderr] Checking metrics-observer-prometheus v0.1.4 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking web3 v0.19.0 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking metrics-runtime v0.13.1 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking trust-dns-resolver v0.23.2 [INFO] [stderr] Checking awc v3.5.1 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking hyperlocal v0.8.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking thunderdome v0.6.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking actix v0.13.5 [INFO] [stderr] Checking bollard-stubs v1.42.0-rc.7 [INFO] [stderr] Checking actix-files v0.6.6 [INFO] [stderr] Checking actix-web-actors v4.3.1+deprecated [INFO] [stderr] Checking erc20_payment_lib_common v0.4.7 [INFO] [stderr] Checking bollard v0.14.0 [INFO] [stderr] Checking erc20_rpc_pool v0.4.7 [INFO] [stderr] Checking erc20_payment_lib v0.4.7 (/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 `erc20_payment_lib` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/server/web.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/server/web.rs:40:7 [INFO] [stderr] | [INFO] [stderr] 40 | ( $e: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 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/misc.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | let key = rng.gen::<[u8; 32]>(); // 32 random bytes, suitable for Ed25519 [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/server/web.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | ( $e: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] 40 | ( $e:expr_2021 ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:230:19 [INFO] [stdout] | [INFO] [stdout] 230 | while let Some(ev) = status_rx.recv().await { [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/runtime.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:314:32 [INFO] [stdout] | [INFO] [stdout] 314 | ... if let Err(err) = sender [INFO] [stdout] | __________________________^ [INFO] [stdout] 315 | | ... .send(DriverEvent::now(DriverEventContent::StatusChanged( [INFO] [stdout] 316 | | ... status.lock().await.clone(), [INFO] [stdout] 317 | | ... ))) [INFO] [stdout] 318 | | ... .await [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/runtime.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 314 ~ match sender [INFO] [stdout] 315 | .send(DriverEvent::now(DriverEventContent::StatusChanged( [INFO] [stdout] ... [INFO] [stdout] 318 | .await [INFO] [stdout] 319 ~ { Err(err) => { [INFO] [stdout] 320 | log::warn!("Error resending driver status changed event: {}", err); [INFO] [stdout] 321 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:325:24 [INFO] [stdout] | [INFO] [stdout] 325 | if let Some(sender) = &mut broadcast_sender { [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/runtime.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 325 ~ match &mut broadcast_sender { Some(sender) => { [INFO] [stdout] 326 | if let Err(_err) = sender.send(ev) { [INFO] [stdout] ... [INFO] [stdout] 335 | } [INFO] [stdout] 336 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:330:32 [INFO] [stdout] | [INFO] [stdout] 330 | ... if let Err(_err) = sender.send(DriverEvent::now( [INFO] [stdout] | __________________________^ [INFO] [stdout] 331 | | ... DriverEventContent::StatusChanged(status.lock().await.clone()), [INFO] [stdout] | | ------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 332 | | ... )) { [INFO] [stdout] | |________________________^ [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/runtime.rs:334:29 [INFO] [stdout] | [INFO] [stdout] 334 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 330 ~ match sender.send(DriverEvent::now( [INFO] [stdout] 331 | DriverEventContent::StatusChanged(status.lock().await.clone()), [INFO] [stdout] 332 ~ )) { Err(_err) => { [INFO] [stdout] 333 | //channel closed - it's normal [INFO] [stdout] 334 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | let conn = if let Some(conn) = payment_runtime_args.conn { [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/runtime.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 482 ~ let conn = match payment_runtime_args.conn { Some(conn) => { [INFO] [stdout] 483 | conn [INFO] [stdout] 484 ~ } _ => { [INFO] [stdout] 485 | log::info!( [INFO] [stdout] ... [INFO] [stdout] 490 | .await? [INFO] [stdout] 491 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:560:20 [INFO] [stdout] | [INFO] [stdout] 560 | if let Some(jh) = jh.take() { [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/runtime.rs:562:17 [INFO] [stdout] | [INFO] [stdout] 562 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 560 ~ match jh.take() { Some(jh) => { [INFO] [stdout] 561 | task_handles.push(jh); [INFO] [stdout] 562 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:787:24 [INFO] [stdout] | [INFO] [stdout] 787 | if let Some(vh) = vh { [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/runtime.rs:791:21 [INFO] [stdout] | [INFO] [stdout] 791 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 787 ~ match vh { Some(vh) => { [INFO] [stdout] 788 | vh.await.map_err(|e| { [INFO] [stdout] 789 | err_custom_create!("Error waiting for endpoint verifier: {}", e) [INFO] [stdout] 790 | })? [INFO] [stdout] 791 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:891:12 [INFO] [stdout] | [INFO] [stdout] 891 | if let Some(account) = account { [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/runtime.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 893 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 891 ~ match account { Some(account) => { [INFO] [stdout] 892 | self.transfer_with_account(&account, transfer_args).await [INFO] [stdout] 893 ~ } _ => { [INFO] [stdout] 894 | Err(err_custom_create!( [INFO] [stdout] ... [INFO] [stdout] 897 | )) [INFO] [stdout] 898 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:1743:12 [INFO] [stdout] | [INFO] [stdout] 1743 | if let Err(e) = event_sender.send(event).await { [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/runtime.rs:1745:9 [INFO] [stdout] | [INFO] [stdout] 1745 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1743 ~ match event_sender.send(event).await { Err(e) => { [INFO] [stdout] 1744 | log::error!("Error sending event: {}", e); [INFO] [stdout] 1745 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sender/process.rs:824:28 [INFO] [stdout] | [INFO] [stdout] 824 | if let Ok(Some(block)) = web3 [INFO] [stdout] | ____________________________^ - [INFO] [stdout] | |__________________________________________________| [INFO] [stdout] 825 | || .clone() [INFO] [stdout] 826 | || .eth_block(BlockId::Number(BlockNumber::Latest)) [INFO] [stdout] 827 | || .await [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] | [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/sender/process.rs:878:25 [INFO] [stdout] | [INFO] [stdout] 878 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 824 ~ match web3 [INFO] [stdout] 825 | .clone() [INFO] [stdout] 826 | .eth_block(BlockId::Number(BlockNumber::Latest)) [INFO] [stdout] 827 | .await [INFO] [stdout] 828 ~ { Ok(Some(block)) => { [INFO] [stdout] 829 | let block_base_fee_per_gas_gwei = block [INFO] [stdout] ... [INFO] [stdout] 877 | } [INFO] [stdout] 878 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sender/service.rs:413:8 [INFO] [stdout] | [INFO] [stdout] 413 | if let Some(external_gather_time) = *account.external_gather_time.lock().unwrap() { [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/sender/service.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 415 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 413 ~ match *account.external_gather_time.lock().unwrap() { Some(external_gather_time) => { [INFO] [stdout] 414 | std::cmp::min(external_gather_time, next_gather_time) [INFO] [stdout] 415 ~ } _ => { [INFO] [stdout] 416 | next_gather_time [INFO] [stdout] 417 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sender/service.rs:431:31 [INFO] [stdout] | [INFO] [stdout] 431 | let next_gather_time = if let Some(external_gather_time) = *external_gather_time_guard { [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/sender/service.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 431 ~ let next_gather_time = match *external_gather_time_guard { Some(external_gather_time) => { [INFO] [stdout] 432 | std::cmp::min(external_gather_time, next_gather_time) [INFO] [stdout] 433 ~ } _ => { [INFO] [stdout] 434 | next_gather_time [INFO] [stdout] 435 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sender/service.rs:546:19 [INFO] [stdout] | [INFO] [stdout] 546 | } else if let Err(e) = process_transactions( [INFO] [stdout] | ___________________^ - [INFO] [stdout] | |________________________________| [INFO] [stdout] 547 | || &signer_account, [INFO] [stdout] 548 | || chain_id, [INFO] [stdout] 549 | || event_sender.clone(), [INFO] [stdout] ... || [INFO] [stdout] 554 | || ) [INFO] [stdout] 555 | || .await [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] | [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/sender/service.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 560 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 546 ~ } else { match process_transactions( [INFO] [stdout] 547 | &signer_account, [INFO] [stdout] ... [INFO] [stdout] 555 | .await [INFO] [stdout] 556 ~ { Err(e) => { [INFO] [stdout] 557 | log::error!("Error in process transactions: {}", e); [INFO] [stdout] 558 | tokio::time::sleep(Duration::from_secs(payment_setup.process_interval)).await; [INFO] [stdout] 559 | continue; [INFO] [stdout] 560 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/web.rs:987:24 [INFO] [stdout] | [INFO] [stdout] 987 | let is_sender = if let Some(addr) = data [INFO] [stdout] | _________________________^ - [INFO] [stdout] | | _________________________________________| [INFO] [stdout] 988 | || .shared_state [INFO] [stdout] 989 | || .lock() [INFO] [stdout] 990 | || .unwrap() [INFO] [stdout] 991 | || .accounts [INFO] [stdout] | ||_________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 992 | | .iter() [INFO] [stdout] 993 | | .map(|acc| format!("{:#x}", acc.address)) [INFO] [stdout] 994 | | .find(|addr| addr == &account) [INFO] [stdout] | |_______________________________________^ [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/server/web.rs:998:5 [INFO] [stdout] | [INFO] [stdout] 998 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 987 ~ let is_sender = match data [INFO] [stdout] 988 | .shared_state [INFO] [stdout] ... [INFO] [stdout] 994 | .find(|addr| addr == &account) [INFO] [stdout] 995 ~ { Some(addr) => { [INFO] [stdout] 996 | log::debug!("Found account: {}", addr); [INFO] [stdout] 997 | true [INFO] [stdout] 998 ~ } _ => { [INFO] [stdout] 999 | false [INFO] [stdout] 1000~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/ws.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | if let Some(driver_broadcast_sender) = &data.payment_runtime.driver_broadcast_sender { [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/server/ws.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 72 ~ match &data.payment_runtime.driver_broadcast_sender { Some(driver_broadcast_sender) => { [INFO] [stdout] 73 | ws::start( [INFO] [stdout] ... [INFO] [stdout] 77 | ) [INFO] [stdout] 78 ~ } _ => { [INFO] [stdout] 79 | Err(actix_web::error::ErrorInternalServerError( [INFO] [stdout] 80 | "Driver event sender not available", [INFO] [stdout] 81 | )) [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/signer/account.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some(jh) = (*jh).as_ref() { [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/signer/account.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match (*jh).as_ref() { Some(jh) => { [INFO] [stdout] 49 | if !jh.is_finished() { [INFO] [stdout] 50 | return true; [INFO] [stdout] 51 | } [INFO] [stdout] 52 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transaction.rs:666:12 [INFO] [stdout] | [INFO] [stdout] 666 | if let Err(e) = result { [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/transaction.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 666 ~ match result { Err(e) => { [INFO] [stdout] 667 | //if e.message.contains("insufficient funds") { [INFO] [stdout] ... [INFO] [stdout] 757 | } [INFO] [stdout] 758 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `erc20_payment_lib` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/server/web.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/server/web.rs:40:7 [INFO] [stderr] | [INFO] [stderr] 40 | ( $e: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 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/misc.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | let key = rng.gen::<[u8; 32]>(); // 32 random bytes, suitable for Ed25519 [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/server/web.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | ( $e: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] 40 | ( $e:expr_2021 ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:230:19 [INFO] [stdout] | [INFO] [stdout] 230 | while let Some(ev) = status_rx.recv().await { [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/runtime.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:314:32 [INFO] [stdout] | [INFO] [stdout] 314 | ... if let Err(err) = sender [INFO] [stdout] | __________________________^ [INFO] [stdout] 315 | | ... .send(DriverEvent::now(DriverEventContent::StatusChanged( [INFO] [stdout] 316 | | ... status.lock().await.clone(), [INFO] [stdout] 317 | | ... ))) [INFO] [stdout] 318 | | ... .await [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/runtime.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 314 ~ match sender [INFO] [stdout] 315 | .send(DriverEvent::now(DriverEventContent::StatusChanged( [INFO] [stdout] ... [INFO] [stdout] 318 | .await [INFO] [stdout] 319 ~ { Err(err) => { [INFO] [stdout] 320 | log::warn!("Error resending driver status changed event: {}", err); [INFO] [stdout] 321 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:325:24 [INFO] [stdout] | [INFO] [stdout] 325 | if let Some(sender) = &mut broadcast_sender { [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/runtime.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 325 ~ match &mut broadcast_sender { Some(sender) => { [INFO] [stdout] 326 | if let Err(_err) = sender.send(ev) { [INFO] [stdout] ... [INFO] [stdout] 335 | } [INFO] [stdout] 336 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:330:32 [INFO] [stdout] | [INFO] [stdout] 330 | ... if let Err(_err) = sender.send(DriverEvent::now( [INFO] [stdout] | __________________________^ [INFO] [stdout] 331 | | ... DriverEventContent::StatusChanged(status.lock().await.clone()), [INFO] [stdout] | | ------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 332 | | ... )) { [INFO] [stdout] | |________________________^ [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/runtime.rs:334:29 [INFO] [stdout] | [INFO] [stdout] 334 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 330 ~ match sender.send(DriverEvent::now( [INFO] [stdout] 331 | DriverEventContent::StatusChanged(status.lock().await.clone()), [INFO] [stdout] 332 ~ )) { Err(_err) => { [INFO] [stdout] 333 | //channel closed - it's normal [INFO] [stdout] 334 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | let conn = if let Some(conn) = payment_runtime_args.conn { [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/runtime.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 482 ~ let conn = match payment_runtime_args.conn { Some(conn) => { [INFO] [stdout] 483 | conn [INFO] [stdout] 484 ~ } _ => { [INFO] [stdout] 485 | log::info!( [INFO] [stdout] ... [INFO] [stdout] 490 | .await? [INFO] [stdout] 491 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:560:20 [INFO] [stdout] | [INFO] [stdout] 560 | if let Some(jh) = jh.take() { [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/runtime.rs:562:17 [INFO] [stdout] | [INFO] [stdout] 562 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 560 ~ match jh.take() { Some(jh) => { [INFO] [stdout] 561 | task_handles.push(jh); [INFO] [stdout] 562 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:787:24 [INFO] [stdout] | [INFO] [stdout] 787 | if let Some(vh) = vh { [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/runtime.rs:791:21 [INFO] [stdout] | [INFO] [stdout] 791 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 787 ~ match vh { Some(vh) => { [INFO] [stdout] 788 | vh.await.map_err(|e| { [INFO] [stdout] 789 | err_custom_create!("Error waiting for endpoint verifier: {}", e) [INFO] [stdout] 790 | })? [INFO] [stdout] 791 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:891:12 [INFO] [stdout] | [INFO] [stdout] 891 | if let Some(account) = account { [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/runtime.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 893 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 891 ~ match account { Some(account) => { [INFO] [stdout] 892 | self.transfer_with_account(&account, transfer_args).await [INFO] [stdout] 893 ~ } _ => { [INFO] [stdout] 894 | Err(err_custom_create!( [INFO] [stdout] ... [INFO] [stdout] 897 | )) [INFO] [stdout] 898 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:1743:12 [INFO] [stdout] | [INFO] [stdout] 1743 | if let Err(e) = event_sender.send(event).await { [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/runtime.rs:1745:9 [INFO] [stdout] | [INFO] [stdout] 1745 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1743 ~ match event_sender.send(event).await { Err(e) => { [INFO] [stdout] 1744 | log::error!("Error sending event: {}", e); [INFO] [stdout] 1745 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sender/process.rs:824:28 [INFO] [stdout] | [INFO] [stdout] 824 | if let Ok(Some(block)) = web3 [INFO] [stdout] | ____________________________^ - [INFO] [stdout] | |__________________________________________________| [INFO] [stdout] 825 | || .clone() [INFO] [stdout] 826 | || .eth_block(BlockId::Number(BlockNumber::Latest)) [INFO] [stdout] 827 | || .await [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] | [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/sender/process.rs:878:25 [INFO] [stdout] | [INFO] [stdout] 878 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 824 ~ match web3 [INFO] [stdout] 825 | .clone() [INFO] [stdout] 826 | .eth_block(BlockId::Number(BlockNumber::Latest)) [INFO] [stdout] 827 | .await [INFO] [stdout] 828 ~ { Ok(Some(block)) => { [INFO] [stdout] 829 | let block_base_fee_per_gas_gwei = block [INFO] [stdout] ... [INFO] [stdout] 877 | } [INFO] [stdout] 878 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sender/service.rs:413:8 [INFO] [stdout] | [INFO] [stdout] 413 | if let Some(external_gather_time) = *account.external_gather_time.lock().unwrap() { [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/sender/service.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 415 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 413 ~ match *account.external_gather_time.lock().unwrap() { Some(external_gather_time) => { [INFO] [stdout] 414 | std::cmp::min(external_gather_time, next_gather_time) [INFO] [stdout] 415 ~ } _ => { [INFO] [stdout] 416 | next_gather_time [INFO] [stdout] 417 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sender/service.rs:431:31 [INFO] [stdout] | [INFO] [stdout] 431 | let next_gather_time = if let Some(external_gather_time) = *external_gather_time_guard { [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/sender/service.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 431 ~ let next_gather_time = match *external_gather_time_guard { Some(external_gather_time) => { [INFO] [stdout] 432 | std::cmp::min(external_gather_time, next_gather_time) [INFO] [stdout] 433 ~ } _ => { [INFO] [stdout] 434 | next_gather_time [INFO] [stdout] 435 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sender/service.rs:546:19 [INFO] [stdout] | [INFO] [stdout] 546 | } else if let Err(e) = process_transactions( [INFO] [stdout] | ___________________^ - [INFO] [stdout] | |________________________________| [INFO] [stdout] 547 | || &signer_account, [INFO] [stdout] 548 | || chain_id, [INFO] [stdout] 549 | || event_sender.clone(), [INFO] [stdout] ... || [INFO] [stdout] 554 | || ) [INFO] [stdout] 555 | || .await [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] | [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/sender/service.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 560 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 546 ~ } else { match process_transactions( [INFO] [stdout] 547 | &signer_account, [INFO] [stdout] ... [INFO] [stdout] 555 | .await [INFO] [stdout] 556 ~ { Err(e) => { [INFO] [stdout] 557 | log::error!("Error in process transactions: {}", e); [INFO] [stdout] 558 | tokio::time::sleep(Duration::from_secs(payment_setup.process_interval)).await; [INFO] [stdout] 559 | continue; [INFO] [stdout] 560 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/web.rs:987:24 [INFO] [stdout] | [INFO] [stdout] 987 | let is_sender = if let Some(addr) = data [INFO] [stdout] | _________________________^ - [INFO] [stdout] | | _________________________________________| [INFO] [stdout] 988 | || .shared_state [INFO] [stdout] 989 | || .lock() [INFO] [stdout] 990 | || .unwrap() [INFO] [stdout] 991 | || .accounts [INFO] [stdout] | ||_________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 992 | | .iter() [INFO] [stdout] 993 | | .map(|acc| format!("{:#x}", acc.address)) [INFO] [stdout] 994 | | .find(|addr| addr == &account) [INFO] [stdout] | |_______________________________________^ [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/server/web.rs:998:5 [INFO] [stdout] | [INFO] [stdout] 998 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 987 ~ let is_sender = match data [INFO] [stdout] 988 | .shared_state [INFO] [stdout] ... [INFO] [stdout] 994 | .find(|addr| addr == &account) [INFO] [stdout] 995 ~ { Some(addr) => { [INFO] [stdout] 996 | log::debug!("Found account: {}", addr); [INFO] [stdout] 997 | true [INFO] [stdout] 998 ~ } _ => { [INFO] [stdout] 999 | false [INFO] [stdout] 1000~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/ws.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | if let Some(driver_broadcast_sender) = &data.payment_runtime.driver_broadcast_sender { [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/server/ws.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 72 ~ match &data.payment_runtime.driver_broadcast_sender { Some(driver_broadcast_sender) => { [INFO] [stdout] 73 | ws::start( [INFO] [stdout] ... [INFO] [stdout] 77 | ) [INFO] [stdout] 78 ~ } _ => { [INFO] [stdout] 79 | Err(actix_web::error::ErrorInternalServerError( [INFO] [stdout] 80 | "Driver event sender not available", [INFO] [stdout] 81 | )) [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/signer/account.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some(jh) = (*jh).as_ref() { [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/signer/account.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match (*jh).as_ref() { Some(jh) => { [INFO] [stdout] 49 | if !jh.is_finished() { [INFO] [stdout] 50 | return true; [INFO] [stdout] 51 | } [INFO] [stdout] 52 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transaction.rs:666:12 [INFO] [stdout] | [INFO] [stdout] 666 | if let Err(e) = result { [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/transaction.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 666 ~ match result { Err(e) => { [INFO] [stdout] 667 | //if e.message.contains("insufficient funds") { [INFO] [stdout] ... [INFO] [stdout] 757 | } [INFO] [stdout] 758 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.12s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking erc20_payment_lib v0.4.7 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/misc.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | let key = rng.gen::<[u8; 32]>(); // 32 random bytes, suitable for Ed25519 [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 129 | let key = rng.r#gen::<[u8; 32]>(); // 32 random bytes, suitable for Ed25519 [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/misc.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | let key = rng.gen::<[u8; 32]>(); // 32 random bytes, suitable for Ed25519 [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 129 | let key = rng.r#gen::<[u8; 32]>(); // 32 random bytes, suitable for Ed25519 [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `erc20_payment_lib` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `erc20_payment_lib` (lib) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "47248adeb826fdfb5ef8f594f3ef1cf0ad97903c9be166b2e39314afc5b467c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47248adeb826fdfb5ef8f594f3ef1cf0ad97903c9be166b2e39314afc5b467c5", kill_on_drop: false }` [INFO] [stdout] 47248adeb826fdfb5ef8f594f3ef1cf0ad97903c9be166b2e39314afc5b467c5