[INFO] fetching crate rdftk_io 0.2.1... [INFO] checking rdftk_io-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rdftk_io 0.2.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate rdftk_io 0.2.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 rdftk_io 0.2.1 [INFO] finished tweaking crates.io crate rdftk_io 0.2.1 [INFO] tweaked toml for crates.io crate rdftk_io 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 103 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding ctor v0.1.26 (latest: v0.2.8) [INFO] [stderr] Adding env_logger v0.7.1 (latest: v0.11.5) [INFO] [stderr] Adding env_logger v0.8.4 (latest: v0.11.5) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding pretty_assertions v0.7.2 (latest: v1.4.0) [INFO] [stderr] Adding pretty_env_logger v0.4.0 (latest: v0.5.0) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding uuid v0.8.2 (latest: v1.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [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] a4ed77f6c31f410e151da93be24023cd7b0161b78cb019d69271860ee1297ab1 [INFO] running `Command { std: "docker" "start" "-a" "a4ed77f6c31f410e151da93be24023cd7b0161b78cb019d69271860ee1297ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4ed77f6c31f410e151da93be24023cd7b0161b78cb019d69271860ee1297ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4ed77f6c31f410e151da93be24023cd7b0161b78cb019d69271860ee1297ab1", kill_on_drop: false }` [INFO] [stdout] a4ed77f6c31f410e151da93be24023cd7b0161b78cb019d69271860ee1297ab1 [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] 5fc358679b3837205beca1637ed7717369f9f57a89a351eb1edda84617220411 [INFO] running `Command { std: "docker" "start" "-a" "5fc358679b3837205beca1637ed7717369f9f57a89a351eb1edda84617220411", kill_on_drop: false }` [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking bimap v0.6.3 [INFO] [stderr] Checking pest v2.7.11 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking xml-rs v0.8.21 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking pretty_assertions v0.7.2 [INFO] [stderr] Checking blob-uuid v0.5.0 [INFO] [stderr] Checking unique_id v0.1.5 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking rdftk_iri v0.1.9 [INFO] [stderr] Checking rdftk_names v0.1.9 [INFO] [stderr] Checking rdftk_core v0.3.1 [INFO] [stderr] Checking rdftk_io v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/xml/reader.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | let mut event_reader = xml::EventReader::new(r); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 90 - let mut event_reader = xml::EventReader::new(r); [INFO] [stdout] 90 + let mut event_reader = EventReader::new(r); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/xml/reader.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | let mut event_reader = xml::EventReader::new(r); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 90 - let mut event_reader = xml::EventReader::new(r); [INFO] [stdout] 90 + let mut event_reader = EventReader::new(r); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `subject` is never read [INFO] [stdout] --> src/xml/reader.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | subject = Some(subject_node); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subject` [INFO] [stdout] --> src/xml/reader.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | subject: Option<&SubjectNodeRef>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `no_child_elements` is never read [INFO] [stdout] --> src/xml/reader.rs:358:21 [INFO] [stdout] | [INFO] [stdout] 358 | no_child_elements = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/xml/reader.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_elements` is never read [INFO] [stdout] --> src/xml/reader.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | has_elements = true; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/xml/reader.rs:476:39 [INFO] [stdout] | [INFO] [stdout] 476 | Ok(XmlEvent::EndElement { name }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_characters` is never read [INFO] [stdout] --> src/xml/reader.rs:485:17 [INFO] [stdout] | [INFO] [stdout] 485 | has_characters = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_characters` is never read [INFO] [stdout] --> src/xml/reader.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | has_characters = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `subject` is never read [INFO] [stdout] --> src/xml/reader.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | subject = Some(subject_node); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subject` [INFO] [stdout] --> src/xml/reader.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | subject: Option<&SubjectNodeRef>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `no_child_elements` is never read [INFO] [stdout] --> src/xml/reader.rs:358:21 [INFO] [stdout] | [INFO] [stdout] 358 | no_child_elements = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/xml/reader.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_elements` is never read [INFO] [stdout] --> src/xml/reader.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | has_elements = true; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/xml/reader.rs:476:39 [INFO] [stdout] | [INFO] [stdout] 476 | Ok(XmlEvent::EndElement { name }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_characters` is never read [INFO] [stdout] --> src/xml/reader.rs:485:17 [INFO] [stdout] | [INFO] [stdout] 485 | has_characters = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_characters` is never read [INFO] [stdout] --> src/xml/reader.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | has_characters = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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/json/reader.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 53 | let value: Value = serde_json::from_reader(r).map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | rdftk_core::error::Error::with_chain(e, ErrorKind::ReadWrite(super::NAME.to_string())) [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/json/writer.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 140 | fn json_error(e: serde_json::Error) -> Error { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | error!("Error parsing JSON source: {:?}", e); [INFO] [stdout] 142 | Error::with_chain(e, ErrorKind::ReadWrite(NAME.to_string())) [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/nq/writer.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn named(name: GraphNameRef) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Self { name: Some(name) } [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/nq/writer.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 113 | fn io_error(e: std::io::Error) -> rdftk_core::error::Error { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | use rdftk_core::error::ErrorKind; [INFO] [stdout] 115 | rdftk_core::error::Error::with_chain(e, ErrorKind::ReadWrite(super::NAME.to_string())) [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/nt/reader.rs:69:45 [INFO] [stdout] | [INFO] [stdout] 67 | fn io_error(e: std::io::Error) -> rdftk_core::error::Error { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | use rdftk_core::error::ErrorKind; [INFO] [stdout] 69 | rdftk_core::error::Error::with_chain(e, ErrorKind::ReadWrite(super::NAME.to_string())) [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] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/nt/writer.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | let graph = graph.borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Rc>` does not implement `Borrow`, so calling `borrow` on `&Rc>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 49 - let graph = graph.borrow(); [INFO] [stdout] 49 + let graph = graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/turtle/writer.rs:261:45 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn io_error(e: std::io::Error) -> rdftk_core::error::Error { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | use rdftk_core::error::ErrorKind; [INFO] [stdout] 261 | rdftk_core::error::Error::with_chain(e, ErrorKind::ReadWrite(super::NAME.to_string())) [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] warning: unused result of type `Option>` [INFO] [stdout] --> src/xml/reader.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | / ... parse_subject_element( [INFO] [stdout] 411 | | ... event_reader, [INFO] [stdout] 412 | | ... if attributes.uri_base.is_some() { [INFO] [stdout] 413 | | ... &attributes.uri_base [INFO] [stdout] ... | [INFO] [stdout] 418 | | ... graph, [INFO] [stdout] 419 | | ... )?; [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | unused_results, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused result of type `Option>` [INFO] [stdout] --> src/xml/reader.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | / parse_subject_element( [INFO] [stdout] 466 | | event_reader, [INFO] [stdout] 467 | | if attributes.uri_base.is_some() { [INFO] [stdout] 468 | | &attributes.uri_base [INFO] [stdout] ... | [INFO] [stdout] 473 | | graph, [INFO] [stdout] 474 | | )?; [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/xml/writer.rs:347:45 [INFO] [stdout] | [INFO] [stdout] 346 | fn xml_error(e: xml::writer::Error) -> rdftk_core::error::Error { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 347 | rdftk_core::error::Error::with_chain(e, ErrorKind::ReadWrite(super::NAME.to_string())) [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/json/reader.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 53 | let value: Value = serde_json::from_reader(r).map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | rdftk_core::error::Error::with_chain(e, ErrorKind::ReadWrite(super::NAME.to_string())) [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/json/writer.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 140 | fn json_error(e: serde_json::Error) -> Error { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | error!("Error parsing JSON source: {:?}", e); [INFO] [stdout] 142 | Error::with_chain(e, ErrorKind::ReadWrite(NAME.to_string())) [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/nq/writer.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn named(name: GraphNameRef) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Self { name: Some(name) } [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/nq/writer.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 113 | fn io_error(e: std::io::Error) -> rdftk_core::error::Error { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | use rdftk_core::error::ErrorKind; [INFO] [stdout] 115 | rdftk_core::error::Error::with_chain(e, ErrorKind::ReadWrite(super::NAME.to_string())) [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/nt/reader.rs:69:45 [INFO] [stdout] | [INFO] [stdout] 67 | fn io_error(e: std::io::Error) -> rdftk_core::error::Error { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | use rdftk_core::error::ErrorKind; [INFO] [stdout] 69 | rdftk_core::error::Error::with_chain(e, ErrorKind::ReadWrite(super::NAME.to_string())) [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 7 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/nt/writer.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | let graph = graph.borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Rc>` does not implement `Borrow`, so calling `borrow` on `&Rc>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 49 - let graph = graph.borrow(); [INFO] [stdout] 49 + let graph = graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/turtle/writer.rs:261:45 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn io_error(e: std::io::Error) -> rdftk_core::error::Error { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | use rdftk_core::error::ErrorKind; [INFO] [stdout] 261 | rdftk_core::error::Error::with_chain(e, ErrorKind::ReadWrite(super::NAME.to_string())) [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] warning: unused result of type `Option>` [INFO] [stdout] --> src/xml/reader.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | / ... parse_subject_element( [INFO] [stdout] 411 | | ... event_reader, [INFO] [stdout] 412 | | ... if attributes.uri_base.is_some() { [INFO] [stdout] 413 | | ... &attributes.uri_base [INFO] [stdout] ... | [INFO] [stdout] 418 | | ... graph, [INFO] [stdout] 419 | | ... )?; [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | unused_results, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused result of type `Option>` [INFO] [stdout] --> src/xml/reader.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | / parse_subject_element( [INFO] [stdout] 466 | | event_reader, [INFO] [stdout] 467 | | if attributes.uri_base.is_some() { [INFO] [stdout] 468 | | &attributes.uri_base [INFO] [stdout] ... | [INFO] [stdout] 473 | | graph, [INFO] [stdout] 474 | | )?; [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/xml/writer.rs:347:45 [INFO] [stdout] | [INFO] [stdout] 346 | fn xml_error(e: xml::writer::Error) -> rdftk_core::error::Error { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 347 | rdftk_core::error::Error::with_chain(e, ErrorKind::ReadWrite(super::NAME.to_string())) [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] [stderr] error: could not compile `rdftk_io` (lib test) due to 8 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 7 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rdftk_io` (lib) due to 8 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5fc358679b3837205beca1637ed7717369f9f57a89a351eb1edda84617220411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fc358679b3837205beca1637ed7717369f9f57a89a351eb1edda84617220411", kill_on_drop: false }` [INFO] [stdout] 5fc358679b3837205beca1637ed7717369f9f57a89a351eb1edda84617220411