[INFO] fetching crate diet-xml 0.2.2...
[INFO] testing diet-xml-0.2.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate diet-xml 0.2.2 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate diet-xml 0.2.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 57571eced15bebdab2ded4f7fc1912b059d0c43db750093379be6b7b480a4e35
[INFO] running `Command { std: "docker" "start" "-a" "57571eced15bebdab2ded4f7fc1912b059d0c43db750093379be6b7b480a4e35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "57571eced15bebdab2ded4f7fc1912b059d0c43db750093379be6b7b480a4e35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57571eced15bebdab2ded4f7fc1912b059d0c43db750093379be6b7b480a4e35", kill_on_drop: false }`
[INFO] [stdout] 57571eced15bebdab2ded4f7fc1912b059d0c43db750093379be6b7b480a4e35
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c171e2c1893586c36dbf6cec3c9ce57da3ede08ff1e371dab6e6109ab84fc19
[INFO] running `Command { std: "docker" "start" "-a" "3c171e2c1893586c36dbf6cec3c9ce57da3ede08ff1e371dab6e6109ab84fc19", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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 <element></element><element!2></element!2>\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)]` (part of `#[warn(unused)]`) 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 <element></element><element!2></element!2>\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 <element></element><element!2></element!2>\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)]` (part of `#[warn(unused)]`) 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<K: ToString>(&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<K: ToString>(&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<V: ToString>(&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<V: ToString>(&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.52s
[INFO] running `Command { std: "docker" "inspect" "3c171e2c1893586c36dbf6cec3c9ce57da3ede08ff1e371dab6e6109ab84fc19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c171e2c1893586c36dbf6cec3c9ce57da3ede08ff1e371dab6e6109ab84fc19", kill_on_drop: false }`
[INFO] [stdout] 3c171e2c1893586c36dbf6cec3c9ce57da3ede08ff1e371dab6e6109ab84fc19
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6edb963076b30272726c097d009d4098918651803aea5dff8d04d1c55cb06814
[INFO] running `Command { std: "docker" "start" "-a" "6edb963076b30272726c097d009d4098918651803aea5dff8d04d1c55cb06814", kill_on_drop: false }`
[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 <element></element><element!2></element!2>\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)]` (part of `#[warn(unused)]`) 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 <element></element><element!2></element!2>\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 <element></element><element!2></element!2>\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)]` (part of `#[warn(unused)]`) 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<K: ToString>(&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<K: ToString>(&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<V: ToString>(&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<V: ToString>(&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]    Compiling 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 <element></element><element!2></element!2>\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)]` (part of `#[warn(unused)]`) 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 <element></element><element!2></element!2>\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 <element></element><element!2></element!2>\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)]` (part of `#[warn(unused)]`) 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<K: ToString>(&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<K: ToString>(&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<V: ToString>(&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<V: ToString>(&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 `test` profile [unoptimized + debuginfo] target(s) in 0.91s
[INFO] running `Command { std: "docker" "inspect" "6edb963076b30272726c097d009d4098918651803aea5dff8d04d1c55cb06814", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6edb963076b30272726c097d009d4098918651803aea5dff8d04d1c55cb06814", kill_on_drop: false }`
[INFO] [stdout] 6edb963076b30272726c097d009d4098918651803aea5dff8d04d1c55cb06814
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] aba8f7c7513d76bba80bb20b25d3ed503a01fb8ca5530441a1a4d820d09645a8
[INFO] running `Command { std: "docker" "start" "-a" "aba8f7c7513d76bba80bb20b25d3ed503a01fb8ca5530441a1a4d820d09645a8", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]    --> src/schema.rs:108:71
[INFO] [stderr]     |
[INFO] [stderr] 108 | ...me((format!("Duplicate element: {} - to use duplicate element names\n apply !uniquesuffix to element in schemea eg <element></element><element!2></element!2>\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] [stderr]     |       ^                                                                                                                                                                                                                                                                                                              ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 108 -             true => { return Err(XmlSchemaError::DuplicateElementName((format!("Duplicate element: {} - to use duplicate element names\n apply !uniquesuffix to element in schemea eg <element></element><element!2></element!2>\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] [stderr] 108 +             true => { return Err(XmlSchemaError::DuplicateElementName(format!("Duplicate element: {} - to use duplicate element names\n apply !uniquesuffix to element in schemea eg <element></element><element!2></element!2>\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] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: function cannot return without recursing
[INFO] [stderr]    --> src/lib.rs:164:5
[INFO] [stderr]     |
[INFO] [stderr] 164 |     pub fn attributes(&mut self, attributes: &[(&str, &str)]) {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stderr] 165 |
[INFO] [stderr] 166 |         self.attributes(attributes);   
[INFO] [stderr]     |         --------------------------- recursive call site
[INFO] [stderr]     |
[INFO] [stderr]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stderr]     = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `attributes` is never used
[INFO] [stderr]   --> src/builder.rs:42:19
[INFO] [stderr]    |
[INFO] [stderr] 41 | impl<'a> ChainFromAdd<'a> {
[INFO] [stderr]    | ------------------------- method in this implementation
[INFO] [stderr] 42 |     pub(crate) fn attributes(self, attributes: &[(&str, &str)]) {
[INFO] [stderr]    |                   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/lib.rs:141:33
[INFO] [stderr]     |
[INFO] [stderr] 141 |     pub fn set_key<K: ToString>(&mut self, nm_element: &str, txt_key: K) -> ChainFromAdd {
[INFO] [stderr]     |                                 ^^^^^^^^^ the lifetime is elided here       ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 141 |     pub fn set_key<K: ToString>(&mut self, nm_element: &str, txt_key: K) -> ChainFromAdd<'_> {
[INFO] [stderr]     |                                                                                         ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/lib.rs:150:37
[INFO] [stderr]     |
[INFO] [stderr] 150 |     pub fn add_element<V: ToString>(&mut self, nm_element: &str, value_element: V) -> ChainFromAdd {
[INFO] [stderr]     |                                     ^^^^^^^^^ the lifetime is elided here             ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 150 |     pub fn add_element<V: ToString>(&mut self, nm_element: &str, value_element: V) -> ChainFromAdd<'_> {
[INFO] [stderr]     |                                                                                                   ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/builder.rs:149:27
[INFO] [stderr]     |
[INFO] [stderr] 149 |     pub(crate) fn set_key(&mut self, nm_element: &str, txt_key: &str) -> ChainFromAdd {
[INFO] [stderr]     |                           ^^^^^^^^^ the lifetime is elided here          ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 149 |     pub(crate) fn set_key(&mut self, nm_element: &str, txt_key: &str) -> ChainFromAdd<'_> {
[INFO] [stderr]     |                                                                                      ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/builder.rs:173:31
[INFO] [stderr]     |
[INFO] [stderr] 173 |     pub(crate) fn add_element(&mut self, nm_element: &str, value_element: &str) -> ChainFromAdd {
[INFO] [stderr]     |                               ^^^^^^^^^ the lifetime is elided here                ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 173 |     pub(crate) fn add_element(&mut self, nm_element: &str, value_element: &str) -> ChainFromAdd<'_> {
[INFO] [stderr]     |                                                                                                ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `diet-xml` (lib) generated 7 warnings (run `cargo fix --lib -p diet-xml` to apply 5 suggestions)
[INFO] [stderr] warning: `diet-xml` (lib test) generated 7 warnings (7 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/diet_xml-39a795b3307d425a)
[INFO] [stderr]    Doc-tests diet_xml
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test schema::tests::check_duplicate_detected ... ok
[INFO] [stdout] test schema::tests::set_schema ... ok
[INFO] [stdout] test schema::tests::check_tag_validation ... ok
[INFO] [stdout] test builder::tests::test_set_key ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]    --> src/schema.rs:108:71
[INFO] [stderr]     |
[INFO] [stderr] 108 | ...me((format!("Duplicate element: {} - to use duplicate element names\n apply !uniquesuffix to element in schemea eg <element></element><element!2></element!2>\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] [stderr]     |       ^                                                                                                                                                                                                                                                                                                              ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 108 -             true => { return Err(XmlSchemaError::DuplicateElementName((format!("Duplicate element: {} - to use duplicate element names\n apply !uniquesuffix to element in schemea eg <element></element><element!2></element!2>\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] [stderr] 108 +             true => { return Err(XmlSchemaError::DuplicateElementName(format!("Duplicate element: {} - to use duplicate element names\n apply !uniquesuffix to element in schemea eg <element></element><element!2></element!2>\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] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 6) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.72s; merged doctests compilation took 0.67s
[INFO] running `Command { std: "docker" "inspect" "aba8f7c7513d76bba80bb20b25d3ed503a01fb8ca5530441a1a4d820d09645a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aba8f7c7513d76bba80bb20b25d3ed503a01fb8ca5530441a1a4d820d09645a8", kill_on_drop: false }`
[INFO] [stdout] aba8f7c7513d76bba80bb20b25d3ed503a01fb8ca5530441a1a4d820d09645a8
