[INFO] fetching crate modi 0.1.1... [INFO] checking modi-0.1.1 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate modi 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate modi 0.1.1 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate modi 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate modi 0.1.1 [INFO] tweaked toml for crates.io crate modi 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate modi 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29c3e0f88daebd49af3adce6cfd92b1aef039596b00a7d5253e33e3631277440 [INFO] running `Command { std: "docker" "start" "-a" "29c3e0f88daebd49af3adce6cfd92b1aef039596b00a7d5253e33e3631277440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29c3e0f88daebd49af3adce6cfd92b1aef039596b00a7d5253e33e3631277440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29c3e0f88daebd49af3adce6cfd92b1aef039596b00a7d5253e33e3631277440", kill_on_drop: false }` [INFO] [stdout] 29c3e0f88daebd49af3adce6cfd92b1aef039596b00a7d5253e33e3631277440 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a9fc7b95204012194eb5cb7b10c988b5da4971abf19fe038a36d064e3d7ad4b [INFO] running `Command { std: "docker" "start" "-a" "7a9fc7b95204012194eb5cb7b10c988b5da4971abf19fe038a36d064e3d7ad4b", 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.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling mime-infer v3.0.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling toml_edit v0.22.21 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking xml-rs v0.8.22 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Compiling salvo-serde-util v0.72.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking opentelemetry-semantic-conventions v0.25.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ordered-float v4.2.2 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Checking faststr v0.2.23 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling salvo_macros v0.72.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Compiling salvo-oapi-macros v0.72.3 [INFO] [stderr] Compiling salvo-craft-macros v0.72.3 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking opentelemetry v0.25.0 [INFO] [stderr] Compiling getset2 v0.2.1 [INFO] [stderr] Checking salvo-craft v0.72.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rust-embed v8.5.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking opentelemetry-http v0.25.0 [INFO] [stderr] Checking prost v0.13.3 [INFO] [stderr] Checking ulid v1.1.3 [INFO] [stderr] Checking sulid v0.6.2 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking opentelemetry-appender-tracing v0.25.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling modi_macros v0.1.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tower v0.5.1 [INFO] [stderr] Checking axum-core v0.4.4 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking metainfo v0.7.12 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking multimap v0.10.0 [INFO] [stderr] Checking axum v0.7.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking quick-xml v0.36.2 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking opentelemetry_sdk v0.25.0 [INFO] [stderr] Checking opentelemetry-stdout v0.25.0 [INFO] [stderr] Checking tracing-opentelemetry v0.26.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.8 [INFO] [stderr] Checking hyper-timeout v0.5.1 [INFO] [stderr] Checking salvo_core v0.72.3 [INFO] [stderr] Checking tonic v0.12.2 [INFO] [stderr] Checking opentelemetry-proto v0.25.0 [INFO] [stderr] Checking salvo-otel v0.72.3 [INFO] [stderr] Checking salvo-oapi v0.72.3 [INFO] [stderr] Checking opentelemetry-otlp v0.25.0 [INFO] [stderr] Checking myotel v0.2.3 [INFO] [stderr] Checking salvo v0.72.3 [INFO] [stderr] Checking modi v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/mw/metrics.rs (1 fix) [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/mw/trace.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 33 | let mut headers = HeaderMap::with_capacity(req.headers().len()); [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | `headers` calls a custom destructor [INFO] [stdout] | `headers` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let parent_cx = [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `parent_cx` calls a custom destructor [INFO] [stdout] | `parent_cx` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 88 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `headers` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.7.2/src/bytes.rs:571:1 [INFO] [stdout] | [INFO] [stdout] 571 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `parent_cx` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/calculate.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `calculate` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * examples/calculate.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected item after attributes [INFO] [stderr] --> examples/calculate.rs:51:1 [INFO] [stderr] | [INFO] [stderr] 51 | #[craft] + use<> [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> examples/calculate.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | env::set_var(ENV_MODI_DEBUG, "1"); [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] 8 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 9 ~ unsafe { env::set_var(ENV_MODI_DEBUG, "1") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/calculate.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[craft] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> examples/calculate.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[craft] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the attribute macro `craft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 50 | #[craft] + use<> [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/calculate.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[craft] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> examples/calculate.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[craft] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `craft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 50 | #[craft] + use<> [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.62s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking modi v0.1.1 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> examples/calculate.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | env::set_var(ENV_MODI_DEBUG, "1"); [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] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `modi` (example "calculate") due to 1 previous error [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" "7a9fc7b95204012194eb5cb7b10c988b5da4971abf19fe038a36d064e3d7ad4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a9fc7b95204012194eb5cb7b10c988b5da4971abf19fe038a36d064e3d7ad4b", kill_on_drop: false }` [INFO] [stdout] 7a9fc7b95204012194eb5cb7b10c988b5da4971abf19fe038a36d064e3d7ad4b