[INFO] cloning repository https://github.com/ajaxbits/yt-pod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ajaxbits/yt-pod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajaxbits%2Fyt-pod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajaxbits%2Fyt-pod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bc8c3d8fd1804794819fd79a42da4d556f41781 [INFO] checking ajaxbits/yt-pod/8bc8c3d8fd1804794819fd79a42da4d556f41781 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajaxbits%2Fyt-pod" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ajaxbits/yt-pod on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ajaxbits/yt-pod [INFO] finished tweaking git repo https://github.com/ajaxbits/yt-pod [INFO] tweaked toml for git repo https://github.com/ajaxbits/yt-pod written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ajaxbits/yt-pod 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85d239ae49f4ad39b9c831ce60524d98e99f96fff529b7711a8996e810601b75 [INFO] running `Command { std: "docker" "start" "-a" "85d239ae49f4ad39b9c831ce60524d98e99f96fff529b7711a8996e810601b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85d239ae49f4ad39b9c831ce60524d98e99f96fff529b7711a8996e810601b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d239ae49f4ad39b9c831ce60524d98e99f96fff529b7711a8996e810601b75", kill_on_drop: false }` [INFO] [stdout] 85d239ae49f4ad39b9c831ce60524d98e99f96fff529b7711a8996e810601b75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 704b1defea5f051578fc5f4ea4078bdfac3865df19a110cb3def4e185f36953b [INFO] running `Command { std: "docker" "start" "-a" "704b1defea5f051578fc5f4ea4078bdfac3865df19a110cb3def4e185f36953b", 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.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking dtoa-short v0.3.4 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking quick-xml v0.30.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking xml-rs v0.8.20 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking diligent-date-parser v0.1.4 [INFO] [stderr] Checking atom_syndication v0.12.2 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking http-range-header v0.4.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking ytd-rs v0.1.7 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking rss v2.0.7 [INFO] [stderr] Checking scraper v0.13.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking yt-feed-xml v0.2.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking vpod v0.0.3 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `vpod` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/feed/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: expected identifier, found keyword `use` [INFO] [stderr] --> src/feed/mod.rs:63:33 [INFO] [stderr] | [INFO] [stderr] 63 | ) -> Result> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gen_rss` in this scope [INFO] [stderr] --> src/feed/mod.rs:47:16 [INFO] [stderr] | [INFO] [stderr] 47 | Ok(gen_rss(&pl_id, FeedType::Playlist, _request).await?) [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gen_rss` in this scope [INFO] [stderr] --> src/feed/mod.rs:53:16 [INFO] [stderr] | [INFO] [stderr] 53 | Ok(gen_rss(&channel_id, FeedType::Channel, _request).await?) [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/feed/mod.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[tracing::instrument] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: IntoResponse` will fail [INFO] [stderr] --> src/feed/mod.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `--force-warn dependency-on-unit-never-type-fallback` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] = note: this warning originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `impl __tracing_subscriber_Layer` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cli/instrumentation.rs:96:50 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn fmt_layer_compact(&self) -> impl Layer [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cli/instrumentation.rs:96:40 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn fmt_layer_compact(&self) -> impl Layer [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn fmt_layer_compact(&self) -> impl Layer + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl __tracing_subscriber_Layer` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cli/instrumentation.rs:112:47 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn fmt_layer_full(&self) -> impl Layer [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cli/instrumentation.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn fmt_layer_full(&self) -> impl Layer [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn fmt_layer_full(&self) -> impl Layer + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl __tracing_subscriber_Layer` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cli/instrumentation.rs:121:49 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) fn fmt_layer_pretty(&self) -> impl Layer [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cli/instrumentation.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) fn fmt_layer_pretty(&self) -> impl Layer [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) fn fmt_layer_pretty(&self) -> impl Layer + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl __tracing_subscriber_Layer` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cli/instrumentation.rs:131:47 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn fmt_layer_json(&self) -> impl Layer [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cli/instrumentation.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn fmt_layer_json(&self) -> impl Layer [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn fmt_layer_json(&self) -> impl Layer + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/error.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(e) = e.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] | [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.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | } 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] 31 ~ match e.downcast_ref::() { Some(e) => { [INFO] [stdout] 32 | return e.response(); [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | ( [INFO] [stdout] ... [INFO] [stdout] 38 | .into_response() [INFO] [stdout] 39 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl IntoResponse` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/feed/mod.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/feed/mod.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | feed_id: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 63 | ) -> Result> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `vpod` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/feed/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: expected identifier, found keyword `use` [INFO] [stderr] --> src/feed/mod.rs:63:33 [INFO] [stderr] | [INFO] [stderr] 63 | ) -> Result> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gen_rss` in this scope [INFO] [stderr] --> src/feed/mod.rs:47:16 [INFO] [stderr] | [INFO] [stderr] 47 | Ok(gen_rss(&pl_id, FeedType::Playlist, _request).await?) [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gen_rss` in this scope [INFO] [stderr] --> src/feed/mod.rs:53:16 [INFO] [stderr] | [INFO] [stderr] 53 | Ok(gen_rss(&channel_id, FeedType::Channel, _request).await?) [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/feed/mod.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[tracing::instrument] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: IntoResponse` will fail [INFO] [stderr] --> src/feed/mod.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `--force-warn dependency-on-unit-never-type-fallback` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] = note: this warning originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `impl __tracing_subscriber_Layer` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cli/instrumentation.rs:96:50 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn fmt_layer_compact(&self) -> impl Layer [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cli/instrumentation.rs:96:40 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn fmt_layer_compact(&self) -> impl Layer [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn fmt_layer_compact(&self) -> impl Layer + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl __tracing_subscriber_Layer` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cli/instrumentation.rs:112:47 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn fmt_layer_full(&self) -> impl Layer [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cli/instrumentation.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn fmt_layer_full(&self) -> impl Layer [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn fmt_layer_full(&self) -> impl Layer + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl __tracing_subscriber_Layer` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cli/instrumentation.rs:121:49 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) fn fmt_layer_pretty(&self) -> impl Layer [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cli/instrumentation.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) fn fmt_layer_pretty(&self) -> impl Layer [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) fn fmt_layer_pretty(&self) -> impl Layer + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl __tracing_subscriber_Layer` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cli/instrumentation.rs:131:47 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn fmt_layer_json(&self) -> impl Layer [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cli/instrumentation.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn fmt_layer_json(&self) -> impl Layer [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn fmt_layer_json(&self) -> impl Layer + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/error.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(e) = e.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] | [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.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | } 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] 31 ~ match e.downcast_ref::() { Some(e) => { [INFO] [stdout] 32 | return e.response(); [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | ( [INFO] [stdout] ... [INFO] [stdout] 38 | .into_response() [INFO] [stdout] 39 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl IntoResponse` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/feed/mod.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/feed/mod.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | feed_id: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 63 | ) -> Result> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.97s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking vpod v0.0.3 (/tmp/fixit) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `pl_id` [INFO] [stdout] --> src/feed/mod.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(gen_rss(&pl_id, FeedType::Playlist, _request).await?) [INFO] [stdout] | ^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `pl_id` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/feed/mod.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(gen_rss(&pl_id, FeedType::Playlist, _request).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 63 | ) -> Result> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `pl_id` [INFO] [stdout] --> src/feed/mod.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(gen_rss(&pl_id, FeedType::Playlist, _request).await?) [INFO] [stdout] | ^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `pl_id` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/feed/mod.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(gen_rss(&pl_id, FeedType::Playlist, _request).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 63 | ) -> Result> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `channel_id` [INFO] [stdout] --> src/feed/mod.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | Ok(gen_rss(&channel_id, FeedType::Channel, _request).await?) [INFO] [stdout] | ^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `channel_id` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/feed/mod.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | Ok(gen_rss(&channel_id, FeedType::Channel, _request).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 63 | ) -> Result> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `channel_id` [INFO] [stdout] --> src/feed/mod.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | Ok(gen_rss(&channel_id, FeedType::Channel, _request).await?) [INFO] [stdout] | ^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `channel_id` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/feed/mod.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | Ok(gen_rss(&channel_id, FeedType::Channel, _request).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 63 | ) -> Result> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vpod` (bin "vpod") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `vpod` (bin "vpod" test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "704b1defea5f051578fc5f4ea4078bdfac3865df19a110cb3def4e185f36953b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "704b1defea5f051578fc5f4ea4078bdfac3865df19a110cb3def4e185f36953b", kill_on_drop: false }` [INFO] [stdout] 704b1defea5f051578fc5f4ea4078bdfac3865df19a110cb3def4e185f36953b