[INFO] fetching crate fedimint-tor-dirmgr 0.20.0... [INFO] checking fedimint-tor-dirmgr-0.20.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate fedimint-tor-dirmgr 0.20.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate fedimint-tor-dirmgr 0.20.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 fedimint-tor-dirmgr 0.20.0 [INFO] finished tweaking crates.io crate fedimint-tor-dirmgr 0.20.0 [INFO] tweaked toml for crates.io crate fedimint-tor-dirmgr 0.20.0 written to /workspace/builds/worker-2-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 400 packages to latest compatible versions [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.3.1) [INFO] [stderr] Adding atomic v0.5.3 (available: v0.6.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding blanket v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding darling v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding derive-adhoc v0.7.3 (available: v0.8.4) [INFO] [stderr] Adding derive-adhoc-macros v0.7.3 (available: v0.8.4) [INFO] [stderr] Adding derive-deftly v0.13.1 (available: v0.14.2) [INFO] [stderr] Adding derive-deftly-macros v0.13.1 (available: v0.14.2) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding educe v0.4.23 (available: v0.6.0) [INFO] [stderr] Adding enum-ordinalize v3.1.15 (available: v4.3.0) [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 foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hashlink v0.8.4 (available: v0.9.1) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding libsqlite3-sys v0.25.2 (available: v0.30.1) [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 nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding ordered-float v2.10.1 (available: v4.3.0) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.2.0) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [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 rusqlite v0.28.0 (available: v0.32.1) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding strum v0.25.0 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.25.3 (available: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding toml_edit v0.19.15 (available: v0.22.22) [INFO] [stderr] Adding tor-async-utils v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-basic-utils v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-bytes v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-cell v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-cert v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-chanmgr v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-checkable v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-circmgr v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-config v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-consdiff v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-dirclient v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-error v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-geoip v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-guardmgr v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-hscrypto v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-linkspec v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-llcrypto v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-log-ratelim v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-netdir v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-netdoc v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-persist v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-proto v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-protover v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-relay-selection v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-rtcompat v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-rtmock v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-socksproto v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding tor-units v0.20.0 (available: v0.22.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winnow v0.5.40 (available: v0.6.20) [INFO] [stderr] Adding wyz v0.5.1 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a348e4df361256eff6a3eb141302728d4ed6bd1a2f536b34a745213dd5707d38 [INFO] running `Command { std: "docker" "start" "-a" "a348e4df361256eff6a3eb141302728d4ed6bd1a2f536b34a745213dd5707d38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a348e4df361256eff6a3eb141302728d4ed6bd1a2f536b34a745213dd5707d38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a348e4df361256eff6a3eb141302728d4ed6bd1a2f536b34a745213dd5707d38", kill_on_drop: false }` [INFO] [stdout] a348e4df361256eff6a3eb141302728d4ed6bd1a2f536b34a745213dd5707d38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8f6c1936633db086f06ae3644fb0cd8c0262618538606fb15c2f0bfe4ec6abf9 [INFO] running `Command { std: "docker" "start" "-a" "8f6c1936633db086f06ae3644fb0cd8c0262618538606fb15c2f0bfe4ec6abf9", 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] Fixed Cargo.toml (2 fixes) [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking retry-error v0.5.4 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling derive-adhoc-macros v0.7.3 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking fluid-let v1.0.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tor-error v0.20.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling derive-deftly-macros v0.13.1 [INFO] [stderr] Checking safelog v0.3.8 [INFO] [stderr] Compiling derive_builder_core_fork_arti v0.11.2 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking caret v0.4.7 [INFO] [stderr] Compiling derive_builder_macro_fork_arti v0.11.2 [INFO] [stderr] Checking tor-basic-utils v0.20.0 [INFO] [stderr] Checking tor-llcrypto v0.20.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking derive_builder_fork_arti v0.11.2 [INFO] [stderr] Checking tor-bytes v0.20.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking serde_ignored v0.1.10 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking shellexpand v3.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Compiling amplify_syn v2.0.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling amplify_derive v4.0.1 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking tor-checkable v0.20.0 [INFO] [stderr] Checking tor-protover v0.20.0 [INFO] [stderr] Compiling async_executors v0.7.0 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking derive-adhoc v0.7.3 [INFO] [stderr] Checking pwd-grp v0.1.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking fs-mistrust v0.7.13 [INFO] [stderr] Checking amplify_num v0.5.3 [INFO] [stderr] Checking by_address v1.2.1 [INFO] [stderr] Checking lock_api v0.4.12 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking tor-cert v0.20.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking tor-units v0.20.0 [INFO] [stderr] Compiling blanket v0.3.0 [INFO] [stderr] Checking derive-deftly v0.13.1 [INFO] [stderr] Checking weak-table v0.3.2 [INFO] [stderr] Checking amplify v4.7.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking tor-config v0.20.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking coarsetime v0.1.34 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking tor-linkspec v0.20.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking postage v0.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling tracing-test-macro v0.2.5 [INFO] [stderr] Checking async-native-tls v0.5.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking tor-async-utils v0.20.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking tor-cell v0.20.0 [INFO] [stderr] Checking priority-queue v2.1.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking typed-index-collections v3.2.1 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking sanitize-filename v0.5.0 [INFO] [stderr] Checking tor-netdoc v0.20.0 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking fslock v0.2.1 [INFO] [stderr] Checking tor-socksproto v0.20.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking humantime-serde v1.1.1 [INFO] [stderr] Checking tor-persist v0.20.0 [INFO] [stderr] Compiling libsqlite3-sys v0.25.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking tor-rtcompat v0.20.0 [INFO] [stderr] Checking tracing-test v0.2.5 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking bounded-vec-deque v0.1.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking tor-netdir v0.20.0 [INFO] [stderr] Checking tor-log-ratelim v0.20.0 [INFO] [stderr] Checking tor-rtmock v0.20.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking tor-consdiff v0.20.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking rusqlite v0.28.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking tor-relay-selection v0.20.0 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking float_eq v1.0.1 [INFO] [stderr] Checking tor-proto v0.20.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking tor-chanmgr v0.20.0 [INFO] [stderr] Checking tor-guardmgr v0.20.0 [INFO] [stderr] Checking tor-circmgr v0.20.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking tor-dirclient v0.20.0 [INFO] [stderr] Checking fedimint-tor-dirmgr v0.20.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 `fedimint_tor_dirmgr` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:1377:78 [INFO] [stdout] | [INFO] [stdout] 1377 | let rd_ids: Vec = (0..1000).map(|_| DocId::RouterDesc(rng.gen())).collect(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/bootstrap.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/bootstrap.rs:42:7 [INFO] [stderr] | [INFO] [stderr] 42 | ( $e:expr_2021 ) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:1378:77 [INFO] [stdout] | [INFO] [stdout] 1378 | let md_ids: Vec = (0..1000).map(|_| DocId::Microdesc(rng.gen())).collect(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/docid.rs:372:60 [INFO] [stdout] | [INFO] [stdout] 372 | let ids: HashSet = (0..3400).map(|_| rng.gen()).collect(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/docid.rs:392:64 [INFO] [stdout] | [INFO] [stdout] 392 | let ids: HashSet = (0..1001).map(|_| rng.gen()).collect(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/docid.rs:412:42 [INFO] [stdout] | [INFO] [stdout] 412 | let id_fingerprint = rng.gen::<[u8; 20]>().into(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/docid.rs:413:42 [INFO] [stdout] | [INFO] [stdout] 413 | let sk_fingerprint = rng.gen::<[u8; 20]>().into(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bootstrap.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | ( $e:expr ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 42 | ( $e: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:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some(netdir) = self.netdir.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/lib.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | } else { [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] 200 ~ match self.netdir.get() { Some(netdir) => { [INFO] [stdout] 201 | // We have a directory, so we'd like to give it out for its [INFO] [stdout] ... [INFO] [stdout] 206 | netdir [INFO] [stdout] 207 ~ } _ => { [INFO] [stdout] 208 | // We have no directory, so we'll give out the default parameters as [INFO] [stdout] ... [INFO] [stdout] 214 | .clone() [INFO] [stdout] 215 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:496:24 [INFO] [stdout] | [INFO] [stdout] 496 | if let Some(dm) = Weak::upgrade(&dirmgr_weak) { [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:498:21 [INFO] [stdout] | [INFO] [stdout] 498 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 496 ~ match Weak::upgrade(&dirmgr_weak) { Some(dm) => { [INFO] [stdout] 497 | *dm.task_schedule.lock().expect("poisoned lock") = Some(schedule); [INFO] [stdout] 498 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:503:20 [INFO] [stdout] | [INFO] [stdout] 503 | if let Err(e) = [INFO] [stdout] | _____________________^ [INFO] [stdout] 504 | |/ Self::reload_until_owner(&dirmgr_weak, &mut schedule, attempt_id, &mut sender) [INFO] [stdout] 505 | || .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] 512 | / Self::download_forever(dirmgr_weak.clone(), &mut schedule, attempt_id, sender) [INFO] [stdout] 513 | | .await [INFO] [stdout] | |______________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = 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:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | } else if let Err(e) = [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:519:17 [INFO] [stdout] | [INFO] [stdout] 519 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 503 ~ match Self::reload_until_owner(&dirmgr_weak, &mut schedule, attempt_id, &mut sender) [INFO] [stdout] 504 | .await [INFO] [stdout] 505 ~ { Err(e) => { [INFO] [stdout] 506 | match e { [INFO] [stdout] ... [INFO] [stdout] 509 | } [INFO] [stdout] 510 ~ } _ => { match Self::download_forever(dirmgr_weak.clone(), &mut schedule, attempt_id, sender) [INFO] [stdout] 511 | .await [INFO] [stdout] 512 ~ { Err(e) => { [INFO] [stdout] 513 | match e { [INFO] [stdout] ... [INFO] [stdout] 516 | } [INFO] [stdout] 517 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:682:20 [INFO] [stdout] | [INFO] [stdout] 682 | if let Err(err) = outcome { [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:712:17 [INFO] [stdout] | [INFO] [stdout] 712 | } 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] 682 ~ match outcome { Err(err) => { [INFO] [stdout] 683 | if state.is_ready(Readiness::Usable) { [INFO] [stdout] ... [INFO] [stdout] 711 | state = state.reset(); [INFO] [stdout] 712 ~ } _ => { [INFO] [stdout] 713 | info!(attempt=%attempt_id, "Directory is complete."); [INFO] [stdout] 714 | usable = true; [INFO] [stdout] 715 | break 'retry_attempt; [INFO] [stdout] 716 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:728:20 [INFO] [stdout] | [INFO] [stdout] 728 | if let Some(send_done) = on_complete.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 728 ~ match on_complete.take() { Some(send_done) => { [INFO] [stdout] 729 | let _ = send_done.send(()); [INFO] [stdout] 730 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Stream` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lib.rs:940:29 [INFO] [stdout] | [INFO] [stdout] 940 | pub fn events(&self) -> impl futures::Stream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lib.rs:940:19 [INFO] [stdout] | [INFO] [stdout] 940 | pub fn events(&self) -> impl futures::Stream { [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 940 | pub fn events(&self) -> impl futures::Stream + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:955:12 [INFO] [stdout] | [INFO] [stdout] 955 | if let Some((docid, doctext)) = item { [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:962:9 [INFO] [stdout] | [INFO] [stdout] 962 | } 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] 955 ~ match item { Some((docid, doctext)) => { [INFO] [stdout] 956 | if &docid != doc { [INFO] [stdout] ... [INFO] [stdout] 961 | Ok(Some(doctext)) [INFO] [stdout] 962 ~ } _ => { [INFO] [stdout] 963 | Ok(None) [INFO] [stdout] 964 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:999:24 [INFO] [stdout] | [INFO] [stdout] 999 | if let Some((old_consensus, meta)) = db_val { [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:1008:21 [INFO] [stdout] | [INFO] [stdout] 1008 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 999 ~ match db_val { Some((old_consensus, meta)) => { [INFO] [stdout] 1000 | info!("Applying a consensus diff"); [INFO] [stdout] ... [INFO] [stdout] 1007 | return Ok(new_consensus.to_string()); [INFO] [stdout] 1008 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bootstrap.rs:499:24 [INFO] [stdout] | [INFO] [stdout] 499 | if let Err(e) = &outcome { [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/bootstrap.rs:502:21 [INFO] [stdout] | [INFO] [stdout] 502 | } 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] 499 ~ match &outcome { Err(e) => { [INFO] [stdout] 500 | n_errors += 1; [INFO] [stdout] 501 | note_cache_error(dirmgr.circmgr()?.deref(), &source, e); [INFO] [stdout] 502 ~ } _ => { [INFO] [stdout] 503 | note_cache_success(dirmgr.circmgr()?.deref(), &source); [INFO] [stdout] 504 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bootstrap.rs:633:28 [INFO] [stdout] | [INFO] [stdout] 633 | if let Err(e) = outcome { [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/bootstrap.rs:638:25 [INFO] [stdout] | [INFO] [stdout] 638 | } 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] 633 ~ match outcome { Err(e) => { [INFO] [stdout] 634 | // TODO: get warn_report! to support `attempt=%attempt_id`? [INFO] [stdout] ... [INFO] [stdout] 637 | continue 'next_attempt; [INFO] [stdout] 638 ~ } _ => { [INFO] [stdout] 639 | trace!(attempt=%attempt_id, "Successfully downloaded some information."); [INFO] [stdout] 640 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/docid.rs:222:27 [INFO] [stdout] | [INFO] [stdout] 222 | } else if let Some(c) = [INFO] [stdout] | ___________________________^ [INFO] [stdout] 223 | | store.latest_consensus(*flavor, cache_usage.pending_requirement())? [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/docid.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 222 ~ } else { match store.latest_consensus(*flavor, cache_usage.pending_requirement())? [INFO] [stdout] 223 ~ { Some(c) => { [INFO] [stdout] 224 | trace!("Found a reasonable consensus in the cache"); [INFO] [stdout] ... [INFO] [stdout] 229 | result.insert(id, c.into()); [INFO] [stdout] 230 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/event.rs:270:16 [INFO] [stdout] | [INFO] [stdout] 270 | if let Poll::Ready(()) = Pin::new(&mut self.listener).poll(cx) { [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/event.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | } 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] 270 ~ match Pin::new(&mut self.listener).poll(cx) { Poll::Ready(()) => { [INFO] [stdout] 271 | // Got a new notification; we must create a new event and continue the loop. [INFO] [stdout] ... [INFO] [stdout] 275 | self.listener = self.inner.event.listen(); [INFO] [stdout] 276 ~ } _ => { [INFO] [stdout] 277 | // Nothing to do yet: put the listener back. [INFO] [stdout] 278 | return Poll::Pending; [INFO] [stdout] 279 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/event.rs:914:27 [INFO] [stdout] | [INFO] [stdout] 914 | while let Some(e) = sub.next().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/event.rs:916:21 [INFO] [stdout] | [INFO] [stdout] 916 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/retry.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn attempts(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/retry.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn attempts(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 90 | pub fn attempts(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 271 | if let Some(next) = &self.next { [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/state.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | } 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] 271 ~ match &self.next { Some(next) => { [INFO] [stdout] 272 | next.bootstrap_progress() [INFO] [stdout] 273 ~ } _ => { [INFO] [stdout] 274 | DirProgress::NoConsensus { after: self.after } [INFO] [stdout] 275 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:591:16 [INFO] [stdout] | [INFO] [stdout] 591 | if let Some(cert) = docs.get(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/state.rs:604:13 [INFO] [stdout] | [INFO] [stdout] 604 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 591 ~ match docs.get(id) { Some(cert) => { [INFO] [stdout] 592 | let text = cert.as_str().map_err(Error::BadUtf8InCache)?; [INFO] [stdout] ... [INFO] [stdout] 603 | } [INFO] [stdout] 604 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | if let Ok(bytes) = mapping { [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/storage.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 145 ~ match mapping { Ok(bytes) => { [INFO] [stdout] 146 | return Ok(InputString::MappedBytes { [INFO] [stdout] ... [INFO] [stdout] 149 | }); [INFO] [stdout] 150 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage/sqlite.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 299 | if let Err(e) = self.blob_dir.remove_file(fname) { [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/storage/sqlite.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 299 ~ match self.blob_dir.remove_file(fname) { Err(e) => { [INFO] [stdout] 300 | warn_report!(e, "Unable to remove {}", fname.display_lossy()); [INFO] [stdout] 301 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage/sqlite.rs:423:16 [INFO] [stdout] | [INFO] [stdout] 423 | if let Ok(fname) = fname { [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/storage/sqlite.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 423 ~ match fname { Ok(fname) => { [INFO] [stdout] 424 | let _ignore = std::fs::remove_file(fname); [INFO] [stdout] 425 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage/sqlite.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 465 | if let Some(row) = rows.next()? { [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/storage/sqlite.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | } 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] 465 ~ match rows.next()? { Some(row) => { [INFO] [stdout] 466 | Ok(Some(cmeta_from_row(row)?)) [INFO] [stdout] 467 ~ } _ => { [INFO] [stdout] 468 | Ok(None) [INFO] [stdout] 469 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage/sqlite.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 473 | if let Some((text, _)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 474 | | self.consensus_by_sha3_digest_of_signed_part(cmeta.sha3_256_of_signed())? [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/storage/sqlite.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | } 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] 473 ~ match self.consensus_by_sha3_digest_of_signed_part(cmeta.sha3_256_of_signed())? [INFO] [stdout] 474 ~ { Some((text, _)) => { [INFO] [stdout] 475 | Ok(text) [INFO] [stdout] 476 ~ } _ => { [INFO] [stdout] 477 | Err(Error::CacheCorruption( [INFO] [stdout] 478 | "couldn't find a consensus we thought we had.", [INFO] [stdout] 479 | )) [INFO] [stdout] 480 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage/sqlite.rs:495:16 [INFO] [stdout] | [INFO] [stdout] 495 | if let Some(text) = self.read_blob(&fname)? { [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/storage/sqlite.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 495 ~ match self.read_blob(&fname)? { Some(text) => { [INFO] [stdout] 496 | return Ok(Some((text, meta))); [INFO] [stdout] 497 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage/sqlite.rs:579:16 [INFO] [stdout] | [INFO] [stdout] 579 | if let Some(contents) = stmt [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 580 | || .query_row(params![id_digest, sk_digest], |row| row.get::<_, String>(0)) [INFO] [stdout] 581 | || .optional()? [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/storage/sqlite.rs:584:13 [INFO] [stdout] | [INFO] [stdout] 584 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 579 ~ match stmt [INFO] [stdout] 580 | .query_row(params![id_digest, sk_digest], |row| row.get::<_, String>(0)) [INFO] [stdout] 581 | .optional()? [INFO] [stdout] 582 ~ { Some(contents) => { [INFO] [stdout] 583 | result.insert(*ids, contents); [INFO] [stdout] 584 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage/sqlite.rs:613:16 [INFO] [stdout] | [INFO] [stdout] 613 | if let Some(contents) = stmt [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 614 | || .query_row(params![h_digest], |row| row.get::<_, String>(0)) [INFO] [stdout] 615 | || .optional()? [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/storage/sqlite.rs:618:13 [INFO] [stdout] | [INFO] [stdout] 618 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 613 ~ match stmt [INFO] [stdout] 614 | .query_row(params![h_digest], |row| row.get::<_, String>(0)) [INFO] [stdout] 615 | .optional()? [INFO] [stdout] 616 ~ { Some(contents) => { [INFO] [stdout] 617 | result.insert(*md_digest, contents); [INFO] [stdout] 618 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `fedimint_tor_dirmgr` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:1377:78 [INFO] [stdout] | [INFO] [stdout] 1377 | let rd_ids: Vec = (0..1000).map(|_| DocId::RouterDesc(rng.gen())).collect(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:1378:77 [INFO] [stdout] | [INFO] [stdout] 1378 | let md_ids: Vec = (0..1000).map(|_| DocId::Microdesc(rng.gen())).collect(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/docid.rs:372:60 [INFO] [stdout] | [INFO] [stdout] 372 | let ids: HashSet = (0..3400).map(|_| rng.gen()).collect(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/docid.rs:392:64 [INFO] [stdout] | [INFO] [stdout] 392 | let ids: HashSet = (0..1001).map(|_| rng.gen()).collect(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/bootstrap.rs [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/docid.rs:412:42 [INFO] [stdout] | [INFO] [stdout] 412 | let id_fingerprint = rng.gen::<[u8; 20]>().into(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/docid.rs:413:42 [INFO] [stdout] | [INFO] [stdout] 413 | let sk_fingerprint = rng.gen::<[u8; 20]>().into(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bootstrap.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | ( $e:expr ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 42 | ( $e:expr_2021 ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stdout] warning: constant `REMOVE_CONSENSUS` is never used [INFO] [stdout] --> src/storage/sqlite.rs:952:7 [INFO] [stdout] | [INFO] [stdout] 952 | const REMOVE_CONSENSUS: &str = " [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some(netdir) = self.netdir.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/lib.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | } else { [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] 200 ~ match self.netdir.get() { Some(netdir) => { [INFO] [stdout] 201 | // We have a directory, so we'd like to give it out for its [INFO] [stdout] ... [INFO] [stdout] 206 | netdir [INFO] [stdout] 207 ~ } _ => { [INFO] [stdout] 208 | // We have no directory, so we'll give out the default parameters as [INFO] [stdout] ... [INFO] [stdout] 214 | .clone() [INFO] [stdout] 215 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:496:24 [INFO] [stdout] | [INFO] [stdout] 496 | if let Some(dm) = Weak::upgrade(&dirmgr_weak) { [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:498:21 [INFO] [stdout] | [INFO] [stdout] 498 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 496 ~ match Weak::upgrade(&dirmgr_weak) { Some(dm) => { [INFO] [stdout] 497 | *dm.task_schedule.lock().expect("poisoned lock") = Some(schedule); [INFO] [stdout] 498 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:503:20 [INFO] [stdout] | [INFO] [stdout] 503 | if let Err(e) = [INFO] [stdout] | _____________________^ [INFO] [stdout] 504 | |/ Self::reload_until_owner(&dirmgr_weak, &mut schedule, attempt_id, &mut sender) [INFO] [stdout] 505 | || .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] 512 | / Self::download_forever(dirmgr_weak.clone(), &mut schedule, attempt_id, sender) [INFO] [stdout] 513 | | .await [INFO] [stdout] | |______________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = 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:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | } else if let Err(e) = [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:519:17 [INFO] [stdout] | [INFO] [stdout] 519 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 503 ~ match Self::reload_until_owner(&dirmgr_weak, &mut schedule, attempt_id, &mut sender) [INFO] [stdout] 504 | .await [INFO] [stdout] 505 ~ { Err(e) => { [INFO] [stdout] 506 | match e { [INFO] [stdout] ... [INFO] [stdout] 509 | } [INFO] [stdout] 510 ~ } _ => { match Self::download_forever(dirmgr_weak.clone(), &mut schedule, attempt_id, sender) [INFO] [stdout] 511 | .await [INFO] [stdout] 512 ~ { Err(e) => { [INFO] [stdout] 513 | match e { [INFO] [stdout] ... [INFO] [stdout] 516 | } [INFO] [stdout] 517 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:682:20 [INFO] [stdout] | [INFO] [stdout] 682 | if let Err(err) = outcome { [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:712:17 [INFO] [stdout] | [INFO] [stdout] 712 | } 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] 682 ~ match outcome { Err(err) => { [INFO] [stdout] 683 | if state.is_ready(Readiness::Usable) { [INFO] [stdout] ... [INFO] [stdout] 711 | state = state.reset(); [INFO] [stdout] 712 ~ } _ => { [INFO] [stdout] 713 | info!(attempt=%attempt_id, "Directory is complete."); [INFO] [stdout] 714 | usable = true; [INFO] [stdout] 715 | break 'retry_attempt; [INFO] [stdout] 716 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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/bootstrap.rs:42:7 [INFO] [stderr] | [INFO] [stderr] 42 | ( $e:expr_2021 ) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:728:20 [INFO] [stdout] | [INFO] [stdout] 728 | if let Some(send_done) = on_complete.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 728 ~ match on_complete.take() { Some(send_done) => { [INFO] [stdout] 729 | let _ = send_done.send(()); [INFO] [stdout] 730 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Stream` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lib.rs:940:29 [INFO] [stdout] | [INFO] [stdout] 940 | pub fn events(&self) -> impl futures::Stream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lib.rs:940:19 [INFO] [stdout] | [INFO] [stdout] 940 | pub fn events(&self) -> impl futures::Stream { [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 940 | pub fn events(&self) -> impl futures::Stream + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:955:12 [INFO] [stdout] | [INFO] [stdout] 955 | if let Some((docid, doctext)) = item { [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:962:9 [INFO] [stdout] | [INFO] [stdout] 962 | } 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] 955 ~ match item { Some((docid, doctext)) => { [INFO] [stdout] 956 | if &docid != doc { [INFO] [stdout] ... [INFO] [stdout] 961 | Ok(Some(doctext)) [INFO] [stdout] 962 ~ } _ => { [INFO] [stdout] 963 | Ok(None) [INFO] [stdout] 964 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:999:24 [INFO] [stdout] | [INFO] [stdout] 999 | if let Some((old_consensus, meta)) = db_val { [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:1008:21 [INFO] [stdout] | [INFO] [stdout] 1008 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 999 ~ match db_val { Some((old_consensus, meta)) => { [INFO] [stdout] 1000 | info!("Applying a consensus diff"); [INFO] [stdout] ... [INFO] [stdout] 1007 | return Ok(new_consensus.to_string()); [INFO] [stdout] 1008 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bootstrap.rs:499:24 [INFO] [stdout] | [INFO] [stdout] 499 | if let Err(e) = &outcome { [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/bootstrap.rs:502:21 [INFO] [stdout] | [INFO] [stdout] 502 | } 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] 499 ~ match &outcome { Err(e) => { [INFO] [stdout] 500 | n_errors += 1; [INFO] [stdout] 501 | note_cache_error(dirmgr.circmgr()?.deref(), &source, e); [INFO] [stdout] 502 ~ } _ => { [INFO] [stdout] 503 | note_cache_success(dirmgr.circmgr()?.deref(), &source); [INFO] [stdout] 504 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bootstrap.rs:633:28 [INFO] [stdout] | [INFO] [stdout] 633 | if let Err(e) = outcome { [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/bootstrap.rs:638:25 [INFO] [stdout] | [INFO] [stdout] 638 | } 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] 633 ~ match outcome { Err(e) => { [INFO] [stdout] 634 | // TODO: get warn_report! to support `attempt=%attempt_id`? [INFO] [stdout] ... [INFO] [stdout] 637 | continue 'next_attempt; [INFO] [stdout] 638 ~ } _ => { [INFO] [stdout] 639 | trace!(attempt=%attempt_id, "Successfully downloaded some information."); [INFO] [stdout] 640 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/docid.rs:222:27 [INFO] [stdout] | [INFO] [stdout] 222 | } else if let Some(c) = [INFO] [stdout] | ___________________________^ [INFO] [stdout] 223 | | store.latest_consensus(*flavor, cache_usage.pending_requirement())? [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/docid.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 222 ~ } else { match store.latest_consensus(*flavor, cache_usage.pending_requirement())? [INFO] [stdout] 223 ~ { Some(c) => { [INFO] [stdout] 224 | trace!("Found a reasonable consensus in the cache"); [INFO] [stdout] ... [INFO] [stdout] 229 | result.insert(id, c.into()); [INFO] [stdout] 230 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/event.rs:270:16 [INFO] [stdout] | [INFO] [stdout] 270 | if let Poll::Ready(()) = Pin::new(&mut self.listener).poll(cx) { [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/event.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | } 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] 270 ~ match Pin::new(&mut self.listener).poll(cx) { Poll::Ready(()) => { [INFO] [stdout] 271 | // Got a new notification; we must create a new event and continue the loop. [INFO] [stdout] ... [INFO] [stdout] 275 | self.listener = self.inner.event.listen(); [INFO] [stdout] 276 ~ } _ => { [INFO] [stdout] 277 | // Nothing to do yet: put the listener back. [INFO] [stdout] 278 | return Poll::Pending; [INFO] [stdout] 279 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/retry.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn attempts(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/retry.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn attempts(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 90 | pub fn attempts(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 271 | if let Some(next) = &self.next { [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/state.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | } 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] 271 ~ match &self.next { Some(next) => { [INFO] [stdout] 272 | next.bootstrap_progress() [INFO] [stdout] 273 ~ } _ => { [INFO] [stdout] 274 | DirProgress::NoConsensus { after: self.after } [INFO] [stdout] 275 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/state.rs:591:16 [INFO] [stdout] | [INFO] [stdout] 591 | if let Some(cert) = docs.get(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/state.rs:604:13 [INFO] [stdout] | [INFO] [stdout] 604 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 591 ~ match docs.get(id) { Some(cert) => { [INFO] [stdout] 592 | let text = cert.as_str().map_err(Error::BadUtf8InCache)?; [INFO] [stdout] ... [INFO] [stdout] 603 | } [INFO] [stdout] 604 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | if let Ok(bytes) = mapping { [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/storage.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 145 ~ match mapping { Ok(bytes) => { [INFO] [stdout] 146 | return Ok(InputString::MappedBytes { [INFO] [stdout] ... [INFO] [stdout] 149 | }); [INFO] [stdout] 150 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage/sqlite.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 299 | if let Err(e) = self.blob_dir.remove_file(fname) { [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/storage/sqlite.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 299 ~ match self.blob_dir.remove_file(fname) { Err(e) => { [INFO] [stdout] 300 | warn_report!(e, "Unable to remove {}", fname.display_lossy()); [INFO] [stdout] 301 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage/sqlite.rs:423:16 [INFO] [stdout] | [INFO] [stdout] 423 | if let Ok(fname) = fname { [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/storage/sqlite.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 423 ~ match fname { Ok(fname) => { [INFO] [stdout] 424 | let _ignore = std::fs::remove_file(fname); [INFO] [stdout] 425 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage/sqlite.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 465 | if let Some(row) = rows.next()? { [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/storage/sqlite.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | } 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] 465 ~ match rows.next()? { Some(row) => { [INFO] [stdout] 466 | Ok(Some(cmeta_from_row(row)?)) [INFO] [stdout] 467 ~ } _ => { [INFO] [stdout] 468 | Ok(None) [INFO] [stdout] 469 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage/sqlite.rs:495:16 [INFO] [stdout] | [INFO] [stdout] 495 | if let Some(text) = self.read_blob(&fname)? { [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/storage/sqlite.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 495 ~ match self.read_blob(&fname)? { Some(text) => { [INFO] [stdout] 496 | return Ok(Some((text, meta))); [INFO] [stdout] 497 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage/sqlite.rs:579:16 [INFO] [stdout] | [INFO] [stdout] 579 | if let Some(contents) = stmt [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 580 | || .query_row(params![id_digest, sk_digest], |row| row.get::<_, String>(0)) [INFO] [stdout] 581 | || .optional()? [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/storage/sqlite.rs:584:13 [INFO] [stdout] | [INFO] [stdout] 584 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 579 ~ match stmt [INFO] [stdout] 580 | .query_row(params![id_digest, sk_digest], |row| row.get::<_, String>(0)) [INFO] [stdout] 581 | .optional()? [INFO] [stdout] 582 ~ { Some(contents) => { [INFO] [stdout] 583 | result.insert(*ids, contents); [INFO] [stdout] 584 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage/sqlite.rs:613:16 [INFO] [stdout] | [INFO] [stdout] 613 | if let Some(contents) = stmt [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 614 | || .query_row(params![h_digest], |row| row.get::<_, String>(0)) [INFO] [stdout] 615 | || .optional()? [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/storage/sqlite.rs:618:13 [INFO] [stdout] | [INFO] [stdout] 618 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 613 ~ match stmt [INFO] [stdout] 614 | .query_row(params![h_digest], |row| row.get::<_, String>(0)) [INFO] [stdout] 615 | .optional()? [INFO] [stdout] 616 ~ { Some(contents) => { [INFO] [stdout] 617 | result.insert(*md_digest, contents); [INFO] [stdout] 618 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking fedimint-tor-dirmgr v0.20.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/docid.rs:372:60 [INFO] [stdout] | [INFO] [stdout] 372 | let ids: HashSet = (0..3400).map(|_| rng.gen()).collect(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 372 | let ids: HashSet = (0..3400).map(|_| rng.r#gen()).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/docid.rs:392:64 [INFO] [stdout] | [INFO] [stdout] 392 | let ids: HashSet = (0..1001).map(|_| rng.gen()).collect(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 392 | let ids: HashSet = (0..1001).map(|_| rng.r#gen()).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/docid.rs:412:42 [INFO] [stdout] | [INFO] [stdout] 412 | let id_fingerprint = rng.gen::<[u8; 20]>().into(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 412 | let id_fingerprint = rng.r#gen::<[u8; 20]>().into(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/docid.rs:413:42 [INFO] [stdout] | [INFO] [stdout] 413 | let sk_fingerprint = rng.gen::<[u8; 20]>().into(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 413 | let sk_fingerprint = rng.r#gen::<[u8; 20]>().into(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/docid.rs:372:60 [INFO] [stdout] | [INFO] [stdout] 372 | let ids: HashSet = (0..3400).map(|_| rng.gen()).collect(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 372 | let ids: HashSet = (0..3400).map(|_| rng.r#gen()).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/docid.rs:392:64 [INFO] [stdout] | [INFO] [stdout] 392 | let ids: HashSet = (0..1001).map(|_| rng.gen()).collect(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 392 | let ids: HashSet = (0..1001).map(|_| rng.r#gen()).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/docid.rs:412:42 [INFO] [stdout] | [INFO] [stdout] 412 | let id_fingerprint = rng.gen::<[u8; 20]>().into(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 412 | let id_fingerprint = rng.r#gen::<[u8; 20]>().into(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/docid.rs:413:42 [INFO] [stdout] | [INFO] [stdout] 413 | let sk_fingerprint = rng.gen::<[u8; 20]>().into(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 413 | let sk_fingerprint = rng.r#gen::<[u8; 20]>().into(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:1377:78 [INFO] [stdout] | [INFO] [stdout] 1377 | let rd_ids: Vec = (0..1000).map(|_| DocId::RouterDesc(rng.gen())).collect(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1377 | let rd_ids: Vec = (0..1000).map(|_| DocId::RouterDesc(rng.r#gen())).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:1378:77 [INFO] [stdout] | [INFO] [stdout] 1378 | let md_ids: Vec = (0..1000).map(|_| DocId::Microdesc(rng.gen())).collect(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1378 | let md_ids: Vec = (0..1000).map(|_| DocId::Microdesc(rng.r#gen())).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fedimint-tor-dirmgr` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fedimint-tor-dirmgr` (lib test) due to 7 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" "8f6c1936633db086f06ae3644fb0cd8c0262618538606fb15c2f0bfe4ec6abf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f6c1936633db086f06ae3644fb0cd8c0262618538606fb15c2f0bfe4ec6abf9", kill_on_drop: false }` [INFO] [stdout] 8f6c1936633db086f06ae3644fb0cd8c0262618538606fb15c2f0bfe4ec6abf9