[INFO] fetching crate kiss_xml 1.0.0... [INFO] checking kiss_xml-1.0.0 against master#38352b01ae4af9300be03b805d6db68c45e51068 for pr-129864 [INFO] extracting crate kiss_xml 1.0.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate kiss_xml 1.0.0 on toolchain 38352b01ae4af9300be03b805d6db68c45e51068 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+38352b01ae4af9300be03b805d6db68c45e51068" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22f1b4faf300fd64626efd263506b7fbd16a7b3773dfdbf175f05170f1cc5bc2 [INFO] running `Command { std: "docker" "start" "-a" "22f1b4faf300fd64626efd263506b7fbd16a7b3773dfdbf175f05170f1cc5bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22f1b4faf300fd64626efd263506b7fbd16a7b3773dfdbf175f05170f1cc5bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f1b4faf300fd64626efd263506b7fbd16a7b3773dfdbf175f05170f1cc5bc2", kill_on_drop: false }` [INFO] [stdout] 22f1b4faf300fd64626efd263506b7fbd16a7b3773dfdbf175f05170f1cc5bc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9057e654092831705f6dadafb23f28c5dba9efeb2680b16d034032812ebd9783 [INFO] running `Command { std: "docker" "start" "-a" "9057e654092831705f6dadafb23f28c5dba9efeb2680b16d034032812ebd9783", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [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: 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] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: 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] [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: 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/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: 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 "example1") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kiss_xml` (test "simple") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "9057e654092831705f6dadafb23f28c5dba9efeb2680b16d034032812ebd9783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9057e654092831705f6dadafb23f28c5dba9efeb2680b16d034032812ebd9783", kill_on_drop: false }` [INFO] [stdout] 9057e654092831705f6dadafb23f28c5dba9efeb2680b16d034032812ebd9783