[INFO] cloning repository https://github.com/ContainerSolutions/trow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ContainerSolutions/trow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FContainerSolutions%2Ftrow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FContainerSolutions%2Ftrow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e09a0a1e169d4eb67821d778d6b4943e9ea049b5 [INFO] checking ContainerSolutions/trow/e09a0a1e169d4eb67821d778d6b4943e9ea049b5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FContainerSolutions%2Ftrow" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ContainerSolutions/trow 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] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/ContainerSolutions/trow [INFO] finished tweaking git repo https://github.com/ContainerSolutions/trow [INFO] tweaked toml for git repo https://github.com/ContainerSolutions/trow written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ContainerSolutions/trow already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8d866345270a978b01132c057776466d9a013a3d9135bcfaee97021cb512474d [INFO] running `Command { std: "docker" "start" "-a" "8d866345270a978b01132c057776466d9a013a3d9135bcfaee97021cb512474d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d866345270a978b01132c057776466d9a013a3d9135bcfaee97021cb512474d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d866345270a978b01132c057776466d9a013a3d9135bcfaee97021cb512474d", kill_on_drop: false }` [INFO] [stdout] 8d866345270a978b01132c057776466d9a013a3d9135bcfaee97021cb512474d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 9f860b24c2ac420a3d0c84a6a6b3ad15591e97289b5158954e883cc262368752 [INFO] running `Command { std: "docker" "start" "-a" "9f860b24c2ac420a3d0c84a6a6b3ad15591e97289b5158954e883cc262368752", 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 proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling rustversion v1.0.16 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling aws-types v1.2.1 [INFO] [stderr] Compiling rustls v0.23.5 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling k8s-openapi v0.22.0 [INFO] [stderr] Checking regex-lite v0.1.5 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling fs3 v0.5.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking aws-smithy-xml v0.60.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking rust-argon2 v2.1.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking quoted-string v0.6.1 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking environment v0.1.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tracing-test-macro v0.2.4 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.102.3 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking test-temp-dir v0.2.1 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Checking tracing-test v0.2.4 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking aws-smithy-async v1.2.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking deadpool v0.10.0 [INFO] [stderr] Checking aws-smithy-types v1.1.9 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking aws-smithy-runtime-api v1.6.0 [INFO] [stderr] Checking aws-smithy-json v0.60.7 [INFO] [stderr] Checking aws-smithy-query v0.60.7 [INFO] [stderr] Checking json-patch v1.4.0 [INFO] [stderr] Checking jsonpath-rust v0.5.1 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking aws-smithy-http v0.60.8 [INFO] [stderr] Checking aws-credential-types v1.2.0 [INFO] [stderr] Checking aws-sigv4 v1.2.1 [INFO] [stderr] Checking aws-runtime v1.2.2 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-rustls v0.27.1 [INFO] [stderr] Checking hyper-timeout v0.5.1 [INFO] [stderr] Checking hyper-rustls v0.26.0 [INFO] [stderr] Checking axum-server v0.5.1 (https://github.com/programatik29/axum-server.git?rev=134725e#134725e1) [INFO] [stderr] Checking wiremock v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking aws-smithy-runtime v1.5.0 [INFO] [stderr] Checking kube-core v0.91.0 [INFO] [stderr] Checking axum-extra v0.9.3 [INFO] [stderr] Checking aws-sdk-ssooidc v1.25.0 [INFO] [stderr] Checking aws-sdk-sso v1.24.0 [INFO] [stderr] Checking aws-sdk-sts v1.24.0 [INFO] [stderr] Checking aws-sdk-ecr v1.24.0 [INFO] [stderr] Checking kube-client v0.91.0 [INFO] [stderr] Checking aws-config v1.4.0 [INFO] [stderr] Checking kube v0.91.0 [INFO] [stderr] Checking trow v0.6.4 (/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 `trow` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/routes/macros.rs:3:76 [INFO] [stdout] | [INFO] [stdout] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler... [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] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr_2021, $handler2:expr, $handler3:expr, $handler4:expr, $handler5:expr, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/routes/macros.rs:3:92 [INFO] [stdout] | [INFO] [stdout] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler... [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] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr_2021, $handler3:expr, $handler4:expr, $handler5:expr, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/routes/macros.rs:3:108 [INFO] [stdout] | [INFO] [stdout] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler... [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] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr_2021, $handler4:expr, $handler5:expr, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/routes/macros.rs:3:124 [INFO] [stdout] | [INFO] [stdout] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler... [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] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr_2021, $handler5:expr, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/routes/macros.rs [INFO] [stderr] [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/routes/macros.rs:3:140 [INFO] [stdout] | [INFO] [stdout] 3 | ...:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler5:expr, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler5:expr_2021, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/routes/macros.rs:3:156 [INFO] [stdout] | [INFO] [stdout] 3 | ...:expr, $handler3:expr, $handler4:expr, $handler5:expr, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler5:expr, $handler6:expr_2021, $handler7:expr)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/routes/macros.rs:3:172 [INFO] [stdout] | [INFO] [stdout] 3 | ...:expr, $handler4:expr, $handler5:expr, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler5:expr, $handler6:expr, $handler7:expr_2021)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/routes/macros.rs:3:66 [INFO] [stderr] | [INFO] [stderr] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr_2021, $handler2:expr_2021, $handler3:expr_2021, $handler4... [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/routes/macros.rs:3:87 [INFO] [stderr] | [INFO] [stderr] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr_2021, $handler2:expr_2021, $handler3:expr_2021, $handler4... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/routes/extracts.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let scheme = if let Some(proto) = parts.headers.get("X-Forwarded-Proto") { [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/routes/extracts.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | } 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] 24 ~ let scheme = match parts.headers.get("X-Forwarded-Proto") { Some(proto) => { [INFO] [stdout] 25 | proto.to_str().unwrap_or("http") [INFO] [stdout] 26 ~ } _ => { [INFO] [stdout] 27 | if config.uses_tls { [INFO] [stdout] ... [INFO] [stdout] 31 | } [INFO] [stdout] 32 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/registry/server.rs:495:16 [INFO] [stdout] | [INFO] [stdout] 495 | if let Some(cl) = &try_cl { [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/registry/server.rs:520:13 [INFO] [stdout] | [INFO] [stdout] 520 | } [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 &try_cl { Some(cl) => { [INFO] [stdout] 496 | let img_ref_as_digest = Digest::try_from_raw(&remote_image.reference); [INFO] [stdout] ... [INFO] [stdout] 519 | } [INFO] [stdout] 520 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/registry/temporary_file.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | while let Some(chunk) = stream.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/registry/temporary_file.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/routes/macros.rs:3:108 [INFO] [stderr] | [INFO] [stderr] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr_2021, $handler2:expr_2021, $handler3:expr_2021, $handler4... [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/routes/macros.rs:3:129 [INFO] [stderr] | [INFO] [stderr] 3 | ...er1:expr_2021, $handler2:expr_2021, $handler3:expr_2021, $handler4:expr_2021, $handler5:expr_2021, $handler6:expr_2021, $handler7:expr... [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/routes/macros.rs:3:150 [INFO] [stderr] | [INFO] [stderr] 3 | ...er2:expr_2021, $handler3:expr_2021, $handler4:expr_2021, $handler5:expr_2021, $handler6:expr_2021, $handler7:expr_2021)),*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/routes/macros.rs:3:171 [INFO] [stderr] | [INFO] [stderr] 3 | ...er3:expr_2021, $handler4:expr_2021, $handler5:expr_2021, $handler6:expr_2021, $handler7:expr_2021)),*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/routes/macros.rs:3:192 [INFO] [stderr] | [INFO] [stderr] 3 | ...er4:expr_2021, $handler5:expr_2021, $handler6:expr_2021, $handler7: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 7 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Migrating tests/registry_interface.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `trow` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/routes/macros.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/routes/macros.rs:3:66 [INFO] [stderr] | [INFO] [stderr] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr_2021, $handler2:expr_2021, $handler3:expr_2021, $handler4... [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/routes/macros.rs:3:87 [INFO] [stderr] | [INFO] [stderr] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr_2021, $handler2:expr_2021, $handler3:expr_2021, $handler4... [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/routes/macros.rs:3:108 [INFO] [stderr] | [INFO] [stderr] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr_2021, $handler2:expr_2021, $handler3:expr_2021, $handler4... [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/routes/macros.rs:3:129 [INFO] [stderr] | [INFO] [stderr] 3 | ...er1:expr_2021, $handler2:expr_2021, $handler3:expr_2021, $handler4:expr_2021, $handler5:expr_2021, $handler6:expr_2021, $handler7:expr... [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/routes/macros.rs:3:150 [INFO] [stderr] | [INFO] [stderr] 3 | ...er2:expr_2021, $handler3:expr_2021, $handler4:expr_2021, $handler5:expr_2021, $handler6:expr_2021, $handler7:expr_2021)),*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/routes/macros.rs:3:171 [INFO] [stderr] | [INFO] [stderr] 3 | ...er3:expr_2021, $handler4:expr_2021, $handler5:expr_2021, $handler6:expr_2021, $handler7:expr_2021)),*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/routes/macros.rs:3:192 [INFO] [stderr] | [INFO] [stderr] 3 | ...er4:expr_2021, $handler5:expr_2021, $handler6:expr_2021, $handler7: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 7 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/routes/macros.rs:3:76 [INFO] [stdout] | [INFO] [stdout] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler... [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] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr_2021, $handler2:expr, $handler3:expr, $handler4:expr, $handler5:expr, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/routes/macros.rs:3:92 [INFO] [stdout] | [INFO] [stdout] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler... [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] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr_2021, $handler3:expr, $handler4:expr, $handler5:expr, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/routes/macros.rs:3:108 [INFO] [stdout] | [INFO] [stdout] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler... [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] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr_2021, $handler4:expr, $handler5:expr, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/routes/macros.rs:3:124 [INFO] [stdout] | [INFO] [stdout] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler... [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] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr_2021, $handler5:expr, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/routes/macros.rs:3:140 [INFO] [stdout] | [INFO] [stdout] 3 | ...:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler5:expr, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler5:expr_2021, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/routes/macros.rs:3:156 [INFO] [stdout] | [INFO] [stdout] 3 | ...:expr, $handler3:expr, $handler4:expr, $handler5:expr, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler5:expr, $handler6:expr_2021, $handler7:expr)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/routes/macros.rs:3:172 [INFO] [stdout] | [INFO] [stdout] 3 | ...:expr, $handler4:expr, $handler5:expr, $handler6:expr, $handler7:expr)),*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($app:ident, $prefix:literal $route:literal, $($method:ident($handler1:expr, $handler2:expr, $handler3:expr, $handler4:expr, $handler5:expr, $handler6:expr, $handler7:expr_2021)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/routes/extracts.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let scheme = if let Some(proto) = parts.headers.get("X-Forwarded-Proto") { [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/routes/extracts.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | } 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] 24 ~ let scheme = match parts.headers.get("X-Forwarded-Proto") { Some(proto) => { [INFO] [stdout] 25 | proto.to_str().unwrap_or("http") [INFO] [stdout] 26 ~ } _ => { [INFO] [stdout] 27 | if config.uses_tls { [INFO] [stdout] ... [INFO] [stdout] 31 | } [INFO] [stdout] 32 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/registry/image.rs:250:16 [INFO] [stdout] | [INFO] [stdout] 250 | if let Ok(img) = ret { [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/registry/image.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 250 ~ match ret { Ok(img) => { [INFO] [stdout] 251 | panic!("Invalid image ref `{}` parsed as `{}`", i, img); [INFO] [stdout] 252 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/registry/server.rs:495:16 [INFO] [stdout] | [INFO] [stdout] 495 | if let Some(cl) = &try_cl { [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/registry/server.rs:520:13 [INFO] [stdout] | [INFO] [stdout] 520 | } [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 &try_cl { Some(cl) => { [INFO] [stdout] 496 | let img_ref_as_digest = Digest::try_from_raw(&remote_image.reference); [INFO] [stdout] ... [INFO] [stdout] 519 | } [INFO] [stdout] 520 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/registry/temporary_file.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | while let Some(chunk) = stream.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/registry/temporary_file.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed tests/common/mod.rs (1 fix) [INFO] [stderr] Migrating tests/proxy_registry.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/admission_mutation.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/admission_validation.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stderr] Migrating tests/authentication.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/cli.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/manifest_history.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/cors.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/no-cors.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/smoke-test.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.22s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking trow v0.6.4 (/tmp/fixit) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `digest` [INFO] [stdout] --> src/routes/blob.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 43 | match state.registry.get_blob(&one, &digest).await { [INFO] [stdout] | ------- `digest` is borrowed here [INFO] [stdout] 44 | Ok(r) => Ok(r), [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 variable `digest` [INFO] [stdout] --> src/routes/blob.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 43 | match state.registry.get_blob(&one, &digest).await { [INFO] [stdout] | ------- `digest` is borrowed here [INFO] [stdout] 44 | Ok(r) => Ok(r), [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 variable `one` [INFO] [stdout] --> src/routes/blob.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 43 | match state.registry.get_blob(&one, &digest).await { [INFO] [stdout] | ---- `one` is borrowed here [INFO] [stdout] 44 | Ok(r) => Ok(r), [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 variable `one` [INFO] [stdout] --> src/routes/blob.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 43 | match state.registry.get_blob(&one, &digest).await { [INFO] [stdout] | ---- `one` is borrowed here [INFO] [stdout] 44 | Ok(r) => Ok(r), [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 variable `state` [INFO] [stdout] --> src/routes/blob.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 43 | match state.registry.get_blob(&one, &digest).await { [INFO] [stdout] | ----- `state` is borrowed here [INFO] [stdout] 44 | Ok(r) => Ok(r), [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 variable `state` [INFO] [stdout] --> src/routes/blob.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 43 | match state.registry.get_blob(&one, &digest).await { [INFO] [stdout] | ----- `state` is borrowed here [INFO] [stdout] 44 | Ok(r) => Ok(r), [INFO] [stdout] | ^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trow` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trow` (lib test) due to 4 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" "9f860b24c2ac420a3d0c84a6a6b3ad15591e97289b5158954e883cc262368752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f860b24c2ac420a3d0c84a6a6b3ad15591e97289b5158954e883cc262368752", kill_on_drop: false }` [INFO] [stdout] 9f860b24c2ac420a3d0c84a6a6b3ad15591e97289b5158954e883cc262368752