[INFO] fetching crate diet-xml 0.2.2... [INFO] checking diet-xml-0.2.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate diet-xml 0.2.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate diet-xml 0.2.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate diet-xml 0.2.2 [INFO] tweaked toml for crates.io crate diet-xml 0.2.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diet-xml 0.2.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate diet-xml 0.2.2 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35a307687eaf42449b148482e636d3310b613d74af12db0c75a2392602ab6f40 [INFO] running `Command { std: "docker" "start" "-a" "35a307687eaf42449b148482e636d3310b613d74af12db0c75a2392602ab6f40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35a307687eaf42449b148482e636d3310b613d74af12db0c75a2392602ab6f40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35a307687eaf42449b148482e636d3310b613d74af12db0c75a2392602ab6f40", kill_on_drop: false }` [INFO] [stdout] 35a307687eaf42449b148482e636d3310b613d74af12db0c75a2392602ab6f40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31dbbaf201c1626c78fef914c1a1ac0c3d88a2f6e33b26ca9e6668007782ccd9 [INFO] running `Command { std: "docker" "start" "-a" "31dbbaf201c1626c78fef914c1a1ac0c3d88a2f6e33b26ca9e6668007782ccd9", kill_on_drop: false }` [INFO] [stderr] Checking diet-xml v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/schema.rs:108:71 [INFO] [stdout] | [INFO] [stdout] 108 | ...me((format!("Duplicate element: {} - to use duplicate element names\n apply !uniquesuffix to element in schemea eg \n the suffix will not appear in final output\n but suffix should be used in all method calls eg add_element(\"element!2\",\"value\"))", self.buffer)))) } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 108 - true => { return Err(XmlSchemaError::DuplicateElementName((format!("Duplicate element: {} - to use duplicate element names\n apply !uniquesuffix to element in schemea eg \n the suffix will not appear in final output\n but suffix should be used in all method calls eg add_element(\"element!2\",\"value\"))", self.buffer)))) } [INFO] [stdout] 108 + true => { return Err(XmlSchemaError::DuplicateElementName(format!("Duplicate element: {} - to use duplicate element names\n apply !uniquesuffix to element in schemea eg \n the suffix will not appear in final output\n but suffix should be used in all method calls eg add_element(\"element!2\",\"value\"))", self.buffer))) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/schema.rs:108:71 [INFO] [stdout] | [INFO] [stdout] 108 | ...me((format!("Duplicate element: {} - to use duplicate element names\n apply !uniquesuffix to element in schemea eg \n the suffix will not appear in final output\n but suffix should be used in all method calls eg add_element(\"element!2\",\"value\"))", self.buffer)))) } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 108 - true => { return Err(XmlSchemaError::DuplicateElementName((format!("Duplicate element: {} - to use duplicate element names\n apply !uniquesuffix to element in schemea eg \n the suffix will not appear in final output\n but suffix should be used in all method calls eg add_element(\"element!2\",\"value\"))", self.buffer)))) } [INFO] [stdout] 108 + true => { return Err(XmlSchemaError::DuplicateElementName(format!("Duplicate element: {} - to use duplicate element names\n apply !uniquesuffix to element in schemea eg \n the suffix will not appear in final output\n but suffix should be used in all method calls eg add_element(\"element!2\",\"value\"))", self.buffer))) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn attributes(&mut self, attributes: &[(&str, &str)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 165 | [INFO] [stdout] 166 | self.attributes(attributes); [INFO] [stdout] | --------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `attributes` is never used [INFO] [stdout] --> src/builder.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> ChainFromAdd<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 42 | pub(crate) fn attributes(self, attributes: &[(&str, &str)]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn set_key(&mut self, nm_element: &str, txt_key: K) -> ChainFromAdd { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn set_key(&mut self, nm_element: &str, txt_key: K) -> ChainFromAdd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn add_element(&mut self, nm_element: &str, value_element: V) -> ChainFromAdd { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn add_element(&mut self, nm_element: &str, value_element: V) -> ChainFromAdd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builder.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) fn set_key(&mut self, nm_element: &str, txt_key: &str) -> ChainFromAdd { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) fn set_key(&mut self, nm_element: &str, txt_key: &str) -> ChainFromAdd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builder.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | pub(crate) fn add_element(&mut self, nm_element: &str, value_element: &str) -> ChainFromAdd { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 173 | pub(crate) fn add_element(&mut self, nm_element: &str, value_element: &str) -> ChainFromAdd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn attributes(&mut self, attributes: &[(&str, &str)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 165 | [INFO] [stdout] 166 | self.attributes(attributes); [INFO] [stdout] | --------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `attributes` is never used [INFO] [stdout] --> src/builder.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> ChainFromAdd<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 42 | pub(crate) fn attributes(self, attributes: &[(&str, &str)]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn set_key(&mut self, nm_element: &str, txt_key: K) -> ChainFromAdd { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn set_key(&mut self, nm_element: &str, txt_key: K) -> ChainFromAdd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn add_element(&mut self, nm_element: &str, value_element: V) -> ChainFromAdd { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn add_element(&mut self, nm_element: &str, value_element: V) -> ChainFromAdd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builder.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) fn set_key(&mut self, nm_element: &str, txt_key: &str) -> ChainFromAdd { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) fn set_key(&mut self, nm_element: &str, txt_key: &str) -> ChainFromAdd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builder.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | pub(crate) fn add_element(&mut self, nm_element: &str, value_element: &str) -> ChainFromAdd { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 173 | pub(crate) fn add_element(&mut self, nm_element: &str, value_element: &str) -> ChainFromAdd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "31dbbaf201c1626c78fef914c1a1ac0c3d88a2f6e33b26ca9e6668007782ccd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31dbbaf201c1626c78fef914c1a1ac0c3d88a2f6e33b26ca9e6668007782ccd9", kill_on_drop: false }` [INFO] [stdout] 31dbbaf201c1626c78fef914c1a1ac0c3d88a2f6e33b26ca9e6668007782ccd9