[INFO] cloning repository https://github.com/aspectron/kaspa-resolver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aspectron/kaspa-resolver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faspectron%2Fkaspa-resolver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faspectron%2Fkaspa-resolver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae126b01b70553dfb2ccede525a259ed7b71f47d [INFO] checking aspectron/kaspa-resolver/ae126b01b70553dfb2ccede525a259ed7b71f47d against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faspectron%2Fkaspa-resolver" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aspectron/kaspa-resolver 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 git repo https://github.com/aspectron/kaspa-resolver [INFO] finished tweaking git repo https://github.com/aspectron/kaspa-resolver [INFO] tweaked toml for git repo https://github.com/aspectron/kaspa-resolver written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aspectron/kaspa-resolver already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af4e957c15eb9be0577764606918bd49cecd7c6c0c0338bdcab252d50895348f [INFO] running `Command { std: "docker" "start" "-a" "af4e957c15eb9be0577764606918bd49cecd7c6c0c0338bdcab252d50895348f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af4e957c15eb9be0577764606918bd49cecd7c6c0c0338bdcab252d50895348f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af4e957c15eb9be0577764606918bd49cecd7c6c0c0338bdcab252d50895348f", kill_on_drop: false }` [INFO] [stdout] af4e957c15eb9be0577764606918bd49cecd7c6c0c0338bdcab252d50895348f [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cce093a1a85c89878f570d38caff8319acab921dfcc0153778a51ccc487bcfe [INFO] running `Command { std: "docker" "start" "-a" "7cce093a1a85c89878f570d38caff8319acab921dfcc0153778a51ccc487bcfe", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling anyhow v1.0.88 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Compiling vergen v8.3.2 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [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 futures-macro v0.3.30 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling parse-variants-derive v1.0.0 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling parse-variants v1.0.3 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling rlimit v0.10.2 [INFO] [stderr] Checking hexplay v0.3.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling workflow-macro-tools v0.18.0 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking triggered v0.1.2 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Compiling workflow-core-macros v0.18.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling shared_child v1.0.1 [INFO] [stderr] Compiling os_pipe v1.2.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling duct v0.13.7 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Compiling js-sys v0.3.70 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking sysinfo v0.31.4 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling kaspa-utils v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling secp256k1-sys v0.10.0 [INFO] [stderr] Compiling kaspa-hashes v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking mac_address v1.1.7 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling malachite-nz v0.4.16 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Checking malachite-base v0.4.16 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking faster-hex v0.9.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking workflow-log v0.18.0 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Compiling workflow-wasm-macros v0.18.0 [INFO] [stderr] Compiling linkme-impl v0.2.10 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking linkme v0.2.10 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Compiling intertrait-macros v0.2.2 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling workflow-core v0.18.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking intertrait v0.2.2 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking workflow-serializer v0.18.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking kaspa-txscript-errors v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking kaspa-core v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking webpki-roots v0.26.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling workflow-task-macros v0.18.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling macroific_attr_parse v1.3.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling macroific_core v1.0.2 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling macroific_macro v1.1.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking workflow-panic-hook v0.18.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Compiling macroific v1.3.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking hyper-util v0.1.8 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tungstenite v0.23.0 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling kaspa-rpc-macros v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking tokio-tungstenite v0.23.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Compiling derive_builder_core v0.20.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking manual_future v0.1.1 [INFO] [stderr] Compiling workflow-rpc-macros v0.18.0 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking node-sys v0.4.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.1 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking chrome-sys v0.2.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking workflow-wasm v0.18.0 [INFO] [stderr] Checking workflow-task v0.18.0 [INFO] [stderr] Checking workflow-http v0.18.0 [INFO] [stderr] Checking kaspa-math v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking kaspa-addresses v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking kaspa-wasm-core v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking workflow-websocket v0.18.0 [INFO] [stderr] Checking workflow-dom v0.18.0 [INFO] [stderr] Checking kaspa-merkle v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking workflow-chrome v0.18.0 [INFO] [stderr] Checking crypto_secretbox v0.1.1 [INFO] [stderr] Checking derive_builder v0.20.1 [INFO] [stderr] Checking kaspa-muhash v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling delegate-display v2.1.1 [INFO] [stderr] Compiling accessory v1.3.1 [INFO] [stderr] Compiling fancy_constructor v1.3.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking kaspa-consensus-core v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking workflow-rpc v0.18.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Compiling xxhash-rust v0.8.12 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling convert_case v0.5.0 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking separator v0.4.1 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking slugify-rs v0.0.3 [INFO] [stderr] Compiling kaspa-wallet-macros v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking indexed_db_futures v0.5.0 [INFO] [stderr] Checking crypto_box v0.9.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking cfb-mode v0.8.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking kaspa-txscript v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking kaspa-mining-errors v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking kaspa-bip32 v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking fixedstr v0.5.7 [INFO] [stderr] Checking evpkdf v0.2.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking workflow-node v0.18.0 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking sorted-insert v0.2.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking qrcode v0.14.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking workflow-store v0.18.0 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling sparkle-macros v0.0.1 (https://github.com/aspectron/sparkle.git?branch=pnn-v1#4ac5c7c0) [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking kaspa-consensus-client v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking kaspa-notify v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking kaspa-wallet-keys v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking array-init v0.0.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking kaspa-consensus-notify v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking kaspa-index-core v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking kaspa-consensus-wasm v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking kaspa-wallet-pskt v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking kaspa-rpc-core v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking serde-hex v0.1.0 [INFO] [stderr] Checking cliclack v0.3.4 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking workflow-encryption v0.18.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking kaspa-wrpc-client v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking kaspa-metrics-core v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking kaspa-wrpc-wasm v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking kaspa-wallet-core v0.15.1 (https://github.com/aspectron/rusty-kaspa.git?branch=pnn-v1#f335376b) [INFO] [stderr] Checking sparkle-core v0.0.1 (https://github.com/aspectron/sparkle.git?branch=pnn-v1#4ac5c7c0) [INFO] [stderr] Checking sparkle-rpc-core v0.0.1 (https://github.com/aspectron/sparkle.git?branch=pnn-v1#4ac5c7c0) [INFO] [stderr] Checking sparkle-rpc-client v0.0.1 (https://github.com/aspectron/sparkle.git?branch=pnn-v1#4ac5c7c0) [INFO] [stderr] Checking kaspa-resolver v0.10.3 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `resolver` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/log.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/log.rs:24:6 [INFO] [stderr] | [INFO] [stderr] 24 | ($target:expr_2021, $($t:tt)*) => ( [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/log.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | ($target:expr_2021, $($t:tt)*) => ( [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/log.rs:43:6 [INFO] [stderr] | [INFO] [stderr] 43 | ($target:expr_2021, $($t:tt)*) => ( [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/log.rs:52:6 [INFO] [stderr] | [INFO] [stderr] 52 | ($target:expr_2021, $($t:tt)*) => ( [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 4 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/log.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | ($target:expr, $($t:tt)*) => ( [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] 24 | ($target:expr_2021, $($t:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/log.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | ($target:expr, $($t:tt)*) => ( [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] 33 | ($target:expr_2021, $($t:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/log.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | ($target:expr, $($t:tt)*) => ( [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] 43 | ($target:expr_2021, $($t:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/log.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | ($target:expr, $($t:tt)*) => ( [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] 52 | ($target:expr_2021, $($t:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | if let Err(error) = run().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/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | } [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] 39 ~ match run().await { Err(error) => { [INFO] [stdout] 40 | match error { [INFO] [stdout] ... [INFO] [stdout] 48 | std::process::exit(1); [INFO] [stdout] 49 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/args.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | } else if let Some(_matches) = matches.subcommand_matches("test") { [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] 165 | Action::Test [INFO] [stdout] 166 | } else if let Some(_matches) = matches.subcommand_matches("login") { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 167 | Action::Login [INFO] [stdout] 168 | } else if let Some(_matches) = matches.subcommand_matches("pack") { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 169 | Action::Pack [INFO] [stdout] 170 | } else if let Some(_matches) = matches.subcommand_matches("unpack") { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 171 | Action::Unpack [INFO] [stdout] 172 | } else if let Some(_matches) = matches.subcommand_matches("update") { [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/args.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | } else if let Some(_matches) = matches.subcommand_matches("login") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/args.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | } else if let Some(_matches) = matches.subcommand_matches("pack") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/args.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | } else if let Some(_matches) = matches.subcommand_matches("unpack") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/args.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | } else if let Some(_matches) = matches.subcommand_matches("update") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/args.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | } 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] 164 ~ } else { match matches.subcommand_matches("test") { Some(_matches) => { [INFO] [stdout] 165 | Action::Test [INFO] [stdout] 166 ~ } _ => { match matches.subcommand_matches("login") { Some(_matches) => { [INFO] [stdout] 167 | Action::Login [INFO] [stdout] 168 ~ } _ => { match matches.subcommand_matches("pack") { Some(_matches) => { [INFO] [stdout] 169 | Action::Pack [INFO] [stdout] 170 ~ } _ => { match matches.subcommand_matches("unpack") { Some(_matches) => { [INFO] [stdout] 171 | Action::Unpack [INFO] [stdout] 172 ~ } _ => { match matches.subcommand_matches("update") { Some(_matches) => { [INFO] [stdout] 173 | Action::Update [INFO] [stdout] 174 ~ } _ => { [INFO] [stdout] 175 | Action::Run [INFO] [stdout] 176 ~ }}}}}}}}}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | if let Ok(key) = fs::read(&key_path) { [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/config.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | } else if !cliclack::confirm("Key already exists. Overwrite?").interact()? { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 311 ~ match fs::read(&key_path) { Ok(key) => { [INFO] [stdout] 312 | if key.len() != 32 { [INFO] [stdout] ... [INFO] [stdout] 321 | } [INFO] [stdout] 322 ~ } _ => if !cliclack::confirm("Key already exists. Overwrite?").interact()? { [INFO] [stdout] 323 | return Ok(()); [INFO] [stdout] 324 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:218:15 [INFO] [stdout] | [INFO] [stdout] 218 | while let Some(next) = (**delegate.delegate.load()).clone() { [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/connection.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:364:16 [INFO] [stdout] | [INFO] [stdout] 364 | if let Err(error) = this.task().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/connection.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 364 ~ match this.task().await { Err(error) => { [INFO] [stdout] 365 | println!("NodeConnection task error: {:?}", error); [INFO] [stdout] 366 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:407:20 [INFO] [stdout] | [INFO] [stdout] 407 | if let Some(delegate) = delegates.get(&delegate_key) { [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/connection.rs:409:17 [INFO] [stdout] | [INFO] [stdout] 409 | } 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] 407 ~ match delegates.get(&delegate_key) { Some(delegate) => { [INFO] [stdout] 408 | self.bind_delegate(Some(delegate.clone())); [INFO] [stdout] 409 ~ } _ => { [INFO] [stdout] 410 | delegates.insert(delegate_key, self.clone()); [INFO] [stdout] 411 | self.bind_delegate(None); [INFO] [stdout] 412 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/monitor.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some(connections) = connections.get(¶ms) { [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/monitor.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | } 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] 161 ~ match connections.get(¶ms) { Some(connections) => { [INFO] [stdout] 162 | if connections.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 168 | } [INFO] [stdout] 169 ~ } _ => { [INFO] [stdout] 170 | println!("\t- N/A"); [INFO] [stdout] 171 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/monitor.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | if let Err(error) = this.task().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/monitor.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 183 ~ match this.task().await { Err(error) => { [INFO] [stdout] 184 | println!("Monitor task error: {:?}", error); [INFO] [stdout] 185 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/monitor.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | ... if let Some(nodes) = connections.get_mut(params) { [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/monitor.rs:217:29 [INFO] [stdout] | [INFO] [stdout] 217 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 215 ~ match connections.get_mut(params) { Some(nodes) => { [INFO] [stdout] 216 | nodes.sort_by_key(|connection| connection.score()); [INFO] [stdout] 217 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/monitor.rs:258:16 [INFO] [stdout] | [INFO] [stdout] 258 | if let Some(connections) = connections.get(params) { [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/monitor.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | } 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] 258 ~ match connections.get(params) { Some(connections) => { [INFO] [stdout] 259 | connections [INFO] [stdout] ... [INFO] [stdout] 270 | }); [INFO] [stdout] 271 ~ } _ => { [INFO] [stdout] 272 | println!("\t- N/A"); [INFO] [stdout] 273 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | if let Err(error) = this.task().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/resolver.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 172 ~ match this.task().await { Err(error) => { [INFO] [stdout] 173 | println!("Resolver task error: {:?}", error); [INFO] [stdout] 174 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver.rs:211:40 [INFO] [stdout] | [INFO] [stdout] 211 | ... if let Err(err) = self.update(true).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/resolver.rs:213:37 [INFO] [stdout] | [INFO] [stdout] 213 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 211 ~ match self.update(true).await { Err(err) => { [INFO] [stdout] 212 | log_error!("Config", "[startup] {err}"); [INFO] [stdout] 213 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver.rs:216:40 [INFO] [stdout] | [INFO] [stdout] 216 | ... if let Err(err) = self.update(false).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/resolver.rs:218:37 [INFO] [stdout] | [INFO] [stdout] 218 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 216 ~ match self.update(false).await { Err(err) => { [INFO] [stdout] 217 | log_error!("Config", "[update] {err}"); [INFO] [stdout] 218 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | if let Some(node_list) = user_config() { [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/resolver.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | } else if self.args().auto_update { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 264 ~ match user_config() { Some(node_list) => { [INFO] [stdout] 265 | // load user config [INFO] [stdout] ... [INFO] [stdout] 270 | Ok(()) [INFO] [stdout] 271 ~ } _ => if self.args().auto_update { [INFO] [stdout] 272 | // auto update global config [INFO] [stdout] ... [INFO] [stdout] 291 | Ok(()) [INFO] [stdout] 292 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | if let Some(json) = self.inner.kaspa.election(¶ms) { [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/resolver.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | } 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] 313 ~ match self.inner.kaspa.election(¶ms) { Some(json) => { [INFO] [stdout] 314 | with_json_string(json) [INFO] [stdout] 315 ~ } _ => { [INFO] [stdout] 316 | not_found() [INFO] [stdout] 317 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | if let Some(json) = self.inner.sparkle.election(¶ms) { [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/resolver.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | } 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] 329 ~ match self.inner.sparkle.election(¶ms) { Some(json) => { [INFO] [stdout] 330 | with_json_string(json) [INFO] [stdout] 331 ~ } _ => { [INFO] [stdout] 332 | not_found() [INFO] [stdout] 333 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tpl.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(var_name) = caps.get(1) { [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/tpl.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 41 ~ match caps.get(1) { Some(var_name) => { [INFO] [stdout] 42 | let key = var_name.as_str().trim(); [INFO] [stdout] ... [INFO] [stdout] 48 | } [INFO] [stdout] 49 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `resolver` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/log.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/log.rs:24:6 [INFO] [stderr] | [INFO] [stderr] 24 | ($target:expr_2021, $($t:tt)*) => ( [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/log.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | ($target:expr_2021, $($t:tt)*) => ( [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/log.rs:43:6 [INFO] [stderr] | [INFO] [stderr] 43 | ($target:expr_2021, $($t:tt)*) => ( [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/log.rs:52:6 [INFO] [stderr] | [INFO] [stderr] 52 | ($target:expr_2021, $($t:tt)*) => ( [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 4 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/log.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | ($target:expr, $($t:tt)*) => ( [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] 24 | ($target:expr_2021, $($t:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/log.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | ($target:expr, $($t:tt)*) => ( [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] 33 | ($target:expr_2021, $($t:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/log.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | ($target:expr, $($t:tt)*) => ( [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] 43 | ($target:expr_2021, $($t:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/log.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | ($target:expr, $($t:tt)*) => ( [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] 52 | ($target:expr_2021, $($t:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | if let Err(error) = run().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/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | } [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] 39 ~ match run().await { Err(error) => { [INFO] [stdout] 40 | match error { [INFO] [stdout] ... [INFO] [stdout] 48 | std::process::exit(1); [INFO] [stdout] 49 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/args.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | } else if let Some(_matches) = matches.subcommand_matches("test") { [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] 165 | Action::Test [INFO] [stdout] 166 | } else if let Some(_matches) = matches.subcommand_matches("login") { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 167 | Action::Login [INFO] [stdout] 168 | } else if let Some(_matches) = matches.subcommand_matches("pack") { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 169 | Action::Pack [INFO] [stdout] 170 | } else if let Some(_matches) = matches.subcommand_matches("unpack") { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 171 | Action::Unpack [INFO] [stdout] 172 | } else if let Some(_matches) = matches.subcommand_matches("update") { [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/args.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | } else if let Some(_matches) = matches.subcommand_matches("login") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/args.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | } else if let Some(_matches) = matches.subcommand_matches("pack") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/args.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | } else if let Some(_matches) = matches.subcommand_matches("unpack") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/args.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | } else if let Some(_matches) = matches.subcommand_matches("update") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/args.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | } 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] 164 ~ } else { match matches.subcommand_matches("test") { Some(_matches) => { [INFO] [stdout] 165 | Action::Test [INFO] [stdout] 166 ~ } _ => { match matches.subcommand_matches("login") { Some(_matches) => { [INFO] [stdout] 167 | Action::Login [INFO] [stdout] 168 ~ } _ => { match matches.subcommand_matches("pack") { Some(_matches) => { [INFO] [stdout] 169 | Action::Pack [INFO] [stdout] 170 ~ } _ => { match matches.subcommand_matches("unpack") { Some(_matches) => { [INFO] [stdout] 171 | Action::Unpack [INFO] [stdout] 172 ~ } _ => { match matches.subcommand_matches("update") { Some(_matches) => { [INFO] [stdout] 173 | Action::Update [INFO] [stdout] 174 ~ } _ => { [INFO] [stdout] 175 | Action::Run [INFO] [stdout] 176 ~ }}}}}}}}}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | if let Ok(key) = fs::read(&key_path) { [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/config.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | } else if !cliclack::confirm("Key already exists. Overwrite?").interact()? { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 311 ~ match fs::read(&key_path) { Ok(key) => { [INFO] [stdout] 312 | if key.len() != 32 { [INFO] [stdout] ... [INFO] [stdout] 321 | } [INFO] [stdout] 322 ~ } _ => if !cliclack::confirm("Key already exists. Overwrite?").interact()? { [INFO] [stdout] 323 | return Ok(()); [INFO] [stdout] 324 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:218:15 [INFO] [stdout] | [INFO] [stdout] 218 | while let Some(next) = (**delegate.delegate.load()).clone() { [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/connection.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:364:16 [INFO] [stdout] | [INFO] [stdout] 364 | if let Err(error) = this.task().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/connection.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 364 ~ match this.task().await { Err(error) => { [INFO] [stdout] 365 | println!("NodeConnection task error: {:?}", error); [INFO] [stdout] 366 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:407:20 [INFO] [stdout] | [INFO] [stdout] 407 | if let Some(delegate) = delegates.get(&delegate_key) { [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/connection.rs:409:17 [INFO] [stdout] | [INFO] [stdout] 409 | } 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] 407 ~ match delegates.get(&delegate_key) { Some(delegate) => { [INFO] [stdout] 408 | self.bind_delegate(Some(delegate.clone())); [INFO] [stdout] 409 ~ } _ => { [INFO] [stdout] 410 | delegates.insert(delegate_key, self.clone()); [INFO] [stdout] 411 | self.bind_delegate(None); [INFO] [stdout] 412 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/monitor.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some(connections) = connections.get(¶ms) { [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/monitor.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | } 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] 161 ~ match connections.get(¶ms) { Some(connections) => { [INFO] [stdout] 162 | if connections.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 168 | } [INFO] [stdout] 169 ~ } _ => { [INFO] [stdout] 170 | println!("\t- N/A"); [INFO] [stdout] 171 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/monitor.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | if let Err(error) = this.task().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/monitor.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 183 ~ match this.task().await { Err(error) => { [INFO] [stdout] 184 | println!("Monitor task error: {:?}", error); [INFO] [stdout] 185 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/monitor.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | ... if let Some(nodes) = connections.get_mut(params) { [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/monitor.rs:217:29 [INFO] [stdout] | [INFO] [stdout] 217 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 215 ~ match connections.get_mut(params) { Some(nodes) => { [INFO] [stdout] 216 | nodes.sort_by_key(|connection| connection.score()); [INFO] [stdout] 217 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/monitor.rs:258:16 [INFO] [stdout] | [INFO] [stdout] 258 | if let Some(connections) = connections.get(params) { [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/monitor.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | } 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] 258 ~ match connections.get(params) { Some(connections) => { [INFO] [stdout] 259 | connections [INFO] [stdout] ... [INFO] [stdout] 270 | }); [INFO] [stdout] 271 ~ } _ => { [INFO] [stdout] 272 | println!("\t- N/A"); [INFO] [stdout] 273 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | if let Err(error) = this.task().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/resolver.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 172 ~ match this.task().await { Err(error) => { [INFO] [stdout] 173 | println!("Resolver task error: {:?}", error); [INFO] [stdout] 174 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver.rs:211:40 [INFO] [stdout] | [INFO] [stdout] 211 | ... if let Err(err) = self.update(true).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/resolver.rs:213:37 [INFO] [stdout] | [INFO] [stdout] 213 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 211 ~ match self.update(true).await { Err(err) => { [INFO] [stdout] 212 | log_error!("Config", "[startup] {err}"); [INFO] [stdout] 213 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver.rs:216:40 [INFO] [stdout] | [INFO] [stdout] 216 | ... if let Err(err) = self.update(false).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/resolver.rs:218:37 [INFO] [stdout] | [INFO] [stdout] 218 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 216 ~ match self.update(false).await { Err(err) => { [INFO] [stdout] 217 | log_error!("Config", "[update] {err}"); [INFO] [stdout] 218 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | if let Some(node_list) = user_config() { [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/resolver.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | } else if self.args().auto_update { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 264 ~ match user_config() { Some(node_list) => { [INFO] [stdout] 265 | // load user config [INFO] [stdout] ... [INFO] [stdout] 270 | Ok(()) [INFO] [stdout] 271 ~ } _ => if self.args().auto_update { [INFO] [stdout] 272 | // auto update global config [INFO] [stdout] ... [INFO] [stdout] 291 | Ok(()) [INFO] [stdout] 292 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | if let Some(json) = self.inner.kaspa.election(¶ms) { [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/resolver.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | } 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] 313 ~ match self.inner.kaspa.election(¶ms) { Some(json) => { [INFO] [stdout] 314 | with_json_string(json) [INFO] [stdout] 315 ~ } _ => { [INFO] [stdout] 316 | not_found() [INFO] [stdout] 317 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resolver.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | if let Some(json) = self.inner.sparkle.election(¶ms) { [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/resolver.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | } 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] 329 ~ match self.inner.sparkle.election(¶ms) { Some(json) => { [INFO] [stdout] 330 | with_json_string(json) [INFO] [stdout] 331 ~ } _ => { [INFO] [stdout] 332 | not_found() [INFO] [stdout] 333 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tpl.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(var_name) = caps.get(1) { [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/tpl.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 41 ~ match caps.get(1) { Some(var_name) => { [INFO] [stdout] 42 | let key = var_name.as_str().trim(); [INFO] [stdout] ... [INFO] [stdout] 48 | } [INFO] [stdout] 49 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking kaspa-resolver v0.10.3 (/tmp/fixit) [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | get(|path| async move { this.get_elected_kaspa(path).await }), [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `this` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | get(|path| async move { this.get_elected_sparkle(path).await }), [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `this` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:76:51 [INFO] [stdout] | [INFO] [stdout] 76 | get(|req: Request| async move { status::logout_handler(&this, req).await }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `this` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | status::status_handler(&this, status::RequestKind::Post(form)).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `this` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | status::status_handler(&this, status::RequestKind::AsHtml(req)).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `this` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:98:51 [INFO] [stdout] | [INFO] [stdout] 98 | get(|req: Request| async move { status::json_handler(&this, req).await }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `this` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 105 | get(|req: Request| async move { public::status_handler(&this, req).await }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `this` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:111:55 [INFO] [stdout] | [INFO] [stdout] 111 | get(|req: Request| async move { public::json_handler(&this, req).await }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `this` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | get(|path| async move { this.get_elected_kaspa(path).await }), [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `this` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | get(|path| async move { this.get_elected_sparkle(path).await }), [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `this` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:76:51 [INFO] [stdout] | [INFO] [stdout] 76 | get(|req: Request| async move { status::logout_handler(&this, req).await }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `this` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | status::status_handler(&this, status::RequestKind::Post(form)).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `this` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | status::status_handler(&this, status::RequestKind::AsHtml(req)).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `this` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:98:51 [INFO] [stdout] | [INFO] [stdout] 98 | get(|req: Request| async move { status::json_handler(&this, req).await }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `this` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 105 | get(|req: Request| async move { public::status_handler(&this, req).await }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `this` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> src/resolver.rs:111:55 [INFO] [stdout] | [INFO] [stdout] 111 | get(|req: Request| async move { public::json_handler(&this, req).await }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `this` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kaspa-resolver` (bin "resolver") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kaspa-resolver` (bin "resolver" test) due to 9 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" "7cce093a1a85c89878f570d38caff8319acab921dfcc0153778a51ccc487bcfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cce093a1a85c89878f570d38caff8319acab921dfcc0153778a51ccc487bcfe", kill_on_drop: false }` [INFO] [stdout] 7cce093a1a85c89878f570d38caff8319acab921dfcc0153778a51ccc487bcfe