[INFO] fetching crate filigree 0.4.1... [INFO] checking filigree-0.4.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate filigree 0.4.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate filigree 0.4.1 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 filigree 0.4.1 [INFO] finished tweaking crates.io crate filigree 0.4.1 [INFO] tweaked toml for crates.io crate filigree 0.4.1 written to /workspace/builds/worker-1-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 476 packages to latest compatible versions [INFO] [stderr] Adding axum v0.6.20 (available: v0.7.6) [INFO] [stderr] Adding axum-core v0.3.4 (available: v0.4.4) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding chrono-tz v0.9.0 (available: v0.10.0) [INFO] [stderr] Adding chrono-tz-build v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding cookie v0.17.0 (available: v0.18.1) [INFO] [stderr] Adding cookie_store v0.20.0 (available: v0.21.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding css-inline v0.12.0 (available: v0.14.1) [INFO] [stderr] Adding cssparser v0.31.2 (available: v0.34.0) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding fancy-regex v0.11.0 (available: v0.13.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 fraction v0.13.1 (available: v0.15.3) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding html5ever v0.26.0 (available: v0.29.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding hyper-rustls v0.24.2 (available: v0.27.3) [INFO] [stderr] Adding hyper-timeout v0.4.1 (available: v0.5.1) [INFO] [stderr] Adding hyper-tls v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding idna v0.3.0 (available: v1.0.2) [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 inotify v0.9.6 (available: v0.11.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding jsonschema v0.17.1 (available: v0.20.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding markup5ever v0.11.0 (available: v0.14.0) [INFO] [stderr] Adding matchers v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding matchit v0.7.3 (available: v0.8.4) [INFO] [stderr] Adding mio v0.8.11 (available: v1.0.2) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding object_store v0.9.1 (available: v0.11.0) [INFO] [stderr] Adding opentelemetry v0.21.0 (available: v0.25.0) [INFO] [stderr] Adding opentelemetry-otlp v0.14.0 (available: v0.25.0) [INFO] [stderr] Adding opentelemetry-proto v0.4.0 (available: v0.25.0) [INFO] [stderr] Adding opentelemetry-semantic-conventions v0.13.0 (available: v0.25.0) [INFO] [stderr] Adding opentelemetry_sdk v0.21.2 (available: v0.25.0) [INFO] [stderr] Adding phf v0.10.1 (available: v0.11.2) [INFO] [stderr] Adding phf_codegen v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding phf_generator v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding phf_shared v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding prost v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding prost-derive v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding quick-xml v0.31.0 (available: v0.36.2) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.7) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding rustls v0.21.12 (available: v0.23.13) [INFO] [stderr] Adding rustls-native-certs v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (available: v2.1.3) [INFO] [stderr] Adding rustls-webpki v0.101.7 (available: v0.102.8) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding sentry v0.32.3 (available: v0.34.0) [INFO] [stderr] Adding sentry-backtrace v0.32.3 (available: v0.34.0) [INFO] [stderr] Adding sentry-contexts v0.32.3 (available: v0.34.0) [INFO] [stderr] Adding sentry-core v0.32.3 (available: v0.34.0) [INFO] [stderr] Adding sentry-debug-images v0.32.3 (available: v0.34.0) [INFO] [stderr] Adding sentry-panic v0.32.3 (available: v0.34.0) [INFO] [stderr] Adding sentry-tracing v0.32.3 (available: v0.34.0) [INFO] [stderr] Adding sentry-types v0.32.3 (available: v0.34.0) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding snafu v0.7.5 (available: v0.8.5) [INFO] [stderr] Adding snafu-derive v0.7.5 (available: v0.8.5) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding system-configuration v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding tokio-rustls v0.24.1 (available: v0.26.0) [INFO] [stderr] Adding tonic v0.9.2 (available: v0.12.2) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.1) [INFO] [stderr] Adding tower-http v0.5.2 (available: v0.6.1) [INFO] [stderr] Adding tracing-opentelemetry v0.22.0 (available: v0.26.0) [INFO] [stderr] Adding typed-builder v0.18.2 (available: v0.20.0) [INFO] [stderr] Adding typed-builder-macro v0.18.2 (available: v0.20.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding web-time v0.2.4 (available: v1.1.0) [INFO] [stderr] Adding webpki-roots v0.25.4 (available: v0.26.6) [INFO] [stderr] Adding windows v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-registry v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding windows-strings v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winreg v0.50.0 (available: v0.52.0) [INFO] 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c397033948fe6c254bdf20897c4616935e324a3d530d592a0cd8fb39f4c9d4f5 [INFO] running `Command { std: "docker" "start" "-a" "c397033948fe6c254bdf20897c4616935e324a3d530d592a0cd8fb39f4c9d4f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c397033948fe6c254bdf20897c4616935e324a3d530d592a0cd8fb39f4c9d4f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c397033948fe6c254bdf20897c4616935e324a3d530d592a0cd8fb39f4c9d4f5", kill_on_drop: false }` [INFO] [stdout] c397033948fe6c254bdf20897c4616935e324a3d530d592a0cd8fb39f4c9d4f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 42093ea5f1a263580574e41ed35d0ce522fcb4c596f41fc1a8057c296bfe5cd1 [INFO] running `Command { std: "docker" "start" "-a" "42093ea5f1a263580574e41ed35d0ce522fcb4c596f41fc1a8057c296bfe5cd1", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking opentelemetry v0.21.0 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking axum-core v0.4.4 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking ordered-float v4.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking opentelemetry_sdk v0.21.2 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking cookie_store v0.20.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking tower v0.5.1 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Checking axum v0.7.6 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Checking tonic v0.9.2 [INFO] [stderr] Compiling error-stack v0.5.0 [INFO] [stderr] Checking fancy-regex v0.11.0 [INFO] [stderr] Checking fraction v0.13.1 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking iso8601 v0.6.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking jsonschema v0.17.1 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking opentelemetry-proto v0.4.0 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking opentelemetry-semantic-conventions v0.13.0 [INFO] [stderr] Checking serde_html_form v0.2.6 [INFO] [stderr] Checking quick-xml v0.31.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling typed-builder-macro v0.18.2 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking iri-string v0.7.5 [INFO] [stderr] Compiling filigree v0.4.1 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking http-range-header v0.4.1 [INFO] [stderr] Checking css-inline v0.12.0 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking oauth2 v4.4.2 [INFO] [stderr] Checking sqlx v0.8.2 [INFO] [stderr] Checking axum-extra v0.9.4 [INFO] [stderr] Checking rust-embed v8.5.0 [INFO] [stderr] Checking object_store v0.9.1 [INFO] [stderr] Checking opentelemetry-otlp v0.14.0 [INFO] [stderr] Checking tower-cookies v0.10.0 [INFO] [stderr] Checking typed-builder v0.18.2 [INFO] [stderr] Checking axum-jsonschema v0.8.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking tracing-opentelemetry v0.22.0 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `filigree` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/auth/mod.rs [INFO] [stderr] * src/errors/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/errors/mod.rs:82:20 [INFO] [stderr] | [INFO] [stderr] 82 | ($frame:ident, $func:expr_2021, $error_type:ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/errors/mod.rs:86:20 [INFO] [stderr] | [INFO] [stderr] 86 | ($frame:ident, $func:expr_2021, $error_type:ty, $($more_error_type:ty),+) => { [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] warning: unused variable: `user` [INFO] [stderr] --> src/auth/mod.rs:219:9 [INFO] [stderr] | [INFO] [stderr] 219 | user: UserId, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parts` [INFO] [stderr] --> src/auth/mod.rs:228:9 [INFO] [stderr] | [INFO] [stderr] 228 | parts: &Parts, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 2 warnings emitted [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/object_id.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | fn json_schema(gen: &mut schemars::gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/object_id.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | fn json_schema(gen: &mut schemars::gen::SchemaGenerator) -> schemars::schema::Schema { [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/object_id.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | String::json_schema(gen) [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/requests/json_schema.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | gen::{SchemaGenerator, SchemaSettings}, [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/errors/mod.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | ($frame:ident, $func:expr, $error_type:ty) => { [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] 82 | ($frame:ident, $func:expr_2021, $error_type:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/errors/mod.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | ($frame:ident, $func:expr, $error_type:ty, $($more_error_type:ty),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 86 | ($frame:ident, $func:expr_2021, $error_type:ty, $($more_error_type:ty),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/auth/mod.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | user: UserId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/auth/mod.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | parts: &Parts, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/error_stack.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | while let Some(frame) = self.parent.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/error_stack.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/errors/http_error.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | obfuscate = if let Some(form) = form { [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/errors/http_error.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | } 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] 53 ~ obfuscate = match form { Some(form) => { [INFO] [stdout] 54 | obfuscate.with_form(form) [INFO] [stdout] 55 ~ } _ => { [INFO] [stdout] 56 | obfuscate [INFO] [stdout] 57 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/errors/panic_handler.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | let details = if let Some(s) = err.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 22 | s.clone() [INFO] [stdout] 23 | } else if let Some(s) = err.downcast_ref::<&str>() { [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/errors/panic_handler.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | } else if let Some(s) = err.downcast_ref::<&str>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/errors/panic_handler.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | } 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] 21 ~ let details = match err.downcast_ref::() { Some(s) => { [INFO] [stdout] 22 | s.clone() [INFO] [stdout] 23 ~ } _ => { match err.downcast_ref::<&str>() { Some(s) => { [INFO] [stdout] 24 | s.to_string() [INFO] [stdout] 25 ~ } _ => { [INFO] [stdout] 26 | "Unknown panic message".to_string() [INFO] [stdout] 27 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/requests/file.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | while let Some(el) = seq.next_element::()? { [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/requests/file.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/requests/json_schema.rs:448:27 [INFO] [stdout] | [INFO] [stdout] 448 | } else if let Some(array) = o.array.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/requests/json_schema.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | } 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] 448 ~ } else { match o.array.as_ref() { Some(array) => { [INFO] [stdout] 449 | let ct = array [INFO] [stdout] ... [INFO] [stdout] 454 | Some(ct) [INFO] [stdout] 455 ~ } _ => { [INFO] [stdout] 456 | None [INFO] [stdout] 457 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/requests/multipart.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | } else if let Some(name) = field.name() { [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/requests/multipart.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | } 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] 40 ~ } else { match field.name() { Some(name) => { [INFO] [stdout] 41 | let name = name.to_string(); [INFO] [stdout] 42 | let data = field.text().await?; [INFO] [stdout] 43 | MultipartField::Data(name, data) [INFO] [stdout] 44 ~ } _ => { [INFO] [stdout] 45 | // If it doesn't have a filename or a name, it's probably a weird submission of a file. [INFO] [stdout] 46 | // Let the caller figure out if that's valid or not in this case. [INFO] [stdout] 47 | MultipartField::File(field) [INFO] [stdout] 48 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/requests/multipart.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | while let Some(field) = processor.next_file().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/requests/multipart.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/requests/multipart.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | while let Some(field) = self.multipart.next_field().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/requests/multipart.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/requests/multipart.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | while let Some(field) = self.multipart.next_field().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/requests/multipart.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/requests/multipart.rs:309:15 [INFO] [stdout] | [INFO] [stdout] 309 | while let Some(file) = processor.next_file().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/requests/multipart.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/route_services.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some(addr) = addr { [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/route_services.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 73 ~ match addr { Some(addr) => { [INFO] [stdout] 74 | parts.headers.insert("x-forwarded-for", addr); [INFO] [stdout] 75 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | while let Some(bytes) = stream.try_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/storage.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:305:15 [INFO] [stdout] | [INFO] [stdout] 305 | while let Some(chunk) = stream.try_next().await.map_err(E::from)? { [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:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/testing.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | if let Err(e) = self.error_for_status_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/testing.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } 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] 107 ~ match self.error_for_status_ref() { Err(e) => { [INFO] [stdout] 108 | let status = self.status().as_u16(); [INFO] [stdout] ... [INFO] [stdout] 112 | Err(e) [INFO] [stdout] 113 ~ } _ => { [INFO] [stdout] 114 | Ok(self) [INFO] [stdout] 115 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `filigree` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/auth/mod.rs [INFO] [stderr] * src/errors/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/errors/mod.rs:82:20 [INFO] [stderr] | [INFO] [stderr] 82 | ($frame:ident, $func:expr_2021, $error_type:ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/errors/mod.rs:86:20 [INFO] [stderr] | [INFO] [stderr] 86 | ($frame:ident, $func:expr_2021, $error_type:ty, $($more_error_type:ty),+) => { [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] warning: unused variable: `user` [INFO] [stderr] --> src/auth/mod.rs:219:9 [INFO] [stderr] | [INFO] [stderr] 219 | user: UserId, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parts` [INFO] [stderr] --> src/auth/mod.rs:228:9 [INFO] [stderr] | [INFO] [stderr] 228 | parts: &Parts, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 2 warnings emitted [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/object_id.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | fn json_schema(gen: &mut schemars::gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/object_id.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | fn json_schema(gen: &mut schemars::gen::SchemaGenerator) -> schemars::schema::Schema { [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/object_id.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | String::json_schema(gen) [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/requests/json_schema.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | gen::{SchemaGenerator, SchemaSettings}, [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/errors/mod.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | ($frame:ident, $func:expr, $error_type:ty) => { [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] 82 | ($frame:ident, $func:expr_2021, $error_type:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/errors/mod.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | ($frame:ident, $func:expr, $error_type:ty, $($more_error_type:ty),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 86 | ($frame:ident, $func:expr_2021, $error_type:ty, $($more_error_type:ty),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/auth/mod.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | user: UserId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/auth/mod.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | parts: &Parts, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/error_stack.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | while let Some(frame) = self.parent.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/error_stack.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/errors/http_error.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | obfuscate = if let Some(form) = form { [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/errors/http_error.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | } 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] 53 ~ obfuscate = match form { Some(form) => { [INFO] [stdout] 54 | obfuscate.with_form(form) [INFO] [stdout] 55 ~ } _ => { [INFO] [stdout] 56 | obfuscate [INFO] [stdout] 57 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/errors/panic_handler.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | let details = if let Some(s) = err.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 22 | s.clone() [INFO] [stdout] 23 | } else if let Some(s) = err.downcast_ref::<&str>() { [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/errors/panic_handler.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | } else if let Some(s) = err.downcast_ref::<&str>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/errors/panic_handler.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | } 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] 21 ~ let details = match err.downcast_ref::() { Some(s) => { [INFO] [stdout] 22 | s.clone() [INFO] [stdout] 23 ~ } _ => { match err.downcast_ref::<&str>() { Some(s) => { [INFO] [stdout] 24 | s.to_string() [INFO] [stdout] 25 ~ } _ => { [INFO] [stdout] 26 | "Unknown panic message".to_string() [INFO] [stdout] 27 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/requests/file.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | while let Some(el) = seq.next_element::()? { [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/requests/file.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/requests/json_schema.rs:448:27 [INFO] [stdout] | [INFO] [stdout] 448 | } else if let Some(array) = o.array.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/requests/json_schema.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | } 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] 448 ~ } else { match o.array.as_ref() { Some(array) => { [INFO] [stdout] 449 | let ct = array [INFO] [stdout] ... [INFO] [stdout] 454 | Some(ct) [INFO] [stdout] 455 ~ } _ => { [INFO] [stdout] 456 | None [INFO] [stdout] 457 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/requests/multipart.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | } else if let Some(name) = field.name() { [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/requests/multipart.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | } 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] 40 ~ } else { match field.name() { Some(name) => { [INFO] [stdout] 41 | let name = name.to_string(); [INFO] [stdout] 42 | let data = field.text().await?; [INFO] [stdout] 43 | MultipartField::Data(name, data) [INFO] [stdout] 44 ~ } _ => { [INFO] [stdout] 45 | // If it doesn't have a filename or a name, it's probably a weird submission of a file. [INFO] [stdout] 46 | // Let the caller figure out if that's valid or not in this case. [INFO] [stdout] 47 | MultipartField::File(field) [INFO] [stdout] 48 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/requests/multipart.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | while let Some(field) = processor.next_file().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/requests/multipart.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/requests/multipart.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | while let Some(field) = self.multipart.next_field().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/requests/multipart.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/requests/multipart.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | while let Some(field) = self.multipart.next_field().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/requests/multipart.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/route_services.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some(addr) = addr { [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/route_services.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 73 ~ match addr { Some(addr) => { [INFO] [stdout] 74 | parts.headers.insert("x-forwarded-for", addr); [INFO] [stdout] 75 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | while let Some(bytes) = stream.try_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/storage.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:305:15 [INFO] [stdout] | [INFO] [stdout] 305 | while let Some(chunk) = stream.try_next().await.map_err(E::from)? { [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:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/testing.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | if let Err(e) = self.error_for_status_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/testing.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } 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] 107 ~ match self.error_for_status_ref() { Err(e) => { [INFO] [stdout] 108 | let status = self.status().as_u16(); [INFO] [stdout] ... [INFO] [stdout] 112 | Err(e) [INFO] [stdout] 113 ~ } _ => { [INFO] [stdout] 114 | Ok(self) [INFO] [stdout] 115 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.15s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling filigree v0.4.1 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/object_id.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | fn json_schema(gen: &mut schemars::gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 64 | fn json_schema(r#gen: &mut schemars::gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/object_id.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | fn json_schema(gen: &mut schemars::gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 64 | fn json_schema(r#gen: &mut schemars::gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/object_id.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | fn json_schema(gen: &mut schemars::gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 64 | fn json_schema(gen: &mut schemars::r#gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/object_id.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | fn json_schema(gen: &mut schemars::gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 64 | fn json_schema(gen: &mut schemars::r#gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/object_id.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | String::json_schema(gen) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/object_id.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | String::json_schema(gen) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/requests/json_schema.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | gen::{SchemaGenerator, SchemaSettings}, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 15 | r#gen::{SchemaGenerator, SchemaSettings}, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/requests/json_schema.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | gen::{SchemaGenerator, SchemaSettings}, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 15 | r#gen::{SchemaGenerator, SchemaSettings}, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `state` [INFO] [stdout] --> src/auth/oauth/endpoints.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | start_oauth_login(&state, &cookies, &provider_name, None, None) [INFO] [stdout] | ^ ------ `state` is borrowed here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 24 | | .await [INFO] [stdout] 25 | | .map_err(WrapReport::from) [INFO] [stdout] | |__________________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `cookies` [INFO] [stdout] --> src/auth/oauth/endpoints.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | start_oauth_login(&state, &cookies, &provider_name, None, None) [INFO] [stdout] | ^ -------- `cookies` is borrowed here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 24 | | .await [INFO] [stdout] 25 | | .map_err(WrapReport::from) [INFO] [stdout] | |__________________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `provider_name` [INFO] [stdout] --> src/auth/oauth/endpoints.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | start_oauth_login(&state, &cookies, &provider_name, None, None) [INFO] [stdout] | ^ -------------- `provider_name` is borrowed here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 24 | | .await [INFO] [stdout] 25 | | .map_err(WrapReport::from) [INFO] [stdout] | |__________________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `state` [INFO] [stdout] --> src/auth/oauth/endpoints.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | start_oauth_login(&state, &cookies, &provider_name, None, None) [INFO] [stdout] | ^ ------ `state` is borrowed here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 24 | | .await [INFO] [stdout] 25 | | .map_err(WrapReport::from) [INFO] [stdout] | |__________________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `cookies` [INFO] [stdout] --> src/auth/oauth/endpoints.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | start_oauth_login(&state, &cookies, &provider_name, None, None) [INFO] [stdout] | ^ -------- `cookies` is borrowed here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 24 | | .await [INFO] [stdout] 25 | | .map_err(WrapReport::from) [INFO] [stdout] | |__________________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `provider_name` [INFO] [stdout] --> src/auth/oauth/endpoints.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | start_oauth_login(&state, &cookies, &provider_name, None, None) [INFO] [stdout] | ^ -------------- `provider_name` is borrowed here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 24 | | .await [INFO] [stdout] 25 | | .map_err(WrapReport::from) [INFO] [stdout] | |__________________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/auth/mod.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | user: UserId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/auth/mod.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | parts: &Parts, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/auth/mod.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | user: UserId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/auth/mod.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | parts: &Parts, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `filigree` (lib) due to 8 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `filigree` (lib test) due to 8 previous errors; 2 warnings emitted [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" "42093ea5f1a263580574e41ed35d0ce522fcb4c596f41fc1a8057c296bfe5cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42093ea5f1a263580574e41ed35d0ce522fcb4c596f41fc1a8057c296bfe5cd1", kill_on_drop: false }` [INFO] [stdout] 42093ea5f1a263580574e41ed35d0ce522fcb4c596f41fc1a8057c296bfe5cd1