[INFO] fetching crate kiss_xml 1.0.0... [INFO] checking kiss_xml-1.0.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate kiss_xml 1.0.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate kiss_xml 1.0.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kiss_xml 1.0.0 [INFO] finished tweaking crates.io crate kiss_xml 1.0.0 [INFO] tweaked toml for crates.io crate kiss_xml 1.0.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 49 packages to latest compatible versions [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab68dd01f6cc8f32c436e82bd2dacfc9d4ff7fef88d82a92efdcedd638cfdf17 [INFO] running `Command { std: "docker" "start" "-a" "ab68dd01f6cc8f32c436e82bd2dacfc9d4ff7fef88d82a92efdcedd638cfdf17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab68dd01f6cc8f32c436e82bd2dacfc9d4ff7fef88d82a92efdcedd638cfdf17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab68dd01f6cc8f32c436e82bd2dacfc9d4ff7fef88d82a92efdcedd638cfdf17", kill_on_drop: false }` [INFO] [stdout] ab68dd01f6cc8f32c436e82bd2dacfc9d4ff7fef88d82a92efdcedd638cfdf17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e632d2896b4bb3960321f6359aa753efc487a3285781892ba9894a29ae07edc [INFO] running `Command { std: "docker" "start" "-a" "7e632d2896b4bb3960321f6359aa753efc487a3285781892ba9894a29ae07edc", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking kiss_xml v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1045:74 [INFO] [stdout] | [INFO] [stdout] 1045 | pub fn search<'a, P>(&'a self, predicate: P) -> Box> + '_> where P: FnMut(&&Box) -> bool... [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1045:92 [INFO] [stdout] | [INFO] [stdout] 1045 | ...earch<'a, P>(&'a self, predicate: P) -> Box> + '_> where P: FnMut(&&Box) -> bool + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1080:84 [INFO] [stdout] | [INFO] [stdout] 1080 | pub fn search_elements<'a, P>(&'a self, predicate: P) -> Box + '_> where P: FnMut(&&Element) -> bool ... [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1080:96 [INFO] [stdout] | [INFO] [stdout] 1080 | pub fn search_elements<'a, P>(&'a self, predicate: P) -> Box + '_> where P: FnMut(&&Element) -> bool ... [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1123:79 [INFO] [stdout] | [INFO] [stdout] 1123 | pub fn search_text<'a, P>(&'a self, predicate: P) -> Box + '_> where P: Fn(&&Text) -> bool + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1123:88 [INFO] [stdout] | [INFO] [stdout] 1123 | pub fn search_text<'a, P>(&'a self, predicate: P) -> Box + '_> where P: Fn(&&Text) -> bool + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1133:83 [INFO] [stdout] | [INFO] [stdout] 1133 | pub fn search_comments<'a, P>(&'a self, predicate: P) -> Box + '_> where P: Fn(&&Comment) -> bool + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1133:95 [INFO] [stdout] | [INFO] [stdout] 1133 | pub fn search_comments<'a, P>(&'a self, predicate: P) -> Box + '_> where P: Fn(&&Comment) -> bool + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stdout] error: missing documentation for the crate [INFO] [stdout] --> tests/example1.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / #[test] [INFO] [stdout] 3 | | fn example1() { [INFO] [stdout] 4 | | use kiss_xml; [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for the crate [INFO] [stdout] --> tests/example2.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / #[test] [INFO] [stdout] 3 | | fn example1() { [INFO] [stdout] 4 | | use kiss_xml; [INFO] [stdout] 5 | | use kiss_xml::dom::Element; [INFO] [stdout] ... | [INFO] [stdout] 27 | | println!("{}", doc.to_string()) [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for the crate [INFO] [stdout] --> tests/example3.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / #[test] [INFO] [stdout] 3 | | fn example3() -> Result<(), kiss_xml::errors::KissXmlError>{ [INFO] [stdout] 4 | | use kiss_xml; [INFO] [stdout] 5 | | use kiss_xml::dom::*; [INFO] [stdout] ... | [INFO] [stdout] 14 | | Ok(()) [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for the crate [INFO] [stdout] --> tests/failure_handling.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / #[test] [INFO] [stdout] 3 | | fn test_unclosed_root() { [INFO] [stdout] 4 | | use kiss_xml; [INFO] [stdout] 5 | | assert!(kiss_xml::parse_str( [INFO] [stdout] ... | [INFO] [stdout] 17 | | ) [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kiss_xml` (test "example1") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kiss_xml` (test "failure_handling") due to 2 previous errors [INFO] [stderr] error: could not compile `kiss_xml` (test "example3") due to 2 previous errors [INFO] [stderr] error: could not compile `kiss_xml` (test "example2") due to 2 previous errors [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1045:74 [INFO] [stdout] | [INFO] [stdout] 1045 | pub fn search<'a, P>(&'a self, predicate: P) -> Box> + '_> where P: FnMut(&&Box) -> bool... [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1045:92 [INFO] [stdout] | [INFO] [stdout] 1045 | ...earch<'a, P>(&'a self, predicate: P) -> Box> + '_> where P: FnMut(&&Box) -> bool + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1080:84 [INFO] [stdout] | [INFO] [stdout] 1080 | pub fn search_elements<'a, P>(&'a self, predicate: P) -> Box + '_> where P: FnMut(&&Element) -> bool ... [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1080:96 [INFO] [stdout] | [INFO] [stdout] 1080 | pub fn search_elements<'a, P>(&'a self, predicate: P) -> Box + '_> where P: FnMut(&&Element) -> bool ... [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1123:79 [INFO] [stdout] | [INFO] [stdout] 1123 | pub fn search_text<'a, P>(&'a self, predicate: P) -> Box + '_> where P: Fn(&&Text) -> bool + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1123:88 [INFO] [stdout] | [INFO] [stdout] 1123 | pub fn search_text<'a, P>(&'a self, predicate: P) -> Box + '_> where P: Fn(&&Text) -> bool + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1133:83 [INFO] [stdout] | [INFO] [stdout] 1133 | pub fn search_comments<'a, P>(&'a self, predicate: P) -> Box + '_> where P: Fn(&&Comment) -> bool + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dom.rs:1133:95 [INFO] [stdout] | [INFO] [stdout] 1133 | pub fn search_comments<'a, P>(&'a self, predicate: P) -> Box + '_> where P: Fn(&&Comment) -> bool + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `impl Iterator>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/simple.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 197 | let dom = kiss_xml::parse_str(xml).unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | for n1 in dom.root_element().all_children() { [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: missing documentation for the crate [INFO] [stdout] --> tests/simple.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use kiss_xml; [INFO] [stdout] 2 | | use kiss_xml::dom::*; [INFO] [stdout] 3 | | use std::collections::HashMap; [INFO] [stdout] 4 | | use std::error::Error; [INFO] [stdout] ... | [INFO] [stdout] 234 | | assert_eq!(child_nodes[2].text().as_str(), " to the store ", "Failed to preserve leading after serialize/de-serialize cycle"); [INFO] [stdout] 235 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kiss_xml` (test "simple") due to 3 previous errors [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7e632d2896b4bb3960321f6359aa753efc487a3285781892ba9894a29ae07edc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e632d2896b4bb3960321f6359aa753efc487a3285781892ba9894a29ae07edc", kill_on_drop: false }` [INFO] [stdout] 7e632d2896b4bb3960321f6359aa753efc487a3285781892ba9894a29ae07edc