[INFO] fetching crate sc-tracing 37.0.0... [INFO] checking sc-tracing-37.0.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate sc-tracing 37.0.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate sc-tracing 37.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 sc-tracing 37.0.0 [INFO] finished tweaking crates.io crate sc-tracing 37.0.0 [INFO] tweaked toml for crates.io crate sc-tracing 37.0.0 written to /workspace/builds/worker-0-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 466 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.19.0 (available: v0.24.1) [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.3.1) [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 bitcoin-internals v0.2.0 (available: v0.4.0) [INFO] [stderr] Adding bitcoin_hashes v0.13.0 (available: v0.14.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding constcat v0.3.1 (available: v0.5.0) [INFO] [stderr] Adding cpp_demangle v0.3.5 (available: v0.4.4) [INFO] [stderr] Adding cranelift-bforest v0.95.1 (available: v0.112.1) [INFO] [stderr] Adding cranelift-codegen v0.95.1 (available: v0.112.1) [INFO] [stderr] Adding cranelift-codegen-meta v0.95.1 (available: v0.112.1) [INFO] [stderr] Adding cranelift-codegen-shared v0.95.1 (available: v0.112.1) [INFO] [stderr] Adding cranelift-entity v0.95.1 (available: v0.112.1) [INFO] [stderr] Adding cranelift-frontend v0.95.1 (available: v0.112.1) [INFO] [stderr] Adding cranelift-isle v0.95.1 (available: v0.112.1) [INFO] [stderr] Adding cranelift-native v0.95.1 (available: v0.112.1) [INFO] [stderr] Adding cranelift-wasm v0.95.1 (available: v0.112.1) [INFO] [stderr] Adding crypto-mac v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.5) [INFO] [stderr] Adding event-listener v2.5.3 (available: v5.3.1) [INFO] [stderr] Adding fallible-iterator v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding file-per-thread-logger v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding gimli v0.27.3 (available: v0.31.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding hex-conservative v0.1.2 (available: v0.2.1) [INFO] [stderr] Adding hmac v0.8.1 (available: v0.12.1) [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 idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding impl-codec v0.6.0 (available: v0.7.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 io-lifetimes v1.0.11 (available: v2.0.3) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.1.4 (available: v0.6.5) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding matchers v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding memoffset v0.8.0 (available: v0.9.1) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding object v0.30.4 (available: v0.36.4) [INFO] [stderr] Adding polkavm v0.9.3 (available: v0.11.0) [INFO] [stderr] Adding polkavm-assembler v0.9.0 (available: v0.11.0) [INFO] [stderr] Adding polkavm-common v0.9.0 (available: v0.11.0) [INFO] [stderr] Adding polkavm-derive v0.9.1 (available: v0.11.0) [INFO] [stderr] Adding polkavm-derive-impl v0.9.0 (available: v0.11.0) [INFO] [stderr] Adding polkavm-derive-impl-macro v0.9.0 (available: v0.11.0) [INFO] [stderr] Adding polkavm-linux-raw v0.9.0 (available: v0.11.0) [INFO] [stderr] Adding primitive-types v0.12.2 (available: v0.13.1) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [INFO] [stderr] Adding regalloc2 v0.6.1 (available: v0.10.2) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding rustix v0.36.17 (available: v0.38.37) [INFO] [stderr] Adding secp256k1 v0.28.2 (available: v0.29.1) [INFO] [stderr] Adding secp256k1-sys v0.9.2 (available: v0.10.1) [INFO] [stderr] Adding secrecy v0.8.0 (available: v0.10.2) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding uint v0.9.5 (available: v0.10.0) [INFO] [stderr] Adding unicode-normalization v0.1.22 (available: v0.1.24) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasmparser v0.102.0 (available: v0.217.0) [INFO] [stderr] Adding wasmtime v8.0.1 (available: v25.0.1) [INFO] [stderr] Adding wasmtime-asm-macros v8.0.1 (available: v25.0.1) [INFO] [stderr] Adding wasmtime-cache v8.0.1 (available: v25.0.1) [INFO] [stderr] Adding wasmtime-cranelift v8.0.1 (available: v25.0.1) [INFO] [stderr] Adding wasmtime-cranelift-shared v8.0.1 (available: v19.0.2) [INFO] [stderr] Adding wasmtime-environ v8.0.1 (available: v25.0.1) [INFO] [stderr] Adding wasmtime-jit v8.0.1 (available: v17.0.3) [INFO] [stderr] Adding wasmtime-jit-debug v8.0.1 (available: v25.0.1) [INFO] [stderr] Adding wasmtime-jit-icache-coherence v8.0.1 (available: v25.0.1) [INFO] [stderr] Adding wasmtime-runtime v8.0.1 (available: v20.0.2) [INFO] [stderr] Adding wasmtime-types v8.0.1 (available: v25.0.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.59.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.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.42.2 (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.42.2 (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.42.2 (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.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding wyz v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding zstd v0.11.2+zstd.1.5.2 (available: v0.13.2) [INFO] [stderr] Adding zstd v0.12.4 (available: v0.13.2) [INFO] [stderr] Adding zstd-safe v5.0.2+zstd.1.5.2 (available: v7.2.1) [INFO] [stderr] Adding zstd-safe v6.0.6 (available: v7.2.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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 24410aad0873228b55432489d9c9d6201b35f9d3b75fa1c1c1dec680131581c1 [INFO] running `Command { std: "docker" "start" "-a" "24410aad0873228b55432489d9c9d6201b35f9d3b75fa1c1c1dec680131581c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24410aad0873228b55432489d9c9d6201b35f9d3b75fa1c1c1dec680131581c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24410aad0873228b55432489d9c9d6201b35f9d3b75fa1c1c1dec680131581c1", kill_on_drop: false }` [INFO] [stdout] 24410aad0873228b55432489d9c9d6201b35f9d3b75fa1c1c1dec680131581c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] edf81955e5af31cb77b2a7a0f0575b5d8ebc1566f99e7bf91930cef983c70b93 [INFO] running `Command { std: "docker" "start" "-a" "edf81955e5af31cb77b2a7a0f0575b5d8ebc1566f99e7bf91930cef983c70b93", 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 unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling cranelift-isle v0.95.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling cranelift-codegen-shared v0.95.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cranelift-codegen-meta v0.95.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking regalloc2 v0.6.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rustix v0.36.17 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking errno v0.3.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling wasmtime-runtime v8.0.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking wasmtime-asm-macros v8.0.1 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling wasmtime-cache v8.0.1 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking file-per-thread-logger v0.1.6 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v8.0.1 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling wasmtime v8.0.1 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling cranelift-codegen v0.95.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking memfd v0.6.4 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking hex-conservative v0.1.2 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking array-bytes v6.2.3 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking memory-db v0.32.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking trie-db v0.29.1 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Checking simple-mermaid v0.1.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling sp-io v38.0.0 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Checking polkavm-common v0.9.0 [INFO] [stderr] Checking polkavm-assembler v0.9.0 [INFO] [stderr] Checking polkavm-linux-raw v0.9.0 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Checking wasm-instrument v0.4.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking polkavm v0.9.3 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking schnellru v0.2.3 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking sp-panic-handler v13.0.0 [INFO] [stderr] Checking kvdb v0.13.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling sc-executor-wasmtime v0.35.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking sp-database v10.0.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking sp-maybe-compressed-blob v11.0.0 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking cranelift-entity v0.95.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking cranelift-bforest v0.95.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking wasmparser v0.102.0 [INFO] [stderr] Checking object v0.30.4 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.17.0 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Compiling ss58-registry v1.50.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling scale-info-derive v2.11.3 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v20.0.0 [INFO] [stderr] Compiling sc-tracing-proc-macro v11.0.0 [INFO] [stderr] Compiling docify_macros v0.2.8 [INFO] [stderr] Checking wasmtime-types v8.0.1 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Checking wasmtime-jit-debug v8.0.1 [INFO] [stderr] Checking wasmtime-environ v8.0.1 [INFO] [stderr] Checking parity-scale-codec v3.6.12 [INFO] [stderr] Checking docify v0.2.8 [INFO] [stderr] Checking scale-info v2.11.3 [INFO] [stderr] Checking sp-storage v21.0.0 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking sp-tracing v17.0.1 [INFO] [stderr] Compiling sp-version-proc-macro v14.0.0 [INFO] [stderr] Checking sp-externalities v0.29.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking bounded-collections v0.2.0 [INFO] [stderr] Checking sp-arithmetic v26.0.0 [INFO] [stderr] Checking wasmtime-jit v8.0.1 [INFO] [stderr] Checking sp-weights v31.0.0 [INFO] [stderr] Checking sc-utils v17.0.0 [INFO] [stderr] Checking cranelift-native v0.95.1 [INFO] [stderr] Checking cranelift-frontend v0.95.1 [INFO] [stderr] Checking wasmtime-cranelift-shared v8.0.1 [INFO] [stderr] Checking cranelift-wasm v0.95.1 [INFO] [stderr] Checking wasmtime-cranelift v8.0.1 [INFO] [stderr] Checking sp-wasm-interface v21.0.1 [INFO] [stderr] Checking sp-runtime-interface v28.0.0 [INFO] [stderr] Checking sp-core v34.0.0 [INFO] [stderr] Checking sp-trie v37.0.0 [INFO] [stderr] Checking sp-keystore v0.40.0 [INFO] [stderr] Checking sc-allocator v29.0.0 [INFO] [stderr] Checking sp-rpc v32.0.0 [INFO] [stderr] Checking sc-executor-common v0.35.0 [INFO] [stderr] Checking sc-executor-polkavm v0.32.0 [INFO] [stderr] Checking sp-state-machine v0.43.0 [INFO] [stderr] Checking sp-application-crypto v38.0.0 [INFO] [stderr] Checking sp-runtime v39.0.1 [INFO] [stderr] Checking sp-version v37.0.0 [INFO] [stderr] Checking sp-inherents v34.0.0 [INFO] [stderr] Checking sp-api v34.0.0 [INFO] [stderr] Checking sp-statement-store v18.0.0 [INFO] [stderr] Checking sc-executor v0.40.1 [INFO] [stderr] Checking sp-consensus v0.40.0 [INFO] [stderr] Checking sp-blockchain v37.0.1 [INFO] [stderr] Checking sc-transaction-pool-api v37.0.0 [INFO] [stderr] Checking sc-client-api v37.0.0 [INFO] [stderr] Checking sc-tracing v37.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 `sc_tracing` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/logging/layers/prefix_layer.rs [INFO] [stderr] * src/logging/mod.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/logging/layers/prefix_layer.rs:71:28 [INFO] [stderr] | [INFO] [stderr] 71 | ($method:ident, $type:ty, $format: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/logging/mod.rs:72:3 [INFO] [stderr] | [INFO] [stderr] 72 | ($builder: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] [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/logging/layers/prefix_layer.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | ($method:ident, $type:ty, $format: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] 71 | ($method:ident, $type:ty, $format: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/logging/mod.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | ($builder: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] 72 | ($builder:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:294:6 [INFO] [stdout] | [INFO] [stdout] 294 | if let Some(span) = ctx.span(id) { [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/lib.rs:318:3 [INFO] [stdout] | [INFO] [stdout] 318 | } [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] 294 ~ match ctx.span(id) { Some(span) => { [INFO] [stdout] 295 | let mut extension = span.extensions_mut(); [INFO] [stdout] ... [INFO] [stdout] 317 | extension.insert(span_datum); [INFO] [stdout] 318 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:322:6 [INFO] [stdout] | [INFO] [stdout] 322 | if let Some(span) = ctx.span(id) { [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/lib.rs:327:3 [INFO] [stdout] | [INFO] [stdout] 327 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 322 ~ match ctx.span(id) { Some(span) => { [INFO] [stdout] 323 | let mut extensions = span.extensions_mut(); [INFO] [stdout] ... [INFO] [stdout] 326 | } [INFO] [stdout] 327 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:324:7 [INFO] [stdout] | [INFO] [stdout] 324 | if let Some(s) = extensions.get_mut::() { [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/lib.rs:326:4 [INFO] [stdout] | [INFO] [stdout] 326 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 324 ~ match extensions.get_mut::() { Some(s) => { [INFO] [stdout] 325 | values.record(&mut s.values); [INFO] [stdout] 326 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:356:6 [INFO] [stdout] | [INFO] [stdout] 356 | if let Some(span) = ctx.span(span) { [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/lib.rs:362:3 [INFO] [stdout] | [INFO] [stdout] 362 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 356 ~ match ctx.span(span) { Some(span) => { [INFO] [stdout] 357 | let mut extensions = span.extensions_mut(); [INFO] [stdout] ... [INFO] [stdout] 361 | } [INFO] [stdout] 362 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:358:7 [INFO] [stdout] | [INFO] [stdout] 358 | if let Some(s) = extensions.get_mut::() { [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/lib.rs:361:4 [INFO] [stdout] | [INFO] [stdout] 361 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 358 ~ match extensions.get_mut::() { Some(s) => { [INFO] [stdout] 359 | let start_time = Instant::now(); [INFO] [stdout] 360 | s.start_time = start_time; [INFO] [stdout] 361 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:366:6 [INFO] [stdout] | [INFO] [stdout] 366 | if let Some(span) = ctx.span(span) { [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/lib.rs:386:3 [INFO] [stdout] | [INFO] [stdout] 386 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 366 ~ match ctx.span(span) { Some(span) => { [INFO] [stdout] 367 | let end_time = Instant::now(); [INFO] [stdout] ... [INFO] [stdout] 385 | } [INFO] [stdout] 386 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:369:7 [INFO] [stdout] | [INFO] [stdout] 369 | if let Some(mut span_datum) = extensions.remove::() { [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/lib.rs:385:4 [INFO] [stdout] | [INFO] [stdout] 385 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 369 ~ match extensions.remove::() { Some(mut span_datum) => { [INFO] [stdout] 370 | span_datum.overall_time += end_time - span_datum.start_time; [INFO] [stdout] ... [INFO] [stdout] 384 | } [INFO] [stdout] 385 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/block/mod.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(s) = span_data.get_mut(span) { [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/block/mod.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 129 ~ match span_data.get_mut(span) { Some(s) => { [INFO] [stdout] 130 | values.record(&mut s.values); [INFO] [stdout] 131 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/block/mod.rs:227:7 [INFO] [stdout] | [INFO] [stdout] 227 | if let Err(e) = dispatcher::with_default(&dispatch, || { [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 228 | || let span = tracing::info_span!(target: TRACE_TARGET, "trace_block"); [INFO] [stdout] 229 | || let _enter = span.enter(); [INFO] [stdout] 230 | || self.client.runtime_api().execute_block(parent_hash, block) [INFO] [stdout] 231 | || }) { [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/block/mod.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 227 ~ match dispatcher::with_default(&dispatch, || { [INFO] [stdout] 228 | let span = tracing::info_span!(target: TRACE_TARGET, "trace_block"); [INFO] [stdout] 229 | let _enter = span.enter(); [INFO] [stdout] 230 | self.client.runtime_api().execute_block(parent_hash, block) [INFO] [stdout] 231 ~ }) { Err(e) => { [INFO] [stdout] 232 | return Err(Error::Dispatch(format!( [INFO] [stdout] ... [INFO] [stdout] 235 | ))) [INFO] [stdout] 236 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl tracing::Subscriber + for<'a> LookupSpan<'a>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/logging/mod.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | ) -> Result LookupSpan<'a>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/logging/mod.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | directives: &str, [INFO] [stdout] | ^ [INFO] [stdout] 97 | profiling_targets: Option<&str>, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` 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/logging/mod.rs:277:6 [INFO] [stdout] | [INFO] [stdout] 277 | if let Some((tracing_receiver, profiling_targets)) = self.profiling { [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/logging/mod.rs:315:3 [INFO] [stdout] | [INFO] [stdout] 315 | } else if self.log_reloading { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 277 ~ match self.profiling { Some((tracing_receiver, profiling_targets)) => { [INFO] [stdout] 278 | if self.log_reloading { [INFO] [stdout] ... [INFO] [stdout] 314 | } [INFO] [stdout] 315 ~ } _ => if self.log_reloading { [INFO] [stdout] 316 | let subscriber = prepare_subscriber( [INFO] [stdout] ... [INFO] [stdout] 338 | Ok(()) [INFO] [stdout] 339 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/logging/event_format.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(prefix) = exts.get::() { [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/logging/event_format.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 94 ~ match exts.get::() { Some(prefix) => { [INFO] [stdout] 95 | write!(writer, "{}", prefix.as_str())?; [INFO] [stdout] 96 | break [INFO] [stdout] 97 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/logging/stderr_writer.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(buffer) = BUFFER.try_lock_for(ON_EXIT_FLUSH_TIMEOUT) { [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/logging/stderr_writer.rs:133:2 [INFO] [stdout] | [INFO] [stdout] 133 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 131 ~ match BUFFER.try_lock_for(ON_EXIT_FLUSH_TIMEOUT) { Some(buffer) => { [INFO] [stdout] 132 | flush_logs(buffer); [INFO] [stdout] 133 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/bench.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `sc_tracing` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/logging/layers/prefix_layer.rs [INFO] [stderr] * src/logging/mod.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/logging/layers/prefix_layer.rs:71:28 [INFO] [stderr] | [INFO] [stderr] 71 | ($method:ident, $type:ty, $format: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/logging/mod.rs:72:3 [INFO] [stderr] | [INFO] [stderr] 72 | ($builder: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] [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/logging/layers/prefix_layer.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | ($method:ident, $type:ty, $format: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] 71 | ($method:ident, $type:ty, $format: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/logging/mod.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | ($builder: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] 72 | ($builder:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/logging/mod.rs:664:5 [INFO] [stdout] | [INFO] [stdout] 664 | std::env::set_var("RUST_LOG", "trace"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [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 #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 664 ~ // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 665 ~ unsafe { std::env::set_var("RUST_LOG", "trace") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:294:6 [INFO] [stdout] | [INFO] [stdout] 294 | if let Some(span) = ctx.span(id) { [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/lib.rs:318:3 [INFO] [stdout] | [INFO] [stdout] 318 | } [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] 294 ~ match ctx.span(id) { Some(span) => { [INFO] [stdout] 295 | let mut extension = span.extensions_mut(); [INFO] [stdout] ... [INFO] [stdout] 317 | extension.insert(span_datum); [INFO] [stdout] 318 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:322:6 [INFO] [stdout] | [INFO] [stdout] 322 | if let Some(span) = ctx.span(id) { [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/lib.rs:327:3 [INFO] [stdout] | [INFO] [stdout] 327 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 322 ~ match ctx.span(id) { Some(span) => { [INFO] [stdout] 323 | let mut extensions = span.extensions_mut(); [INFO] [stdout] ... [INFO] [stdout] 326 | } [INFO] [stdout] 327 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:324:7 [INFO] [stdout] | [INFO] [stdout] 324 | if let Some(s) = extensions.get_mut::() { [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/lib.rs:326:4 [INFO] [stdout] | [INFO] [stdout] 326 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 324 ~ match extensions.get_mut::() { Some(s) => { [INFO] [stdout] 325 | values.record(&mut s.values); [INFO] [stdout] 326 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:356:6 [INFO] [stdout] | [INFO] [stdout] 356 | if let Some(span) = ctx.span(span) { [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/lib.rs:362:3 [INFO] [stdout] | [INFO] [stdout] 362 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 356 ~ match ctx.span(span) { Some(span) => { [INFO] [stdout] 357 | let mut extensions = span.extensions_mut(); [INFO] [stdout] ... [INFO] [stdout] 361 | } [INFO] [stdout] 362 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:358:7 [INFO] [stdout] | [INFO] [stdout] 358 | if let Some(s) = extensions.get_mut::() { [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/lib.rs:361:4 [INFO] [stdout] | [INFO] [stdout] 361 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 358 ~ match extensions.get_mut::() { Some(s) => { [INFO] [stdout] 359 | let start_time = Instant::now(); [INFO] [stdout] 360 | s.start_time = start_time; [INFO] [stdout] 361 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:366:6 [INFO] [stdout] | [INFO] [stdout] 366 | if let Some(span) = ctx.span(span) { [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/lib.rs:386:3 [INFO] [stdout] | [INFO] [stdout] 386 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 366 ~ match ctx.span(span) { Some(span) => { [INFO] [stdout] 367 | let end_time = Instant::now(); [INFO] [stdout] ... [INFO] [stdout] 385 | } [INFO] [stdout] 386 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:369:7 [INFO] [stdout] | [INFO] [stdout] 369 | if let Some(mut span_datum) = extensions.remove::() { [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/lib.rs:385:4 [INFO] [stdout] | [INFO] [stdout] 385 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 369 ~ match extensions.remove::() { Some(mut span_datum) => { [INFO] [stdout] 370 | span_datum.overall_time += end_time - span_datum.start_time; [INFO] [stdout] ... [INFO] [stdout] 384 | } [INFO] [stdout] 385 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/block/mod.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(s) = span_data.get_mut(span) { [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/block/mod.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 129 ~ match span_data.get_mut(span) { Some(s) => { [INFO] [stdout] 130 | values.record(&mut s.values); [INFO] [stdout] 131 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/block/mod.rs:227:7 [INFO] [stdout] | [INFO] [stdout] 227 | if let Err(e) = dispatcher::with_default(&dispatch, || { [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 228 | || let span = tracing::info_span!(target: TRACE_TARGET, "trace_block"); [INFO] [stdout] 229 | || let _enter = span.enter(); [INFO] [stdout] 230 | || self.client.runtime_api().execute_block(parent_hash, block) [INFO] [stdout] 231 | || }) { [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/block/mod.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 227 ~ match dispatcher::with_default(&dispatch, || { [INFO] [stdout] 228 | let span = tracing::info_span!(target: TRACE_TARGET, "trace_block"); [INFO] [stdout] 229 | let _enter = span.enter(); [INFO] [stdout] 230 | self.client.runtime_api().execute_block(parent_hash, block) [INFO] [stdout] 231 ~ }) { Err(e) => { [INFO] [stdout] 232 | return Err(Error::Dispatch(format!( [INFO] [stdout] ... [INFO] [stdout] 235 | ))) [INFO] [stdout] 236 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl tracing::Subscriber + for<'a> LookupSpan<'a>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/logging/mod.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | ) -> Result LookupSpan<'a>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/logging/mod.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | directives: &str, [INFO] [stdout] | ^ [INFO] [stdout] 97 | profiling_targets: Option<&str>, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` 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/logging/mod.rs:277:6 [INFO] [stdout] | [INFO] [stdout] 277 | if let Some((tracing_receiver, profiling_targets)) = self.profiling { [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/logging/mod.rs:315:3 [INFO] [stdout] | [INFO] [stdout] 315 | } else if self.log_reloading { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 277 ~ match self.profiling { Some((tracing_receiver, profiling_targets)) => { [INFO] [stdout] 278 | if self.log_reloading { [INFO] [stdout] ... [INFO] [stdout] 314 | } [INFO] [stdout] 315 ~ } _ => if self.log_reloading { [INFO] [stdout] 316 | let subscriber = prepare_subscriber( [INFO] [stdout] ... [INFO] [stdout] 338 | Ok(()) [INFO] [stdout] 339 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/logging/event_format.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(prefix) = exts.get::() { [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/logging/event_format.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 94 ~ match exts.get::() { Some(prefix) => { [INFO] [stdout] 95 | write!(writer, "{}", prefix.as_str())?; [INFO] [stdout] 96 | break [INFO] [stdout] 97 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/logging/stderr_writer.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(buffer) = BUFFER.try_lock_for(ON_EXIT_FLUSH_TIMEOUT) { [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/logging/stderr_writer.rs:133:2 [INFO] [stdout] | [INFO] [stdout] 133 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 131 ~ match BUFFER.try_lock_for(ON_EXIT_FLUSH_TIMEOUT) { Some(buffer) => { [INFO] [stdout] 132 | flush_logs(buffer); [INFO] [stdout] 133 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/logging/mod.rs:588:7 [INFO] [stdout] | [INFO] [stdout] 588 | if let Err(error) = thread.join() { [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/logging/mod.rs:591:4 [INFO] [stdout] | [INFO] [stdout] 591 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 588 ~ match thread.join() { Err(error) => { [INFO] [stdout] 589 | println!("error: failed to join thread: {:?}", error); [INFO] [stdout] 590 | unsafe { libc::abort() } [INFO] [stdout] 591 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.57s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking sc-tracing v37.0.0 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/logging/mod.rs:664:5 [INFO] [stdout] | [INFO] [stdout] 664 | std::env::set_var("RUST_LOG", "trace"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-tracing` (lib test) 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" "edf81955e5af31cb77b2a7a0f0575b5d8ebc1566f99e7bf91930cef983c70b93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edf81955e5af31cb77b2a7a0f0575b5d8ebc1566f99e7bf91930cef983c70b93", kill_on_drop: false }` [INFO] [stdout] edf81955e5af31cb77b2a7a0f0575b5d8ebc1566f99e7bf91930cef983c70b93