[INFO] fetching crate diet-xml 0.2.2...
[INFO] testing diet-xml-0.2.2 against beta-2025-09-21 for beta-1.91-3
[INFO] extracting crate diet-xml 0.2.2 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate diet-xml 0.2.2 on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be40d96782c43dda3c89ea5a5ff9c21f282b68050fa8124455b5fc860f1c8b57
[INFO] running `Command { std: "docker" "start" "-a" "be40d96782c43dda3c89ea5a5ff9c21f282b68050fa8124455b5fc860f1c8b57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be40d96782c43dda3c89ea5a5ff9c21f282b68050fa8124455b5fc860f1c8b57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be40d96782c43dda3c89ea5a5ff9c21f282b68050fa8124455b5fc860f1c8b57", kill_on_drop: false }`
[INFO] [stdout] be40d96782c43dda3c89ea5a5ff9c21f282b68050fa8124455b5fc860f1c8b57
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dde5d90e9c2901a3a2d8694892c35ab09b4e3d4d5f032d290d79ab29697be21f
[INFO] running `Command { std: "docker" "start" "-a" "dde5d90e9c2901a3a2d8694892c35ab09b4e3d4d5f032d290d79ab29697be21f", 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 \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 \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)]` (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(&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.38s
[INFO] running `Command { std: "docker" "inspect" "dde5d90e9c2901a3a2d8694892c35ab09b4e3d4d5f032d290d79ab29697be21f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dde5d90e9c2901a3a2d8694892c35ab09b4e3d4d5f032d290d79ab29697be21f", kill_on_drop: false }`
[INFO] [stdout] dde5d90e9c2901a3a2d8694892c35ab09b4e3d4d5f032d290d79ab29697be21f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 92ff5f4ae432d909a781b7e9c67582c856fe06aa5997f24d0e8106ecda9b1a98
[INFO] running `Command { std: "docker" "start" "-a" "92ff5f4ae432d909a781b7e9c67582c856fe06aa5997f24d0e8106ecda9b1a98", 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 \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 \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)]` (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(&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: 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)]` (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 \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)]` (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(&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 `test` profile [unoptimized + debuginfo] target(s) in 1.10s
[INFO] running `Command { std: "docker" "inspect" "92ff5f4ae432d909a781b7e9c67582c856fe06aa5997f24d0e8106ecda9b1a98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92ff5f4ae432d909a781b7e9c67582c856fe06aa5997f24d0e8106ecda9b1a98", kill_on_drop: false }`
[INFO] [stdout] 92ff5f4ae432d909a781b7e9c67582c856fe06aa5997f24d0e8106ecda9b1a98
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9032848f581378a0bca8fc316da965506ee151b33030d46bb81a7a7b6d81f88a
[INFO] running `Command { std: "docker" "start" "-a" "9032848f581378a0bca8fc316da965506ee151b33030d46bb81a7a7b6d81f88a", 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 \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 \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 \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(&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(&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(&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(&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.04s
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/diet_xml-2c05842d4d7bcb92)
[INFO] [stdout]
[INFO] [stdout] running 4 tests
[INFO] [stdout] test builder::tests::test_set_key ... ok
[INFO] [stderr] Doc-tests diet_xml
[INFO] [stdout] test schema::tests::set_schema ... ok
[INFO] [stdout] test schema::tests::check_tag_validation ... ok
[INFO] [stdout] test schema::tests::check_duplicate_detected ... ok
[INFO] [stdout]
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[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 \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 \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 \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.01s
[INFO] [stdout]
[INFO] running `Command { std: "docker" "inspect" "9032848f581378a0bca8fc316da965506ee151b33030d46bb81a7a7b6d81f88a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9032848f581378a0bca8fc316da965506ee151b33030d46bb81a7a7b6d81f88a", kill_on_drop: false }`
[INFO] [stdout] 9032848f581378a0bca8fc316da965506ee151b33030d46bb81a7a7b6d81f88a