[INFO] fetching crate openapi-tui 0.9.4... [INFO] checking openapi-tui-0.9.4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate openapi-tui 0.9.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate openapi-tui 0.9.4 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/rust-toolchain.toml [INFO] started tweaking crates.io crate openapi-tui 0.9.4 [INFO] finished tweaking crates.io crate openapi-tui 0.9.4 [INFO] tweaked toml for crates.io crate openapi-tui 0.9.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate openapi-tui 0.9.4 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] 53f55587e7f2da7ec0ce4a8e3c09abb11fb8a259cbb2b098c049adcecadac06f [INFO] running `Command { std: "docker" "start" "-a" "53f55587e7f2da7ec0ce4a8e3c09abb11fb8a259cbb2b098c049adcecadac06f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53f55587e7f2da7ec0ce4a8e3c09abb11fb8a259cbb2b098c049adcecadac06f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53f55587e7f2da7ec0ce4a8e3c09abb11fb8a259cbb2b098c049adcecadac06f", kill_on_drop: false }` [INFO] [stdout] 53f55587e7f2da7ec0ce4a8e3c09abb11fb8a259cbb2b098c049adcecadac06f [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] aa13be1e85efc64a20bb9092f873ea63e8c340667783e667585158287594bbe3 [INFO] running `Command { std: "docker" "start" "-a" "aa13be1e85efc64a20bb9092f873ea63e8c340667783e667585158287594bbe3", 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.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling vergen-lib v0.1.3 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling vergen v9.0.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling vergen-git2 v1.0.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking winnow v0.6.16 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking custom_error v1.9.2 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Compiling derive_deref v1.1.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking tokio v1.39.1 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking better-panic v0.3.0 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking toml_datetime v0.6.7 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking plist v1.7.0 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking toml_edit v0.22.17 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking os_info v3.8.2 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking ratatui v0.27.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking tui-input v0.9.0 [INFO] [stderr] Checking clap_builder v4.5.11 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking openapi-31 v0.4.0 [INFO] [stderr] Checking toml v0.8.16 [INFO] [stderr] Checking human-panic v2.0.1 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tui-textarea v0.5.1 [INFO] [stderr] Checking syntect-tui v3.0.3 [INFO] [stderr] Checking clap v4.5.11 [INFO] [stderr] Compiling git2 v0.19.0 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Compiling openapi-tui v0.9.4 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] warning: openapi-tui@0.9.4: could not find repository at '/tmp/fixit'; class=Repository (6); code=NotFound (-3) [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_BRANCH set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_AUTHOR_EMAIL set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_AUTHOR_NAME set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_COUNT set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_DATE set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_MESSAGE set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_TIMESTAMP set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_DESCRIBE set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_SHA set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_DIRTY set to default [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `openapi_tui` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/panes/parameter_editor.rs [INFO] [stderr] * src/panes/request.rs [INFO] [stderr] * src/utils.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/panes/request.rs:75:22 [INFO] [stderr] | [INFO] [stderr] 75 | ($map:ident, $title:expr_2021, $location: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/panes/request.rs:75:40 [INFO] [stderr] | [INFO] [stderr] 75 | ($map:ident, $title:expr_2021, $location: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/utils.rs:124:14 [INFO] [stderr] | [INFO] [stderr] 124 | (target: $target:expr_2021, level: $level:expr_2021, $ex: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/utils.rs:124:40 [INFO] [stderr] | [INFO] [stderr] 124 | (target: $target:expr_2021, level: $level:expr_2021, $ex: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/utils.rs:124:58 [INFO] [stderr] | [INFO] [stderr] 124 | (target: $target:expr_2021, level: $level:expr_2021, $ex: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/utils.rs:132:13 [INFO] [stderr] | [INFO] [stderr] 132 | (level: $level:expr_2021, $ex: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] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/panes/parameter_editor.rs:140:87 [INFO] [stdout] | [INFO] [stdout] 140 | fn select_parameters<'a>(&'a self, parameter_type: &'a str) -> impl Iterator + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:132:31 [INFO] [stderr] | [INFO] [stderr] 132 | (level: $level:expr_2021, $ex: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/utils.rs:135:14 [INFO] [stderr] | [INFO] [stderr] 135 | (target: $target:expr_2021, $ex: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/utils.rs:135:33 [INFO] [stderr] | [INFO] [stderr] 135 | (target: $target:expr_2021, $ex: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/utils.rs:138:6 [INFO] [stderr] | [INFO] [stderr] 138 | ($ex: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] warning: elided lifetime has a name [INFO] [stderr] --> src/panes/parameter_editor.rs:140:87 [INFO] [stderr] | [INFO] [stderr] 140 | fn select_parameters<'a>(&'a self, parameter_type: &'a str) -> impl Iterator + 'a { [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/panes/request.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | ($map:ident, $title:expr, $location:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 75 | ($map:ident, $title:expr_2021, $location: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/panes/request.rs:75:45 [INFO] [stdout] | [INFO] [stdout] 75 | ($map:ident, $title:expr, $location: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] 75 | ($map:ident, $title:expr, $location:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | (target: $target:expr, level: $level:expr, $ex: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] 123 | (target: $target:expr_2021, level: $level:expr, $ex: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/utils.rs:123:42 [INFO] [stdout] | [INFO] [stdout] 123 | (target: $target:expr, level: $level:expr, $ex: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] 123 | (target: $target:expr, level: $level:expr_2021, $ex:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/utils.rs:123:52 [INFO] [stdout] | [INFO] [stdout] 123 | (target: $target:expr, level: $level:expr, $ex: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] 123 | (target: $target:expr, level: $level:expr, $ex:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | (level: $level:expr, $ex: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] 131 | (level: $level:expr_2021, $ex: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/utils.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | (level: $level:expr, $ex: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] 131 | (level: $level:expr, $ex:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | (target: $target:expr, $ex: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] 134 | (target: $target:expr_2021, $ex: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/utils.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | (target: $target:expr, $ex: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] 134 | (target: $target:expr, $ex:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | ($ex: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] 137 | ($ex:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 99 | / std::env::set_var( [INFO] [stdout] 100 | | "RUST_LOG", [INFO] [stdout] 101 | | std::env::var("RUST_LOG") [INFO] [stdout] 102 | | .or_else(|_| std::env::var(LOG_ENV.clone())) [INFO] [stdout] 103 | | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 104 | | ); [INFO] [stdout] | |___^ call to unsafe function [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 #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 99 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 100 ~ unsafe { std::env::set_var( [INFO] [stdout] 101 | "RUST_LOG", [INFO] [stdout] ... [INFO] [stdout] 104 | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 105 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | if let Err(e) = tokio_main().await { [INFO] [stdout] | ^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | } 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] 37 ~ match tokio_main().await { Err(e) => { [INFO] [stdout] 38 | eprintln!("{} error: Something went wrong", env!("CARGO_PKG_NAME")); [INFO] [stdout] 39 | Err(e) [INFO] [stdout] 40 ~ } _ => { [INFO] [stdout] 41 | Ok(()) [INFO] [stdout] 42 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | if let Some(action) = keymap.get(&vec![key]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/app.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | } 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] 151 ~ match keymap.get(&vec![key]) { Some(action) => { [INFO] [stdout] 152 | action_tx.send(action.clone())?; [INFO] [stdout] 153 ~ } _ => { [INFO] [stdout] 154 | // If the key was not handled as a single key action, [INFO] [stdout] ... [INFO] [stdout] 161 | } [INFO] [stdout] 162 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | while let Ok(action) = action_rx.try_recv() { [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/app.rs:266:7 [INFO] [stdout] | [INFO] [stdout] 266 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 199 | if let Some(page) = operation_item [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 200 | || .operation [INFO] [stdout] 201 | || .operation_id [INFO] [stdout] 202 | || .clone() [INFO] [stdout] 203 | || .and_then(|operation_id| self.history.remove(&operation_id)) [INFO] [stdout] | ||______________________________________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 208 | } else if let Ok(mut page) = Phone::new(operation_item.clone(), request_tx.clone()) { [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/app.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | } else if let Ok(mut page) = Phone::new(operation_item.clone(), request_tx.clone()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/app.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 199 ~ match operation_item [INFO] [stdout] 200 | .operation [INFO] [stdout] ... [INFO] [stdout] 203 | .and_then(|operation_id| self.history.remove(&operation_id)) [INFO] [stdout] 204 ~ { Some(page) => { [INFO] [stdout] 205 | self.pages[0].unfocus()?; [INFO] [stdout] 206 | self.pages.insert(0, page); [INFO] [stdout] 207 | self.pages[0].focus()?; [INFO] [stdout] 208 ~ } _ => { match Phone::new(operation_item.clone(), request_tx.clone()) { Ok(mut page) => { [INFO] [stdout] 209 | self.pages[0].unfocus()?; [INFO] [stdout] ... [INFO] [stdout] 213 | self.pages[0].focus()?; [INFO] [stdout] 214 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | if let Some(popup) = &mut self.popup { [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] 254 | } else if let Some(page) = self.pages.get_mut(self.active_page) { [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/app.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | } else if let Some(page) = self.pages.get_mut(self.active_page) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/app.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | } [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 &mut self.popup { Some(popup) => { [INFO] [stdout] 251 | if let Some(action) = popup.update(action.clone(), &mut self.state)? { [INFO] [stdout] 252 | action_tx.send(action)? [INFO] [stdout] 253 | }; [INFO] [stdout] 254 ~ } _ => { match self.pages.get_mut(self.active_page) { Some(page) => { [INFO] [stdout] 255 | if let Some(action) = page.update(action.clone(), &mut self.state)? { [INFO] [stdout] 256 | action_tx.send(action)? [INFO] [stdout] 257 | }; [INFO] [stdout] 258 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | while let Ok(request) = request_rx.try_recv() { [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/app.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | if let Ok(response) = reqwest::Client::new().execute(request.request).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/app.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ match reqwest::Client::new().execute(request.request).await { Ok(response) => { [INFO] [stdout] 270 | self.state.responses.insert( [INFO] [stdout] ... [INFO] [stdout] 279 | ); [INFO] [stdout] 280 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/components/schema_viewer.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(components) = &state.openapi_spec.components { [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/components/schema_viewer.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | } [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 ~ match &state.openapi_spec.components { Some(components) => { [INFO] [stdout] 41 | if let Some(schemas) = &components.schemas { [INFO] [stdout] 42 | self.components = HashMap::from_iter(schemas.clone()); [INFO] [stdout] 43 | } [INFO] [stdout] 44 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/home.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/home.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 83 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 84 | actions.push(pane.update(Action::Focus, state)?); [INFO] [stdout] 85 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/home.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/home.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 93 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 94 | actions.push(pane.update(Action::Focus, state)?); [INFO] [stdout] 95 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/home.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/home.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 106 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 107 | actions.push(pane.update(Action::UnFocus, state)?); [INFO] [stdout] 108 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/home.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/home.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 135 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 136 | actions.push(pane.update(Action::Focus, state)?); [INFO] [stdout] 137 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/home.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/home.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 141 | actions.push(pane.update(action, state)?); [INFO] [stdout] 142 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some(server) = state.openapi_spec.servers.as_ref().map(|v| v.first()).unwrap_or(None) { [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] 74 | String::from(server.url.trim_end_matches('/')) [INFO] [stdout] 75 | } else if let Some(server) = &self.operation_item.operation.servers.as_ref().map(|v| v.first()).unwrap_or(None) { [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/pages/phone.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | } else if let Some(server) = &self.operation_item.operation.servers.as_ref().map(|v| v.first()).unwrap_or(None) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | } 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] 73 ~ match state.openapi_spec.servers.as_ref().map(|v| v.first()).unwrap_or(None) { Some(server) => { [INFO] [stdout] 74 | String::from(server.url.trim_end_matches('/')) [INFO] [stdout] 75 ~ } _ => { match &self.operation_item.operation.servers.as_ref().map(|v| v.first()).unwrap_or(None) { Some(server) => { [INFO] [stdout] 76 | String::from(server.url.trim_end_matches('/')) [INFO] [stdout] 77 ~ } _ => { [INFO] [stdout] 78 | String::from("http://localhost") [INFO] [stdout] 79 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/phone.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 221 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 222 | actions.push(pane.update(Action::Focus, state)?); [INFO] [stdout] 223 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/phone.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 231 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 232 | actions.push(pane.update(Action::Focus, state)?); [INFO] [stdout] 233 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | if let Some(request_tx) = &self.request_tx { [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/pages/phone.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 244 ~ match &self.request_tx { Some(request_tx) => { [INFO] [stdout] 245 | request_tx.send(Request { [INFO] [stdout] ... [INFO] [stdout] 248 | })?; [INFO] [stdout] 249 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 252 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/phone.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 252 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 253 | actions.push(pane.update(Action::UnFocus, state)?); [INFO] [stdout] 254 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/phone.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 270 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 271 | actions.push(pane.update(Action::Focus, state)?); [INFO] [stdout] 272 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 275 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/phone.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 275 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 276 | actions.push(pane.update(action, state)?); [INFO] [stdout] 277 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/panes/address.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | let base_url = if let Some(server) = state.openapi_spec.servers.as_ref().map(|v| v.first()).unwrap_or(None) { [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] 74 | String::from(server.url.trim_end_matches('/')) [INFO] [stdout] 75 | } else if let Some(server) = operation_item.operation.servers.as_ref().map(|v| v.first()).unwrap_or(None) { [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/panes/address.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | } else if let Some(server) = operation_item.operation.servers.as_ref().map(|v| v.first()).unwrap_or(None) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/panes/address.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | } 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] 73 ~ let base_url = match state.openapi_spec.servers.as_ref().map(|v| v.first()).unwrap_or(None) { Some(server) => { [INFO] [stdout] 74 | String::from(server.url.trim_end_matches('/')) [INFO] [stdout] 75 ~ } _ => { match operation_item.operation.servers.as_ref().map(|v| v.first()).unwrap_or(None) { Some(server) => { [INFO] [stdout] 76 | String::from(server.url.trim_end_matches('/')) [INFO] [stdout] 77 ~ } _ => { [INFO] [stdout] 78 | String::from("http://localhost") [INFO] [stdout] 79 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/panes/body_editor.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | if let Err(error) = std::fs::File::open(filepath) [INFO] [stdout] | ____________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 137 | || .and_then(|mut file| { [INFO] [stdout] 138 | || let mut buffer = String::new(); [INFO] [stdout] 139 | || file.read_to_string(&mut buffer).map(|_| buffer) [INFO] [stdout] ... || [INFO] [stdout] 142 | || self.input = TextArea::from(item.lines()); [INFO] [stdout] 143 | || }) [INFO] [stdout] | ||____________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/panes/body_editor.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 136 ~ match std::fs::File::open(filepath) [INFO] [stdout] 137 | .and_then(|mut file| { [INFO] [stdout] ... [INFO] [stdout] 143 | }) [INFO] [stdout] 144 ~ { Err(error) => { [INFO] [stdout] 145 | return Ok(Some(Action::TimedStatusLine(format!("can't open or read file content: {error}"), 5))); [INFO] [stdout] 146 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/panes/response_viewer.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | if let Some(response) = [INFO] [stdout] | ____________^ [INFO] [stdout] 113 | | self.operation_item.operation.operation_id.as_ref().and_then(|operation_id| state.responses.get(operation_id)) [INFO] [stdout] | |___________-----------------------------________________________________________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/panes/response_viewer.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | } 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] 112 ~ match self.operation_item.operation.operation_id.as_ref().and_then(|operation_id| state.responses.get(operation_id)) [INFO] [stdout] 113 ~ { Some(response) => { [INFO] [stdout] 114 | if let Err(error) = [INFO] [stdout] ... [INFO] [stdout] 118 | } [INFO] [stdout] 119 ~ } _ => { [INFO] [stdout] 120 | return Ok(Some(Action::TimedStatusLine("response is not available".into(), 5))); [INFO] [stdout] 121 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/panes/response_viewer.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | if let Err(error) = [INFO] [stdout] | ______________^ [INFO] [stdout] 116 | | std::fs::File::create(filepath).and_then(|mut file| file.write_all(response.body.as_bytes())) [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/panes/response_viewer.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 115 ~ match std::fs::File::create(filepath).and_then(|mut file| file.write_all(response.body.as_bytes())) [INFO] [stdout] 116 ~ { Err(error) => { [INFO] [stdout] 117 | return Ok(Some(Action::TimedStatusLine(format!("can't create or write file content: {error}"), 5))); [INFO] [stdout] 118 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/panes/response_viewer.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(response) = [INFO] [stdout] | ________^ [INFO] [stdout] 136 | | self.operation_item.operation.operation_id.as_ref().and_then(|operation_id| state.responses.get(operation_id)) [INFO] [stdout] | |_______-----------------------------________________________________________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/panes/response_viewer.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | } 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] 135 ~ match self.operation_item.operation.operation_id.as_ref().and_then(|operation_id| state.responses.get(operation_id)) [INFO] [stdout] 136 ~ { Some(response) => { [INFO] [stdout] 137 | status_line = format!( [INFO] [stdout] ... [INFO] [stdout] 164 | ); [INFO] [stdout] 165 ~ } _ => { [INFO] [stdout] 166 | frame.render_widget( [INFO] [stdout] ... [INFO] [stdout] 169 | ) [INFO] [stdout] 170 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/panes/tags.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | if let Some(tag) = state.openapi_spec.tags.as_ref().into_iter().flatten().nth(self.current_tag_index - 1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/panes/tags.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 37 ~ match state.openapi_spec.tags.as_ref().into_iter().flatten().nth(self.current_tag_index - 1) { Some(tag) => { [INFO] [stdout] 38 | state.active_tag_name = Some(tag.name.clone()); [INFO] [stdout] 39 | state.active_operation_index = 0; [INFO] [stdout] 40 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | if let Err(r) = t.exit() { [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/utils.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 37 ~ match t.exit() { Err(r) => { [INFO] [stdout] 38 | error!("Unable to exit Terminal: {:?}", r); [INFO] [stdout] 39 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `openapi_tui` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/panes/parameter_editor.rs [INFO] [stderr] * src/panes/request.rs [INFO] [stderr] * src/utils.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/panes/request.rs:75:22 [INFO] [stderr] | [INFO] [stderr] 75 | ($map:ident, $title:expr_2021, $location: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/panes/request.rs:75:40 [INFO] [stderr] | [INFO] [stderr] 75 | ($map:ident, $title:expr_2021, $location: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/utils.rs:124:14 [INFO] [stderr] | [INFO] [stderr] 124 | (target: $target:expr_2021, level: $level:expr_2021, $ex: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/utils.rs:124:40 [INFO] [stderr] | [INFO] [stderr] 124 | (target: $target:expr_2021, level: $level:expr_2021, $ex: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/utils.rs:124:58 [INFO] [stderr] | [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/panes/parameter_editor.rs:140:87 [INFO] [stdout] | [INFO] [stdout] 140 | fn select_parameters<'a>(&'a self, parameter_type: &'a str) -> impl Iterator + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 124 | (target: $target:expr_2021, level: $level:expr_2021, $ex: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/utils.rs:132:13 [INFO] [stderr] | [INFO] [stderr] 132 | (level: $level:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/panes/request.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | ($map:ident, $title:expr, $location:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 75 | ($map:ident, $title:expr_2021, $location:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/utils.rs:132:31 [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/panes/request.rs:75:45 [INFO] [stdout] | [INFO] [stdout] 75 | ($map:ident, $title:expr, $location: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] 75 | ($map:ident, $title:expr, $location:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 132 | (level: $level:expr_2021, $ex:expr_2021) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | (target: $target:expr, level: $level:expr, $ex: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] 123 | (target: $target:expr_2021, level: $level:expr, $ex: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/utils.rs:123:42 [INFO] [stdout] | [INFO] [stdout] 123 | (target: $target:expr, level: $level:expr, $ex: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] 123 | (target: $target:expr, level: $level:expr_2021, $ex: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/utils.rs:123:52 [INFO] [stdout] | [INFO] [stdout] 123 | (target: $target:expr, level: $level:expr, $ex: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] 123 | (target: $target:expr, level: $level:expr, $ex:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | (level: $level:expr, $ex: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] 131 | (level: $level:expr_2021, $ex:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | (level: $level:expr, $ex: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] 131 | (level: $level:expr, $ex:expr_2021) => { [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | (target: $target:expr, $ex: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] 134 | (target: $target:expr_2021, $ex: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/utils.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | (target: $target:expr, $ex: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] 134 | (target: $target:expr, $ex:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | ($ex: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] 137 | ($ex:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/utils.rs:135:14 [INFO] [stderr] | [INFO] [stderr] 135 | (target: $target:expr_2021, $ex: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] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 99 | / std::env::set_var( [INFO] [stdout] 100 | | "RUST_LOG", [INFO] [stdout] 101 | | std::env::var("RUST_LOG") [INFO] [stdout] 102 | | .or_else(|_| std::env::var(LOG_ENV.clone())) [INFO] [stdout] 103 | | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 104 | | ); [INFO] [stdout] | |___^ call to unsafe function [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 #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 99 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 100 ~ unsafe { std::env::set_var( [INFO] [stdout] 101 | "RUST_LOG", [INFO] [stdout] ... [INFO] [stdout] 104 | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 105 ~ ) }; [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] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:135:33 [INFO] [stderr] | [INFO] [stderr] 135 | (target: $target:expr_2021, $ex: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/utils.rs:138:6 [INFO] [stderr] | [INFO] [stderr] 138 | ($ex: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] warning: elided lifetime has a name [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | if let Err(e) = tokio_main().await { [INFO] [stdout] | ^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | } 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] 37 ~ match tokio_main().await { Err(e) => { [INFO] [stdout] 38 | eprintln!("{} error: Something went wrong", env!("CARGO_PKG_NAME")); [INFO] [stdout] 39 | Err(e) [INFO] [stdout] 40 ~ } _ => { [INFO] [stdout] 41 | Ok(()) [INFO] [stdout] 42 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/panes/parameter_editor.rs:140:87 [INFO] [stderr] | [INFO] [stderr] 140 | fn select_parameters<'a>(&'a self, parameter_type: &'a str) -> impl Iterator + 'a { [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 1 warning 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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | if let Some(action) = keymap.get(&vec![key]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/app.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | } 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] 151 ~ match keymap.get(&vec![key]) { Some(action) => { [INFO] [stdout] 152 | action_tx.send(action.clone())?; [INFO] [stdout] 153 ~ } _ => { [INFO] [stdout] 154 | // If the key was not handled as a single key action, [INFO] [stdout] ... [INFO] [stdout] 161 | } [INFO] [stdout] 162 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | while let Ok(action) = action_rx.try_recv() { [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/app.rs:266:7 [INFO] [stdout] | [INFO] [stdout] 266 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 199 | if let Some(page) = operation_item [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 200 | || .operation [INFO] [stdout] 201 | || .operation_id [INFO] [stdout] 202 | || .clone() [INFO] [stdout] 203 | || .and_then(|operation_id| self.history.remove(&operation_id)) [INFO] [stdout] | ||______________________________________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 208 | } else if let Ok(mut page) = Phone::new(operation_item.clone(), request_tx.clone()) { [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/app.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | } else if let Ok(mut page) = Phone::new(operation_item.clone(), request_tx.clone()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/app.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 199 ~ match operation_item [INFO] [stdout] 200 | .operation [INFO] [stdout] ... [INFO] [stdout] 203 | .and_then(|operation_id| self.history.remove(&operation_id)) [INFO] [stdout] 204 ~ { Some(page) => { [INFO] [stdout] 205 | self.pages[0].unfocus()?; [INFO] [stdout] 206 | self.pages.insert(0, page); [INFO] [stdout] 207 | self.pages[0].focus()?; [INFO] [stdout] 208 ~ } _ => { match Phone::new(operation_item.clone(), request_tx.clone()) { Ok(mut page) => { [INFO] [stdout] 209 | self.pages[0].unfocus()?; [INFO] [stdout] ... [INFO] [stdout] 213 | self.pages[0].focus()?; [INFO] [stdout] 214 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | if let Some(popup) = &mut self.popup { [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] 254 | } else if let Some(page) = self.pages.get_mut(self.active_page) { [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/app.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | } else if let Some(page) = self.pages.get_mut(self.active_page) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/app.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | } [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 &mut self.popup { Some(popup) => { [INFO] [stdout] 251 | if let Some(action) = popup.update(action.clone(), &mut self.state)? { [INFO] [stdout] 252 | action_tx.send(action)? [INFO] [stdout] 253 | }; [INFO] [stdout] 254 ~ } _ => { match self.pages.get_mut(self.active_page) { Some(page) => { [INFO] [stdout] 255 | if let Some(action) = page.update(action.clone(), &mut self.state)? { [INFO] [stdout] 256 | action_tx.send(action)? [INFO] [stdout] 257 | }; [INFO] [stdout] 258 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | while let Ok(request) = request_rx.try_recv() { [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/app.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | if let Ok(response) = reqwest::Client::new().execute(request.request).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/app.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ match reqwest::Client::new().execute(request.request).await { Ok(response) => { [INFO] [stdout] 270 | self.state.responses.insert( [INFO] [stdout] ... [INFO] [stdout] 279 | ); [INFO] [stdout] 280 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/components/schema_viewer.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(components) = &state.openapi_spec.components { [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/components/schema_viewer.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | } [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 ~ match &state.openapi_spec.components { Some(components) => { [INFO] [stdout] 41 | if let Some(schemas) = &components.schemas { [INFO] [stdout] 42 | self.components = HashMap::from_iter(schemas.clone()); [INFO] [stdout] 43 | } [INFO] [stdout] 44 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/home.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/home.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 83 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 84 | actions.push(pane.update(Action::Focus, state)?); [INFO] [stdout] 85 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/home.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/home.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 93 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 94 | actions.push(pane.update(Action::Focus, state)?); [INFO] [stdout] 95 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/home.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/home.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 106 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 107 | actions.push(pane.update(Action::UnFocus, state)?); [INFO] [stdout] 108 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/home.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/home.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 135 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 136 | actions.push(pane.update(Action::Focus, state)?); [INFO] [stdout] 137 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/home.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/home.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 141 | actions.push(pane.update(action, state)?); [INFO] [stdout] 142 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some(server) = state.openapi_spec.servers.as_ref().map(|v| v.first()).unwrap_or(None) { [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] 74 | String::from(server.url.trim_end_matches('/')) [INFO] [stdout] 75 | } else if let Some(server) = &self.operation_item.operation.servers.as_ref().map(|v| v.first()).unwrap_or(None) { [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/pages/phone.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | } else if let Some(server) = &self.operation_item.operation.servers.as_ref().map(|v| v.first()).unwrap_or(None) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | } 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] 73 ~ match state.openapi_spec.servers.as_ref().map(|v| v.first()).unwrap_or(None) { Some(server) => { [INFO] [stdout] 74 | String::from(server.url.trim_end_matches('/')) [INFO] [stdout] 75 ~ } _ => { match &self.operation_item.operation.servers.as_ref().map(|v| v.first()).unwrap_or(None) { Some(server) => { [INFO] [stdout] 76 | String::from(server.url.trim_end_matches('/')) [INFO] [stdout] 77 ~ } _ => { [INFO] [stdout] 78 | String::from("http://localhost") [INFO] [stdout] 79 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/phone.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 221 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 222 | actions.push(pane.update(Action::Focus, state)?); [INFO] [stdout] 223 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/phone.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 231 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 232 | actions.push(pane.update(Action::Focus, state)?); [INFO] [stdout] 233 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | if let Some(request_tx) = &self.request_tx { [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/pages/phone.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 244 ~ match &self.request_tx { Some(request_tx) => { [INFO] [stdout] 245 | request_tx.send(Request { [INFO] [stdout] ... [INFO] [stdout] 248 | })?; [INFO] [stdout] 249 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 252 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/phone.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 252 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 253 | actions.push(pane.update(Action::UnFocus, state)?); [INFO] [stdout] 254 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/phone.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 270 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 271 | actions.push(pane.update(Action::Focus, state)?); [INFO] [stdout] 272 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/phone.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 275 | if let Some(pane) = self.panes.get_mut(self.focused_pane_index) { [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/pages/phone.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 275 ~ match self.panes.get_mut(self.focused_pane_index) { Some(pane) => { [INFO] [stdout] 276 | actions.push(pane.update(action, state)?); [INFO] [stdout] 277 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/panes/address.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | let base_url = if let Some(server) = state.openapi_spec.servers.as_ref().map(|v| v.first()).unwrap_or(None) { [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] 74 | String::from(server.url.trim_end_matches('/')) [INFO] [stdout] 75 | } else if let Some(server) = operation_item.operation.servers.as_ref().map(|v| v.first()).unwrap_or(None) { [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/panes/address.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | } else if let Some(server) = operation_item.operation.servers.as_ref().map(|v| v.first()).unwrap_or(None) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/panes/address.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | } 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] 73 ~ let base_url = match state.openapi_spec.servers.as_ref().map(|v| v.first()).unwrap_or(None) { Some(server) => { [INFO] [stdout] 74 | String::from(server.url.trim_end_matches('/')) [INFO] [stdout] 75 ~ } _ => { match operation_item.operation.servers.as_ref().map(|v| v.first()).unwrap_or(None) { Some(server) => { [INFO] [stdout] 76 | String::from(server.url.trim_end_matches('/')) [INFO] [stdout] 77 ~ } _ => { [INFO] [stdout] 78 | String::from("http://localhost") [INFO] [stdout] 79 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/panes/body_editor.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | if let Err(error) = std::fs::File::open(filepath) [INFO] [stdout] | ____________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 137 | || .and_then(|mut file| { [INFO] [stdout] 138 | || let mut buffer = String::new(); [INFO] [stdout] 139 | || file.read_to_string(&mut buffer).map(|_| buffer) [INFO] [stdout] ... || [INFO] [stdout] 142 | || self.input = TextArea::from(item.lines()); [INFO] [stdout] 143 | || }) [INFO] [stdout] | ||____________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/panes/body_editor.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 136 ~ match std::fs::File::open(filepath) [INFO] [stdout] 137 | .and_then(|mut file| { [INFO] [stdout] ... [INFO] [stdout] 143 | }) [INFO] [stdout] 144 ~ { Err(error) => { [INFO] [stdout] 145 | return Ok(Some(Action::TimedStatusLine(format!("can't open or read file content: {error}"), 5))); [INFO] [stdout] 146 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/panes/response_viewer.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | if let Some(response) = [INFO] [stdout] | ____________^ [INFO] [stdout] 113 | | self.operation_item.operation.operation_id.as_ref().and_then(|operation_id| state.responses.get(operation_id)) [INFO] [stdout] | |___________-----------------------------________________________________________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/panes/response_viewer.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | } 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] 112 ~ match self.operation_item.operation.operation_id.as_ref().and_then(|operation_id| state.responses.get(operation_id)) [INFO] [stdout] 113 ~ { Some(response) => { [INFO] [stdout] 114 | if let Err(error) = [INFO] [stdout] ... [INFO] [stdout] 118 | } [INFO] [stdout] 119 ~ } _ => { [INFO] [stdout] 120 | return Ok(Some(Action::TimedStatusLine("response is not available".into(), 5))); [INFO] [stdout] 121 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/panes/response_viewer.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | if let Err(error) = [INFO] [stdout] | ______________^ [INFO] [stdout] 116 | | std::fs::File::create(filepath).and_then(|mut file| file.write_all(response.body.as_bytes())) [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/panes/response_viewer.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 115 ~ match std::fs::File::create(filepath).and_then(|mut file| file.write_all(response.body.as_bytes())) [INFO] [stdout] 116 ~ { Err(error) => { [INFO] [stdout] 117 | return Ok(Some(Action::TimedStatusLine(format!("can't create or write file content: {error}"), 5))); [INFO] [stdout] 118 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/panes/response_viewer.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(response) = [INFO] [stdout] | ________^ [INFO] [stdout] 136 | | self.operation_item.operation.operation_id.as_ref().and_then(|operation_id| state.responses.get(operation_id)) [INFO] [stdout] | |_______-----------------------------________________________________________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/panes/response_viewer.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | } 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] 135 ~ match self.operation_item.operation.operation_id.as_ref().and_then(|operation_id| state.responses.get(operation_id)) [INFO] [stdout] 136 ~ { Some(response) => { [INFO] [stdout] 137 | status_line = format!( [INFO] [stdout] ... [INFO] [stdout] 164 | ); [INFO] [stdout] 165 ~ } _ => { [INFO] [stdout] 166 | frame.render_widget( [INFO] [stdout] ... [INFO] [stdout] 169 | ) [INFO] [stdout] 170 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/panes/tags.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | if let Some(tag) = state.openapi_spec.tags.as_ref().into_iter().flatten().nth(self.current_tag_index - 1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/panes/tags.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 37 ~ match state.openapi_spec.tags.as_ref().into_iter().flatten().nth(self.current_tag_index - 1) { Some(tag) => { [INFO] [stdout] 38 | state.active_tag_name = Some(tag.name.clone()); [INFO] [stdout] 39 | state.active_operation_index = 0; [INFO] [stdout] 40 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | if let Err(r) = t.exit() { [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/utils.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 37 ~ match t.exit() { Err(r) => { [INFO] [stdout] 38 | error!("Unable to exit Terminal: {:?}", r); [INFO] [stdout] 39 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.03s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling openapi-tui v0.9.4 (/tmp/fixit) [INFO] [stderr] warning: openapi-tui@0.9.4: could not find repository at '/tmp/fixit'; class=Repository (6); code=NotFound (-3) [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_BRANCH set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_AUTHOR_EMAIL set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_AUTHOR_NAME set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_COUNT set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_DATE set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_MESSAGE set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_TIMESTAMP set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_DESCRIBE set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_SHA set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_DIRTY set to default [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/panes/parameter_editor.rs:140:87 [INFO] [stdout] | [INFO] [stdout] 140 | fn select_parameters<'a>(&'a self, parameter_type: &'a str) -> impl Iterator + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/panes/parameter_editor.rs:140:87 [INFO] [stdout] | [INFO] [stdout] 140 | fn select_parameters<'a>(&'a self, parameter_type: &'a str) -> impl Iterator + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 99 | / std::env::set_var( [INFO] [stdout] 100 | | "RUST_LOG", [INFO] [stdout] 101 | | std::env::var("RUST_LOG") [INFO] [stdout] 102 | | .or_else(|_| std::env::var(LOG_ENV.clone())) [INFO] [stdout] 103 | | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 104 | | ); [INFO] [stdout] | |___^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 99 | / std::env::set_var( [INFO] [stdout] 100 | | "RUST_LOG", [INFO] [stdout] 101 | | std::env::var("RUST_LOG") [INFO] [stdout] 102 | | .or_else(|_| std::env::var(LOG_ENV.clone())) [INFO] [stdout] 103 | | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 104 | | ); [INFO] [stdout] | |___^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: openapi-tui@0.9.4: could not find repository at '/tmp/fixit'; class=Repository (6); code=NotFound (-3) [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_BRANCH set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_AUTHOR_EMAIL set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_AUTHOR_NAME set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_COUNT set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_DATE set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_MESSAGE set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_TIMESTAMP set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_DESCRIBE set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_SHA set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_DIRTY set to default [INFO] [stderr] [INFO] [stderr] error: could not compile `openapi-tui` (bin "openapi-tui") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: openapi-tui@0.9.4: could not find repository at '/tmp/fixit'; class=Repository (6); code=NotFound (-3) [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_BRANCH set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_AUTHOR_EMAIL set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_AUTHOR_NAME set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_COUNT set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_DATE set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_MESSAGE set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_COMMIT_TIMESTAMP set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_DESCRIBE set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_SHA set to default [INFO] [stderr] warning: openapi-tui@0.9.4: VERGEN_GIT_DIRTY set to default [INFO] [stderr] [INFO] [stderr] error: could not compile `openapi-tui` (bin "openapi-tui" test) due to 2 previous errors; 1 warning 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" "aa13be1e85efc64a20bb9092f873ea63e8c340667783e667585158287594bbe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa13be1e85efc64a20bb9092f873ea63e8c340667783e667585158287594bbe3", kill_on_drop: false }` [INFO] [stdout] aa13be1e85efc64a20bb9092f873ea63e8c340667783e667585158287594bbe3