[INFO] fetching crate pdfium-render 0.8.24... [INFO] checking pdfium-render-0.8.24 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate pdfium-render 0.8.24 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate pdfium-render 0.8.24 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] removed /workspace/builds/worker-6-tc2/source/.cargo/config [INFO] started tweaking crates.io crate pdfium-render 0.8.24 [INFO] finished tweaking crates.io crate pdfium-render 0.8.24 [INFO] tweaked toml for crates.io crate pdfium-render 0.8.24 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate pdfium-render 0.8.24 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 75f5d609d268fd17080242c8010ec3c9e7303851143696b4e0a62d4602622e13 [INFO] running `Command { std: "docker" "start" "-a" "75f5d609d268fd17080242c8010ec3c9e7303851143696b4e0a62d4602622e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75f5d609d268fd17080242c8010ec3c9e7303851143696b4e0a62d4602622e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75f5d609d268fd17080242c8010ec3c9e7303851143696b4e0a62d4602622e13", kill_on_drop: false }` [INFO] [stdout] 75f5d609d268fd17080242c8010ec3c9e7303851143696b4e0a62d4602622e13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 754fa54ba5318b267096e98eb7e0611618018fa53b78866964dc59ed5f865f74 [INFO] running `Command { std: "docker" "start" "-a" "754fa54ba5318b267096e98eb7e0611618018fa53b78866964dc59ed5f865f74", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Checking bytemuck v1.16.3 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking bitstream-io v2.5.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking rgb v0.8.48 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking image-webp v0.1.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking piston-float v1.0.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking utf16string v0.2.0 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking maybe-owned v0.3.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pdfium-render v0.8.24 (/opt/rustwide/workdir) [INFO] [stderr] Checking ravif v0.11.10 [INFO] [stderr] Checking image v0.25.2 [INFO] [stdout] warning: method `bindings` is never used [INFO] [stdout] --> src/pdf/path/clip_path.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a> PdfClipPath<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 26 | #[inline] [INFO] [stdout] 27 | pub fn bindings(&self) -> &'a dyn PdfiumLibraryBindings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/bindings/thread_safe.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn new(single_threaded_bindings: T) -> Self { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | lock: RefCell::new(None), [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/pdf/document.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 180 | let form = PdfForm::from_pdfium(handle, bindings); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | fonts: PdfFonts::from_pdfium(handle, bindings), [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/pdf/document.rs:198:33 [INFO] [stdout] | [INFO] [stdout] 180 | let form = PdfForm::from_pdfium(handle, bindings); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | file_access_reader: None, [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/pdf/document/page/annotation/objects.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 120 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | ) -> Result, PdfiumError> { [INFO] [stdout] 122 | object.add_object_to_annotation(self).and_then(|_| { [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/pdf/document/page/annotation/objects.rs:122:56 [INFO] [stdout] | [INFO] [stdout] 120 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | ) -> Result, PdfiumError> { [INFO] [stdout] 122 | object.add_object_to_annotation(self).and_then(|_| { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 123 | | if self.do_regenerate_page_content_after_each_change { [INFO] [stdout] 124 | | if self [INFO] [stdout] 125 | | .bindings [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | }) [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/pdf/document/page/annotation/objects.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 142 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | ) -> Result, PdfiumError> { [INFO] [stdout] 144 | object.remove_object_from_annotation().and_then(|_| { [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/pdf/document/page/annotation/objects.rs:144:57 [INFO] [stdout] | [INFO] [stdout] 142 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | ) -> Result, PdfiumError> { [INFO] [stdout] 144 | object.remove_object_from_annotation().and_then(|_| { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 145 | | if self.do_regenerate_page_content_after_each_change { [INFO] [stdout] 146 | | if self [INFO] [stdout] 147 | | .bindings [INFO] [stdout] ... | [INFO] [stdout] 158 | | } [INFO] [stdout] 159 | | }) [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/pdf/document/page/object/image.rs:508:16 [INFO] [stdout] | [INFO] [stdout] 508 | .ok_or(PdfiumError::ImageError) [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/pdf/document/page/object/image.rs:746:12 [INFO] [stdout] | [INFO] [stdout] 746 | Ok(PdfPageObject::Image(copy)) [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/pdf/document/page/object/path.rs:994:12 [INFO] [stdout] | [INFO] [stdout] 994 | Ok(PdfPageObject::Path(copy)) [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/pdf/document/page/object/text.rs:506:12 [INFO] [stdout] | [INFO] [stdout] 506 | Ok(PdfPageObject::Text(copy)) [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/pdf/document/page/objects.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 142 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | ) -> Result, PdfiumError> { [INFO] [stdout] 144 | object.add_object_to_page(self).and_then(|_| { [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/pdf/document/page/objects.rs:144:50 [INFO] [stdout] | [INFO] [stdout] 142 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | ) -> Result, PdfiumError> { [INFO] [stdout] 144 | object.add_object_to_page(self).and_then(|_| { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 145 | | if self.do_regenerate_page_content_after_each_change { [INFO] [stdout] 146 | | if !self [INFO] [stdout] 147 | | .bindings [INFO] [stdout] ... | [INFO] [stdout] 158 | | } [INFO] [stdout] 159 | | }) [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/pdf/document/page/objects.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | ) -> Result, PdfiumError> { [INFO] [stdout] 166 | object.remove_object_from_page().and_then(|_| { [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/pdf/document/page/objects.rs:166:51 [INFO] [stdout] | [INFO] [stdout] 164 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | ) -> Result, PdfiumError> { [INFO] [stdout] 166 | object.remove_object_from_page().and_then(|_| { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 167 | | if self.do_regenerate_page_content_after_each_change { [INFO] [stdout] 168 | | if self [INFO] [stdout] 169 | | .bindings [INFO] [stdout] ... | [INFO] [stdout] 180 | | } [INFO] [stdout] 181 | | }) [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/pdf/document/page/text.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 157 | let mut new_page = PdfPage::from_pdfium( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | let copy = object.try_copy_impl(self.page.document_handle(), self.bindings)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | [INFO] [stdout] 174 | let copy = new_page.objects_mut().add_object(copy)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | let text_page = new_page.text()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 211 | Ok(PdfPageTextChars::new_with_owned_page( [INFO] [stdout] | ____________^ [INFO] [stdout] 212 | | document_handle, [INFO] [stdout] 213 | | page_index, [INFO] [stdout] 214 | | start_index as i32, [INFO] [stdout] 215 | | end_index as i32 + 1, [INFO] [stdout] 216 | | self.bindings, [INFO] [stdout] 217 | | )) [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] | | 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/pdf/document/page/text/chars.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 68 | let page = PdfPage::from_pdfium(document_handle, page_handle, None, None, bindings); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | source_page: Some(page), [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/pdfium.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 77 | let bindings = DynamicPdfiumBindings::new( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | let bindings = ThreadSafePdfiumBindings::new(bindings); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | [INFO] [stdout] 86 | Ok(Box::new(bindings)) [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] = 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/pdfium.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 118 | path: impl AsRef, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | ) -> Result, PdfiumError> { [INFO] [stdout] 120 | let bindings = DynamicPdfiumBindings::new( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | let bindings = ThreadSafePdfiumBindings::new(bindings); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | [INFO] [stdout] 129 | Ok(Box::new(bindings)) [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] = 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/pdfium.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 292 | reader: R, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | let mut reader = get_pdfium_file_accessor_from_reader(reader); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | [INFO] [stdout] 297 | / Pdfium::pdfium_document_handle_to_result( [INFO] [stdout] 298 | | self.bindings [INFO] [stdout] 299 | | .FPDF_LoadCustomDocument(reader.as_fpdf_file_access_mut_ptr(), password), [INFO] [stdout] 300 | | self.bindings(), [INFO] [stdout] 301 | | ) [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/pdfium.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 292 | reader: R, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | let mut reader = get_pdfium_file_accessor_from_reader(reader); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 302 | .map(|mut document| { [INFO] [stdout] | ______________^ [INFO] [stdout] 303 | | // Give the newly-created document ownership of the reader, so that Pdfium can continue [INFO] [stdout] 304 | | // to read from it on an as-needed basis throughout the lifetime of the document. [INFO] [stdout] ... | [INFO] [stdout] 308 | | document [INFO] [stdout] 309 | | }) [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 21 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pdfium-render` (lib) due to 22 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `bindings` is never used [INFO] [stdout] --> src/pdf/path/clip_path.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a> PdfClipPath<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 26 | #[inline] [INFO] [stdout] 27 | pub fn bindings(&self) -> &'a dyn PdfiumLibraryBindings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/bindings/thread_safe.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn new(single_threaded_bindings: T) -> Self { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | lock: RefCell::new(None), [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/pdf/document.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 180 | let form = PdfForm::from_pdfium(handle, bindings); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | fonts: PdfFonts::from_pdfium(handle, bindings), [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/pdf/document.rs:198:33 [INFO] [stdout] | [INFO] [stdout] 180 | let form = PdfForm::from_pdfium(handle, bindings); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | file_access_reader: None, [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/pdf/document/page/annotation/objects.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 120 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | ) -> Result, PdfiumError> { [INFO] [stdout] 122 | object.add_object_to_annotation(self).and_then(|_| { [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/pdf/document/page/annotation/objects.rs:122:56 [INFO] [stdout] | [INFO] [stdout] 120 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | ) -> Result, PdfiumError> { [INFO] [stdout] 122 | object.add_object_to_annotation(self).and_then(|_| { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 123 | | if self.do_regenerate_page_content_after_each_change { [INFO] [stdout] 124 | | if self [INFO] [stdout] 125 | | .bindings [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | }) [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/pdf/document/page/annotation/objects.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 142 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | ) -> Result, PdfiumError> { [INFO] [stdout] 144 | object.remove_object_from_annotation().and_then(|_| { [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/pdf/document/page/annotation/objects.rs:144:57 [INFO] [stdout] | [INFO] [stdout] 142 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | ) -> Result, PdfiumError> { [INFO] [stdout] 144 | object.remove_object_from_annotation().and_then(|_| { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 145 | | if self.do_regenerate_page_content_after_each_change { [INFO] [stdout] 146 | | if self [INFO] [stdout] 147 | | .bindings [INFO] [stdout] ... | [INFO] [stdout] 158 | | } [INFO] [stdout] 159 | | }) [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/pdf/document/page/object/image.rs:508:16 [INFO] [stdout] | [INFO] [stdout] 508 | .ok_or(PdfiumError::ImageError) [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/pdf/document/page/object/image.rs:746:12 [INFO] [stdout] | [INFO] [stdout] 746 | Ok(PdfPageObject::Image(copy)) [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/pdf/document/page/object/path.rs:994:12 [INFO] [stdout] | [INFO] [stdout] 994 | Ok(PdfPageObject::Path(copy)) [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/pdf/document/page/object/text.rs:506:12 [INFO] [stdout] | [INFO] [stdout] 506 | Ok(PdfPageObject::Text(copy)) [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/pdf/document/page/objects.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 142 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | ) -> Result, PdfiumError> { [INFO] [stdout] 144 | object.add_object_to_page(self).and_then(|_| { [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/pdf/document/page/objects.rs:144:50 [INFO] [stdout] | [INFO] [stdout] 142 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | ) -> Result, PdfiumError> { [INFO] [stdout] 144 | object.add_object_to_page(self).and_then(|_| { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 145 | | if self.do_regenerate_page_content_after_each_change { [INFO] [stdout] 146 | | if !self [INFO] [stdout] 147 | | .bindings [INFO] [stdout] ... | [INFO] [stdout] 158 | | } [INFO] [stdout] 159 | | }) [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/pdf/document/page/objects.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | ) -> Result, PdfiumError> { [INFO] [stdout] 166 | object.remove_object_from_page().and_then(|_| { [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/pdf/document/page/objects.rs:166:51 [INFO] [stdout] | [INFO] [stdout] 164 | mut object: PdfPageObject<'a>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | ) -> Result, PdfiumError> { [INFO] [stdout] 166 | object.remove_object_from_page().and_then(|_| { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 167 | | if self.do_regenerate_page_content_after_each_change { [INFO] [stdout] 168 | | if self [INFO] [stdout] 169 | | .bindings [INFO] [stdout] ... | [INFO] [stdout] 180 | | } [INFO] [stdout] 181 | | }) [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/pdf/document/page/text.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 157 | let mut new_page = PdfPage::from_pdfium( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | let copy = object.try_copy_impl(self.page.document_handle(), self.bindings)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | [INFO] [stdout] 174 | let copy = new_page.objects_mut().add_object(copy)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | let text_page = new_page.text()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 211 | Ok(PdfPageTextChars::new_with_owned_page( [INFO] [stdout] | ____________^ [INFO] [stdout] 212 | | document_handle, [INFO] [stdout] 213 | | page_index, [INFO] [stdout] 214 | | start_index as i32, [INFO] [stdout] 215 | | end_index as i32 + 1, [INFO] [stdout] 216 | | self.bindings, [INFO] [stdout] 217 | | )) [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] | | 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/pdf/document/page/text/chars.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 68 | let page = PdfPage::from_pdfium(document_handle, page_handle, None, None, bindings); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | source_page: Some(page), [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/pdfium.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 77 | let bindings = DynamicPdfiumBindings::new( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | let bindings = ThreadSafePdfiumBindings::new(bindings); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | [INFO] [stdout] 86 | Ok(Box::new(bindings)) [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] = 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/pdfium.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 118 | path: impl AsRef, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | ) -> Result, PdfiumError> { [INFO] [stdout] 120 | let bindings = DynamicPdfiumBindings::new( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | let bindings = ThreadSafePdfiumBindings::new(bindings); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | [INFO] [stdout] 129 | Ok(Box::new(bindings)) [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] = 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/pdfium.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 292 | reader: R, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | let mut reader = get_pdfium_file_accessor_from_reader(reader); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | [INFO] [stdout] 297 | / Pdfium::pdfium_document_handle_to_result( [INFO] [stdout] 298 | | self.bindings [INFO] [stdout] 299 | | .FPDF_LoadCustomDocument(reader.as_fpdf_file_access_mut_ptr(), password), [INFO] [stdout] 300 | | self.bindings(), [INFO] [stdout] 301 | | ) [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/pdfium.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 292 | reader: R, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | let mut reader = get_pdfium_file_accessor_from_reader(reader); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 302 | .map(|mut document| { [INFO] [stdout] | ______________^ [INFO] [stdout] 303 | | // Give the newly-created document ownership of the reader, so that Pdfium can continue [INFO] [stdout] 304 | | // to read from it on an as-needed basis throughout the lifetime of the document. [INFO] [stdout] ... | [INFO] [stdout] 308 | | document [INFO] [stdout] 309 | | }) [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 21 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pdfium-render` (lib test) due to 22 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "754fa54ba5318b267096e98eb7e0611618018fa53b78866964dc59ed5f865f74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "754fa54ba5318b267096e98eb7e0611618018fa53b78866964dc59ed5f865f74", kill_on_drop: false }` [INFO] [stdout] 754fa54ba5318b267096e98eb7e0611618018fa53b78866964dc59ed5f865f74