[INFO] fetching crate cdoc 0.8.1... [INFO] checking cdoc-0.8.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cdoc 0.8.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate cdoc 0.8.1 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 crates.io crate cdoc 0.8.1 [INFO] finished tweaking crates.io crate cdoc 0.8.1 [INFO] tweaked toml for crates.io crate cdoc 0.8.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate cdoc 0.8.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b874bb54d79ce90b7564efd0f1f7b2664dfc69f740649fa979c915a8202ac37 [INFO] running `Command { std: "docker" "start" "-a" "8b874bb54d79ce90b7564efd0f1f7b2664dfc69f740649fa979c915a8202ac37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b874bb54d79ce90b7564efd0f1f7b2664dfc69f740649fa979c915a8202ac37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b874bb54d79ce90b7564efd0f1f7b2664dfc69f740649fa979c915a8202ac37", kill_on_drop: false }` [INFO] [stdout] 8b874bb54d79ce90b7564efd0f1f7b2664dfc69f740649fa979c915a8202ac37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] fe36c33c7aee665946e3a9e70093ed4c6e2b1265aa04b914a84be4a34b97bb57 [INFO] running `Command { std: "docker" "start" "-a" "fe36c33c7aee665946e3a9e70093ed4c6e2b1265aa04b914a84be4a34b97bb57", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling code-product-lib v0.3.0 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling code-product-macro v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking code-product v0.3.0 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling rhai_codegen v2.1.0 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Checking deunicode v1.4.4 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling mutants v0.0.3 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Checking constptr v0.2.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking winnow v0.6.7 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking slug v0.1.5 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling typetag-impl v0.2.16 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking include_dir v0.7.3 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking thin-vec v0.2.13 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking serde_with v3.8.1 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Checking erased-serde v0.4.4 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking cowstr v1.3.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking typetag v0.2.16 [INFO] [stderr] Checking yaml-front-matter v0.1.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking rhai v1.18.0 [INFO] [stderr] Checking tera v1.19.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking cdoc-parser v0.1.1 [INFO] [stderr] Checking cdoc v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `katex` [INFO] [stdout] --> src/parser.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "katex")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `katex` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `katex` [INFO] [stdout] --> src/parser.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "katex")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `katex` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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/preprocessors/script.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(Box::new(ScriptPreprocessor { [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | name: self.name.clone(), [INFO] [stdout] 35 | | engine: ScriptEngine::new(&ctx.project_root, &script)?, [INFO] [stdout] 36 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________| [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/renderers/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 65 | let mut ref_visit = ReferenceVisitor::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | ref_visit.walk_ast(&mut doc.content.blocks)?; [INFO] [stdout] 67 | let rbt = references_by_type(&mut ref_visit.references); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(RenderContext { [INFO] [stdout] | ____________^ [INFO] [stdout] 77 | | doc, [INFO] [stdout] 78 | | templates, [INFO] [stdout] 79 | | extra_args, [INFO] [stdout] ... | [INFO] [stdout] 86 | | references_by_type: rbt, [INFO] [stdout] 87 | | }) [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/renderers/extensions/structure.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | .map(|p| (p.key.unwrap(), p.value)) [INFO] [stdout] | - ^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/renderers/generic.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 39 | extensions: Vec>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | let content = String::from_utf8(cursor.get_ref().clone())?.into(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | Ok(Document { [INFO] [stdout] | ____________^ [INFO] [stdout] 51 | | content, [INFO] [stdout] 52 | | meta: ctx.doc.meta.clone(), [INFO] [stdout] 53 | | code_outputs: ctx.doc.code_outputs.clone(), [INFO] [stdout] 54 | | }) [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/renderers/generic.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 67 | let value: CowStr = match &p.value { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok(RenderedParam { [INFO] [stdout] | ____________________^ [INFO] [stdout] 74 | | key: p.key.clone(), [INFO] [stdout] 75 | | value, [INFO] [stdout] 76 | | }) [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/renderers/json.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 15 | _extensions: Vec>, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ) -> anyhow::Result> { [INFO] [stdout] 17 | let d = ctx.doc.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let new_content: CowStr = serde_json::to_string_pretty(&ctx.doc)?.into(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Ok(d.map(|_| new_content.clone())) [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/renderers/notebook.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 26 | extensions: Vec>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | ) -> Result> { [INFO] [stdout] 28 | let renderer = GenericRenderer::default(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let writer = NotebookWriter { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | let notebook: Notebook = writer.convert(ctx.doc.content.clone())?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let output = serde_json::to_string_pretty(¬ebook) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Ok(Document { [INFO] [stdout] | ____________^ [INFO] [stdout] 48 | | content: output, [INFO] [stdout] 49 | | meta: ctx.doc.meta.clone(), [INFO] [stdout] 50 | | code_outputs: ctx.doc.code_outputs.clone(), [INFO] [stdout] 51 | | }) [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/renderers/notebook.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 169 | fn convert(mut self, mut ast: Ast) -> Result { [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] ... [INFO] [stdout] 178 | let import = Cell::Code { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | let mut buf = BufWriter::new(Vec::new()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | let mut cells = vec![import]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | Ok(Notebook { [INFO] [stdout] | ____________^ [INFO] [stdout] 221 | | metadata: self.notebook_meta, [INFO] [stdout] 222 | | nbformat: 4, [INFO] [stdout] 223 | | nbformat_minor: 5, [INFO] [stdout] 224 | | cells, [INFO] [stdout] 225 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/scripting/mod.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 24 | fn from(value: reqwest::blocking::Response) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | text: value.text().unwrap(), [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/scripting/mod.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 54 | let mut engine = Engine::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let module = exported_module!(types::rhai_inline_type); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let ast = engine.compile(script)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(ScriptEngine { ast, engine }) [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/scripting/types.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn Math(label: Option, source: CowStr, display_block: bool, pos: Span) -> Inline { [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] 42 | Inline::Math(Math { [INFO] [stdout] | ______________________^ [INFO] [stdout] 43 | | label, [INFO] [stdout] 44 | | source, [INFO] [stdout] 45 | | display_block, [INFO] [stdout] 46 | | span: pos, [INFO] [stdout] 47 | | }) [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/templates/mod.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 22 | let eng = Engine::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let mut scope = Scope::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let res: Dynamic = eng.eval_with_scope(&mut scope, &source).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | [INFO] [stdout] 28 | Ok(serde_json::to_value(res).unwrap()) [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/templates/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 34 | temp: TemplateManager, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | / move |args: &HashMap| -> tera::Result { [INFO] [stdout] 41 | | let mut ctx = Context::new(); [INFO] [stdout] 42 | | args.iter().for_each(|(k, v)| { [INFO] [stdout] 43 | | let s = &v.to_string(); [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | }, [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/templates/mod.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 34 | temp: TemplateManager, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | match temp.render(&id, &template_prefix, type_.clone(), &ctx, &mut buf) { [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/templates/mod.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 94 | definitions: HashMap, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let mut tera = Tera::new(&format!("{}/sources/**.html", dir.to_str().unwrap()))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | let temp = TemplateManager { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | Ok(if create_filters { [INFO] [stdout] | ____________^ [INFO] [stdout] 117 | | temp.register_shortcode_fns()? [INFO] [stdout] 118 | | } else { [INFO] [stdout] 119 | | temp [INFO] [stdout] 120 | | }) [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/templates/mod.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | Ok(tp.clone()) [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/templates/definition.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 193 | let def: TemplateDefinition = serde_yaml::from_str(&s)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | Ok((f_base, def)) [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] = 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 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cdoc` (lib) due to 18 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/preprocessors/script.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(Box::new(ScriptPreprocessor { [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | name: self.name.clone(), [INFO] [stdout] 35 | | engine: ScriptEngine::new(&ctx.project_root, &script)?, [INFO] [stdout] 36 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________| [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/renderers/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 65 | let mut ref_visit = ReferenceVisitor::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | ref_visit.walk_ast(&mut doc.content.blocks)?; [INFO] [stdout] 67 | let rbt = references_by_type(&mut ref_visit.references); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(RenderContext { [INFO] [stdout] | ____________^ [INFO] [stdout] 77 | | doc, [INFO] [stdout] 78 | | templates, [INFO] [stdout] 79 | | extra_args, [INFO] [stdout] ... | [INFO] [stdout] 86 | | references_by_type: rbt, [INFO] [stdout] 87 | | }) [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/renderers/extensions/structure.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | .map(|p| (p.key.unwrap(), p.value)) [INFO] [stdout] | - ^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/renderers/generic.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 39 | extensions: Vec>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | let content = String::from_utf8(cursor.get_ref().clone())?.into(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | Ok(Document { [INFO] [stdout] | ____________^ [INFO] [stdout] 51 | | content, [INFO] [stdout] 52 | | meta: ctx.doc.meta.clone(), [INFO] [stdout] 53 | | code_outputs: ctx.doc.code_outputs.clone(), [INFO] [stdout] 54 | | }) [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/renderers/generic.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 67 | let value: CowStr = match &p.value { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok(RenderedParam { [INFO] [stdout] | ____________________^ [INFO] [stdout] 74 | | key: p.key.clone(), [INFO] [stdout] 75 | | value, [INFO] [stdout] 76 | | }) [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/renderers/json.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 15 | _extensions: Vec>, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ) -> anyhow::Result> { [INFO] [stdout] 17 | let d = ctx.doc.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let new_content: CowStr = serde_json::to_string_pretty(&ctx.doc)?.into(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Ok(d.map(|_| new_content.clone())) [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/renderers/notebook.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 26 | extensions: Vec>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | ) -> Result> { [INFO] [stdout] 28 | let renderer = GenericRenderer::default(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let writer = NotebookWriter { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | let notebook: Notebook = writer.convert(ctx.doc.content.clone())?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let output = serde_json::to_string_pretty(¬ebook) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Ok(Document { [INFO] [stdout] | ____________^ [INFO] [stdout] 48 | | content: output, [INFO] [stdout] 49 | | meta: ctx.doc.meta.clone(), [INFO] [stdout] 50 | | code_outputs: ctx.doc.code_outputs.clone(), [INFO] [stdout] 51 | | }) [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/renderers/notebook.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 169 | fn convert(mut self, mut ast: Ast) -> Result { [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] ... [INFO] [stdout] 178 | let import = Cell::Code { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | let mut buf = BufWriter::new(Vec::new()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | let mut cells = vec![import]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | Ok(Notebook { [INFO] [stdout] | ____________^ [INFO] [stdout] 221 | | metadata: self.notebook_meta, [INFO] [stdout] 222 | | nbformat: 4, [INFO] [stdout] 223 | | nbformat_minor: 5, [INFO] [stdout] 224 | | cells, [INFO] [stdout] 225 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/scripting/mod.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 24 | fn from(value: reqwest::blocking::Response) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | text: value.text().unwrap(), [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/scripting/mod.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 54 | let mut engine = Engine::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let module = exported_module!(types::rhai_inline_type); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let ast = engine.compile(script)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(ScriptEngine { ast, engine }) [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/scripting/types.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn Math(label: Option, source: CowStr, display_block: bool, pos: Span) -> Inline { [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] 42 | Inline::Math(Math { [INFO] [stdout] | ______________________^ [INFO] [stdout] 43 | | label, [INFO] [stdout] 44 | | source, [INFO] [stdout] 45 | | display_block, [INFO] [stdout] 46 | | span: pos, [INFO] [stdout] 47 | | }) [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/templates/mod.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 22 | let eng = Engine::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let mut scope = Scope::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let res: Dynamic = eng.eval_with_scope(&mut scope, &source).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | [INFO] [stdout] 28 | Ok(serde_json::to_value(res).unwrap()) [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/templates/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 34 | temp: TemplateManager, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | / move |args: &HashMap| -> tera::Result { [INFO] [stdout] 41 | | let mut ctx = Context::new(); [INFO] [stdout] 42 | | args.iter().for_each(|(k, v)| { [INFO] [stdout] 43 | | let s = &v.to_string(); [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | }, [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/templates/mod.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 34 | temp: TemplateManager, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | match temp.render(&id, &template_prefix, type_.clone(), &ctx, &mut buf) { [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/templates/mod.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 94 | definitions: HashMap, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let mut tera = Tera::new(&format!("{}/sources/**.html", dir.to_str().unwrap()))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | let temp = TemplateManager { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | Ok(if create_filters { [INFO] [stdout] | ____________^ [INFO] [stdout] 117 | | temp.register_shortcode_fns()? [INFO] [stdout] 118 | | } else { [INFO] [stdout] 119 | | temp [INFO] [stdout] 120 | | }) [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/templates/mod.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | Ok(tp.clone()) [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/templates/definition.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 193 | let def: TemplateDefinition = serde_yaml::from_str(&s)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | Ok((f_base, def)) [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] = 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 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cdoc` (lib test) due to 18 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fe36c33c7aee665946e3a9e70093ed4c6e2b1265aa04b914a84be4a34b97bb57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe36c33c7aee665946e3a9e70093ed4c6e2b1265aa04b914a84be4a34b97bb57", kill_on_drop: false }` [INFO] [stdout] fe36c33c7aee665946e3a9e70093ed4c6e2b1265aa04b914a84be4a34b97bb57