[INFO] updating cached repository https://github.com/Bloom-Perf/mochi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2a7d188acc28640b3ceeaddcd3f6abe5486a100 [INFO] checking Bloom-Perf/mochi/f2a7d188acc28640b3ceeaddcd3f6abe5486a100 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBloom-Perf%2Fmochi" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bloom-Perf/mochi on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bloom-Perf/mochi [INFO] finished tweaking git repo https://github.com/Bloom-Perf/mochi [INFO] tweaked toml for git repo https://github.com/Bloom-Perf/mochi written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Bloom-Perf/mochi 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4430edb1738fcd16d63c85635eb472e8b023701634fb35dc66909ad1da768ac [INFO] running `Command { std: "docker" "start" "-a" "a4430edb1738fcd16d63c85635eb472e8b023701634fb35dc66909ad1da768ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4430edb1738fcd16d63c85635eb472e8b023701634fb35dc66909ad1da768ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4430edb1738fcd16d63c85635eb472e8b023701634fb35dc66909ad1da768ac", kill_on_drop: false }` [INFO] [stdout] a4430edb1738fcd16d63c85635eb472e8b023701634fb35dc66909ad1da768ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1851c65219dc32ce669ae5d696610f77e2a47cadf42eb56e99cd91e0075b4462 [INFO] running `Command { std: "docker" "start" "-a" "1851c65219dc32ce669ae5d696610f77e2a47cadf42eb56e99cd91e0075b4462", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking itoa v1.0.8 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking equivalent v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling rustversion v1.0.13 [INFO] [stderr] Checking ryu v1.0.14 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.70 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking indexmap v2.2.1 [INFO] [stderr] Compiling syn v2.0.47 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking matchit v0.7.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking sxd-document v0.3.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking ordered-float v4.1.1 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking sxd-xpath v0.4.2 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Checking opentelemetry v0.21.0 [INFO] [stderr] Checking opentelemetry-semantic-conventions v0.13.0 [INFO] [stderr] Compiling pest_meta v2.7.5 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Compiling pest_generator v2.7.5 [INFO] [stderr] Compiling pest_derive v2.7.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking opentelemetry_sdk v0.21.1 [INFO] [stderr] Checking h2 v0.4.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.12 [INFO] [stderr] Checking serde_html_form v0.2.2 [INFO] [stderr] Checking serde_yaml v0.9.32 [INFO] [stderr] Checking opentelemetry-prometheus v0.14.1 [INFO] [stderr] Checking handlebars v5.1.2 [INFO] [stderr] Checking hyper v1.1.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.3 [INFO] [stderr] Checking axum-otel-metrics v0.8.0 [INFO] [stderr] Checking axum-extra v0.9.3 [INFO] [stderr] Checking mochi v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `shape` is never read [INFO] [stdout] --> src/core/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ApiSetCore { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 22 | pub name: String, [INFO] [stdout] 23 | pub shape: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiSetCore` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shape` and `proxy` are never read [INFO] [stdout] --> src/core/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ApiSetRootCore { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 30 | pub shape: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub apis: Vec, [INFO] [stdout] 32 | pub proxy: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiSetRootCore` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RuleContentFeaturesCore` is never constructed [INFO] [stdout] --> src/core/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct RuleContentFeaturesCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuleContentFeaturesCore` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/yaml/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ResponseDataYaml { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 25 | pub status: u16, [INFO] [stdout] 26 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponseDataYaml` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/yaml/filesystem/fs_data_file.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FsDataFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | pub path: PathBuf, [INFO] [stdout] 7 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 13 | let metrics_layer = HttpMetricsLayerBuilder::new() [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | let core_representation = ConfigurationFolder::new(conf_path) [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | let initial_router = metrics_layer.routes::(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | [INFO] [stdout] 23 | Ok(core_representation [INFO] [stdout] | ________^ [INFO] [stdout] 24 | | .build_router(initial_router) [INFO] [stdout] 25 | | .layer(metrics_layer) [INFO] [stdout] 26 | | .with_state(MochiRouterState::new())) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |____________________________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/metrics.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 12 | let meter_provider = opentelemetry::global::meter_provider(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | [INFO] [stdout] 14 | let my_meter = meter_provider.meter("mochi"); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | mochi_route_not_found_counter: my_meter.u64_counter("mochi_route_not_found").init(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/metrics.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 12 | let meter_provider = opentelemetry::global::meter_provider(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | [INFO] [stdout] 14 | let my_meter = meter_provider.meter("mochi"); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | mochi_proxy_request_counter: my_meter.u64_counter("mochi_proxy_request_counter").init(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/proxy/router.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 64 | let url = p.0.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | move |s: State, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | method: Method, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | uri: Uri, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | match SystemCore::handle_proxy_request(method, uri, url, path, body) [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 105 | | .await [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/routes.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 20 | let mochi_metrics = MochiMetrics::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | proxy: Arc::new(RwLock::new(proxy_state)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/static/router.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | .and_modify(|v| v.push(rule.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/static/router.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | .and_modify(|v| v.push(rule.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/static/router.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 55 | for (HttpRoute { route, method }, rules) in self.generate_rules_map().into_iter() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | move |request: Request| async move { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | match rules.handle_request(request).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/static/router.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 72 | move |m: State, r: Request| async move { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | handler404(m, r, system_name).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/filesystem/fs_config.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | let conf_dir = fs::read_dir(self.folder.clone()).context(format!( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | Ok(conf_dir [INFO] [stdout] | ____________^ [INFO] [stdout] 28 | | // Just keep directories [INFO] [stdout] 29 | | .filter_map(|e| e.ok()) [INFO] [stdout] 30 | | .filter(|entity| entity.metadata().map(|m| m.is_dir()).unwrap_or(false)) [INFO] [stdout] 31 | | .map(|system_path| FsSystem::new(system_path.path())) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________________________________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/filesystem/fs_config.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | .filter(|entity| entity.metadata().map(|m| m.is_dir()).unwrap_or(false)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/filesystem/fs_data.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | .filter(|entity| entity.metadata().map(|m| m.is_file()).unwrap_or(false)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 20 | let regex_method_path: Regex = Regex::new(r"^(?[A-Z]+)\s+(?.+)$")?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | [INFO] [stdout] 22 | let captured_result = regex_method_path.captures(s).context(format!( [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | Ok(EndpointCore { [INFO] [stdout] | ________^ [INFO] [stdout] 29 | | route: PathAndQuery::from_str(path_raw)?, [INFO] [stdout] 30 | | method: Method::from_str(method_raw)?, [INFO] [stdout] 31 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 40 | let endpoint = extract_endpoint(&rule.matches)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let opt_rule_body = opt_body.map(rule_body_from_str); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | [INFO] [stdout] 77 | Ok(RuleCore { [INFO] [stdout] | ________^ [INFO] [stdout] 78 | | endpoint, [INFO] [stdout] 79 | | headers: api_headers, [INFO] [stdout] 80 | | latency: rule [INFO] [stdout] ... | [INFO] [stdout] 89 | | body: opt_rule_body, [INFO] [stdout] 90 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 94 | let extracted_rules: Result> = api [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | Ok(ApiCore(extracted_rules?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 124 | let apis_core: Vec = apis [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let proxy_core = match proxy { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | Some(p) => { [INFO] [stdout] 131 | let uri = Uri::try_from(p.url.clone()).context(format!( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | let shape_core = match shape { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | Some(s) => { [INFO] [stdout] 142 | let shape = extract_api_shape(s).context(format!( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | Ok(ApiSetCore { [INFO] [stdout] | ________^ [INFO] [stdout] 156 | | name: name.to_owned(), [INFO] [stdout] 157 | | shape: shape_core, [INFO] [stdout] 158 | | proxy: proxy_core, [INFO] [stdout] 159 | | apis: apis_core, [INFO] [stdout] 160 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:175:86 [INFO] [stdout] | [INFO] [stdout] 175 | let shape_rule_implemented_by_api = api.0.iter().any(|rule| rule.endpoint == el.clone()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 209 | let apis_core: Vec = system [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | let proxy_core = match &system.proxy { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | Some(p) => { [INFO] [stdout] 217 | let uri = Uri::try_from(p.url.clone()).context(format!( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let shape_core = match &system.shape { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 227 | Some(s) => { [INFO] [stdout] 228 | let shape = extract_api_shape(s).context(format!( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | Ok(ApiSetRootCore { [INFO] [stdout] | ________^ [INFO] [stdout] 242 | | shape: shape_core, [INFO] [stdout] 243 | | proxy: proxy_core, [INFO] [stdout] 244 | | apis: apis_core, [INFO] [stdout] 245 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 250 | let system_cores: Result> = self [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | let v = system_cores?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | Ok(ConfCore { systems: v }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 254 | let root_api_set = build_root_api_set(system)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | [INFO] [stdout] 256 | let api_sets = system [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | Ok(SystemCore { [INFO] [stdout] | ____________________^ [INFO] [stdout] 271 | | name: system.name.to_owned(), [INFO] [stdout] 272 | | root_api_set, [INFO] [stdout] 273 | | api_sets, [INFO] [stdout] 274 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mochi` (lib test) due to 21 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `shape` is never read [INFO] [stdout] --> src/core/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ApiSetCore { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 22 | pub name: String, [INFO] [stdout] 23 | pub shape: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiSetCore` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shape` and `proxy` are never read [INFO] [stdout] --> src/core/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ApiSetRootCore { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 30 | pub shape: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub apis: Vec, [INFO] [stdout] 32 | pub proxy: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiSetRootCore` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RuleContentFeaturesCore` is never constructed [INFO] [stdout] --> src/core/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct RuleContentFeaturesCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuleContentFeaturesCore` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/yaml/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ResponseDataYaml { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 25 | pub status: u16, [INFO] [stdout] 26 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponseDataYaml` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/yaml/filesystem/fs_data_file.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FsDataFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | pub path: PathBuf, [INFO] [stdout] 7 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 13 | let metrics_layer = HttpMetricsLayerBuilder::new() [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | let core_representation = ConfigurationFolder::new(conf_path) [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | let initial_router = metrics_layer.routes::(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | [INFO] [stdout] 23 | Ok(core_representation [INFO] [stdout] | ________^ [INFO] [stdout] 24 | | .build_router(initial_router) [INFO] [stdout] 25 | | .layer(metrics_layer) [INFO] [stdout] 26 | | .with_state(MochiRouterState::new())) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |____________________________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/metrics.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 12 | let meter_provider = opentelemetry::global::meter_provider(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | [INFO] [stdout] 14 | let my_meter = meter_provider.meter("mochi"); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | mochi_route_not_found_counter: my_meter.u64_counter("mochi_route_not_found").init(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/metrics.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 12 | let meter_provider = opentelemetry::global::meter_provider(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | [INFO] [stdout] 14 | let my_meter = meter_provider.meter("mochi"); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | mochi_proxy_request_counter: my_meter.u64_counter("mochi_proxy_request_counter").init(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/proxy/router.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 64 | let url = p.0.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | move |s: State, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | method: Method, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | uri: Uri, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | match SystemCore::handle_proxy_request(method, uri, url, path, body) [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 105 | | .await [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/routes.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 20 | let mochi_metrics = MochiMetrics::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | proxy: Arc::new(RwLock::new(proxy_state)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/static/router.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | .and_modify(|v| v.push(rule.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/static/router.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | .and_modify(|v| v.push(rule.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/static/router.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 55 | for (HttpRoute { route, method }, rules) in self.generate_rules_map().into_iter() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | move |request: Request| async move { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | match rules.handle_request(request).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/static/router.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 72 | move |m: State, r: Request| async move { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | handler404(m, r, system_name).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/filesystem/fs_config.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | let conf_dir = fs::read_dir(self.folder.clone()).context(format!( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | Ok(conf_dir [INFO] [stdout] | ____________^ [INFO] [stdout] 28 | | // Just keep directories [INFO] [stdout] 29 | | .filter_map(|e| e.ok()) [INFO] [stdout] 30 | | .filter(|entity| entity.metadata().map(|m| m.is_dir()).unwrap_or(false)) [INFO] [stdout] 31 | | .map(|system_path| FsSystem::new(system_path.path())) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________________________________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/filesystem/fs_config.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | .filter(|entity| entity.metadata().map(|m| m.is_dir()).unwrap_or(false)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/filesystem/fs_data.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | .filter(|entity| entity.metadata().map(|m| m.is_file()).unwrap_or(false)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 20 | let regex_method_path: Regex = Regex::new(r"^(?[A-Z]+)\s+(?.+)$")?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | [INFO] [stdout] 22 | let captured_result = regex_method_path.captures(s).context(format!( [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | Ok(EndpointCore { [INFO] [stdout] | ________^ [INFO] [stdout] 29 | | route: PathAndQuery::from_str(path_raw)?, [INFO] [stdout] 30 | | method: Method::from_str(method_raw)?, [INFO] [stdout] 31 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 40 | let endpoint = extract_endpoint(&rule.matches)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let opt_rule_body = opt_body.map(rule_body_from_str); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | [INFO] [stdout] 77 | Ok(RuleCore { [INFO] [stdout] | ________^ [INFO] [stdout] 78 | | endpoint, [INFO] [stdout] 79 | | headers: api_headers, [INFO] [stdout] 80 | | latency: rule [INFO] [stdout] ... | [INFO] [stdout] 89 | | body: opt_rule_body, [INFO] [stdout] 90 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 94 | let extracted_rules: Result> = api [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | Ok(ApiCore(extracted_rules?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 124 | let apis_core: Vec = apis [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let proxy_core = match proxy { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | Some(p) => { [INFO] [stdout] 131 | let uri = Uri::try_from(p.url.clone()).context(format!( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | let shape_core = match shape { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | Some(s) => { [INFO] [stdout] 142 | let shape = extract_api_shape(s).context(format!( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | Ok(ApiSetCore { [INFO] [stdout] | ________^ [INFO] [stdout] 156 | | name: name.to_owned(), [INFO] [stdout] 157 | | shape: shape_core, [INFO] [stdout] 158 | | proxy: proxy_core, [INFO] [stdout] 159 | | apis: apis_core, [INFO] [stdout] 160 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:175:86 [INFO] [stdout] | [INFO] [stdout] 175 | let shape_rule_implemented_by_api = api.0.iter().any(|rule| rule.endpoint == el.clone()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 209 | let apis_core: Vec = system [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | let proxy_core = match &system.proxy { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | Some(p) => { [INFO] [stdout] 217 | let uri = Uri::try_from(p.url.clone()).context(format!( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let shape_core = match &system.shape { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 227 | Some(s) => { [INFO] [stdout] 228 | let shape = extract_api_shape(s).context(format!( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | Ok(ApiSetRootCore { [INFO] [stdout] | ________^ [INFO] [stdout] 242 | | shape: shape_core, [INFO] [stdout] 243 | | proxy: proxy_core, [INFO] [stdout] 244 | | apis: apis_core, [INFO] [stdout] 245 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 250 | let system_cores: Result> = self [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | let v = system_cores?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | Ok(ConfCore { systems: v }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/yaml/to_domain.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 254 | let root_api_set = build_root_api_set(system)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | [INFO] [stdout] 256 | let api_sets = system [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | Ok(SystemCore { [INFO] [stdout] | ____________________^ [INFO] [stdout] 271 | | name: system.name.to_owned(), [INFO] [stdout] 272 | | root_api_set, [INFO] [stdout] 273 | | api_sets, [INFO] [stdout] 274 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mochi` (lib) due to 21 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1851c65219dc32ce669ae5d696610f77e2a47cadf42eb56e99cd91e0075b4462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1851c65219dc32ce669ae5d696610f77e2a47cadf42eb56e99cd91e0075b4462", kill_on_drop: false }` [INFO] [stdout] 1851c65219dc32ce669ae5d696610f77e2a47cadf42eb56e99cd91e0075b4462