[INFO] fetching crate domino 0.0.1... [INFO] testing domino-0.0.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate domino 0.0.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate domino 0.0.1 [INFO] finished tweaking crates.io crate domino 0.0.1 [INFO] tweaked toml for crates.io crate domino 0.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate domino 0.0.1 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 domino 0.0.1 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] Downloading crates ... [INFO] [stderr] Downloaded memchr v2.4.1 [INFO] [stderr] Downloaded quick-xml v0.22.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6a1c4390640101ed258af90813960008ca690bfaa4e40fb21f17f3268960ae8 [INFO] running `Command { std: "docker" "start" "-a" "f6a1c4390640101ed258af90813960008ca690bfaa4e40fb21f17f3268960ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6a1c4390640101ed258af90813960008ca690bfaa4e40fb21f17f3268960ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a1c4390640101ed258af90813960008ca690bfaa4e40fb21f17f3268960ae8", kill_on_drop: false }` [INFO] [stdout] f6a1c4390640101ed258af90813960008ca690bfaa4e40fb21f17f3268960ae8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 785bbd7689678a6a9de661182b6fdf6ad664bd91f79c0fc6e6a8ee878e0c5046 [INFO] running `Command { std: "docker" "start" "-a" "785bbd7689678a6a9de661182b6fdf6ad664bd91f79c0fc6e6a8ee878e0c5046", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling domino v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn escape(raw: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 40 | pub fn escape(raw: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn attrs(&self) -> Attrs { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 232 | pub fn attrs(&self) -> Attrs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn attrs_mut(&mut self) -> AttrsMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 240 | pub fn attrs_mut(&mut self) -> AttrsMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:565:18 [INFO] [stdout] | [INFO] [stdout] 565 | pub fn nodes(&self) -> Nodes { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 565 | pub fn nodes(&self) -> Nodes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:571:22 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn nodes_mut(&mut self) -> NodesMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 571 | pub fn nodes_mut(&mut self) -> NodesMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:591:21 [INFO] [stdout] | [INFO] [stdout] 591 | pub fn children(&self) -> Children { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 591 | pub fn children(&self) -> Children<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:599:25 [INFO] [stdout] | [INFO] [stdout] 599 | pub fn children_mut(&mut self) -> ChildrenMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 599 | pub fn children_mut(&mut self) -> ChildrenMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:620:18 [INFO] [stdout] | [INFO] [stdout] 620 | pub fn texts(&self) -> Texts { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 620 | pub fn texts(&self) -> Texts<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:628:22 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn texts_mut(&mut self) -> TextsMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 628 | pub fn texts_mut(&mut self) -> TextsMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.89s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "785bbd7689678a6a9de661182b6fdf6ad664bd91f79c0fc6e6a8ee878e0c5046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "785bbd7689678a6a9de661182b6fdf6ad664bd91f79c0fc6e6a8ee878e0c5046", kill_on_drop: false }` [INFO] [stdout] 785bbd7689678a6a9de661182b6fdf6ad664bd91f79c0fc6e6a8ee878e0c5046 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8865e4a8322cf98b8139fb4f8cb21c52756840e34041bcc7b7008d53334ec8eb [INFO] running `Command { std: "docker" "start" "-a" "8865e4a8322cf98b8139fb4f8cb21c52756840e34041bcc7b7008d53334ec8eb", kill_on_drop: false }` [INFO] [stderr] Compiling domino v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn escape(raw: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 40 | pub fn escape(raw: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn attrs(&self) -> Attrs { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 232 | pub fn attrs(&self) -> Attrs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn attrs_mut(&mut self) -> AttrsMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 240 | pub fn attrs_mut(&mut self) -> AttrsMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:565:18 [INFO] [stdout] | [INFO] [stdout] 565 | pub fn nodes(&self) -> Nodes { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 565 | pub fn nodes(&self) -> Nodes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:571:22 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn nodes_mut(&mut self) -> NodesMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 571 | pub fn nodes_mut(&mut self) -> NodesMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:591:21 [INFO] [stdout] | [INFO] [stdout] 591 | pub fn children(&self) -> Children { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 591 | pub fn children(&self) -> Children<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:599:25 [INFO] [stdout] | [INFO] [stdout] 599 | pub fn children_mut(&mut self) -> ChildrenMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 599 | pub fn children_mut(&mut self) -> ChildrenMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:620:18 [INFO] [stdout] | [INFO] [stdout] 620 | pub fn texts(&self) -> Texts { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 620 | pub fn texts(&self) -> Texts<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:628:22 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn texts_mut(&mut self) -> TextsMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 628 | pub fn texts_mut(&mut self) -> TextsMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `body` are never read [INFO] [stdout] --> examples/articles.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Article { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 28 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Article` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/element.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn escape(raw: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 40 | pub fn escape(raw: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn attrs(&self) -> Attrs { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 232 | pub fn attrs(&self) -> Attrs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn attrs_mut(&mut self) -> AttrsMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 240 | pub fn attrs_mut(&mut self) -> AttrsMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:565:18 [INFO] [stdout] | [INFO] [stdout] 565 | pub fn nodes(&self) -> Nodes { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 565 | pub fn nodes(&self) -> Nodes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:571:22 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn nodes_mut(&mut self) -> NodesMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 571 | pub fn nodes_mut(&mut self) -> NodesMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:591:21 [INFO] [stdout] | [INFO] [stdout] 591 | pub fn children(&self) -> Children { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 591 | pub fn children(&self) -> Children<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:599:25 [INFO] [stdout] | [INFO] [stdout] 599 | pub fn children_mut(&mut self) -> ChildrenMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 599 | pub fn children_mut(&mut self) -> ChildrenMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:620:18 [INFO] [stdout] | [INFO] [stdout] 620 | pub fn texts(&self) -> Texts { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 620 | pub fn texts(&self) -> Texts<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/element.rs:628:22 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn texts_mut(&mut self) -> TextsMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 628 | pub fn texts_mut(&mut self) -> TextsMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8865e4a8322cf98b8139fb4f8cb21c52756840e34041bcc7b7008d53334ec8eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8865e4a8322cf98b8139fb4f8cb21c52756840e34041bcc7b7008d53334ec8eb", kill_on_drop: false }` [INFO] [stdout] 8865e4a8322cf98b8139fb4f8cb21c52756840e34041bcc7b7008d53334ec8eb [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 264afd8fce1b0c16c97ab67d5ac268d7b00e717858fec69b57d0e0795544199e [INFO] running `Command { std: "docker" "start" "-a" "264afd8fce1b0c16c97ab67d5ac268d7b00e717858fec69b57d0e0795544199e", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/element.rs:40:20 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn escape(raw: &[u8]) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 40 | pub fn escape(raw: &[u8]) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/element.rs:232:18 [INFO] [stderr] | [INFO] [stderr] 232 | pub fn attrs(&self) -> Attrs { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 232 | pub fn attrs(&self) -> Attrs<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/element.rs:240:22 [INFO] [stderr] | [INFO] [stderr] 240 | pub fn attrs_mut(&mut self) -> AttrsMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 240 | pub fn attrs_mut(&mut self) -> AttrsMut<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/element.rs:565:18 [INFO] [stderr] | [INFO] [stderr] 565 | pub fn nodes(&self) -> Nodes { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 565 | pub fn nodes(&self) -> Nodes<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/element.rs:571:22 [INFO] [stderr] | [INFO] [stderr] 571 | pub fn nodes_mut(&mut self) -> NodesMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 571 | pub fn nodes_mut(&mut self) -> NodesMut<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/element.rs:591:21 [INFO] [stderr] | [INFO] [stderr] 591 | pub fn children(&self) -> Children { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 591 | pub fn children(&self) -> Children<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/element.rs:599:25 [INFO] [stderr] | [INFO] [stderr] 599 | pub fn children_mut(&mut self) -> ChildrenMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 599 | pub fn children_mut(&mut self) -> ChildrenMut<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/element.rs:620:18 [INFO] [stderr] | [INFO] [stderr] 620 | pub fn texts(&self) -> Texts { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 620 | pub fn texts(&self) -> Texts<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/element.rs:628:22 [INFO] [stderr] | [INFO] [stderr] 628 | pub fn texts_mut(&mut self) -> TextsMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 628 | pub fn texts_mut(&mut self) -> TextsMut<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `domino` (lib) generated 9 warnings (run `cargo fix --lib -p domino` to apply 9 suggestions) [INFO] [stderr] warning: fields `title` and `body` are never read [INFO] [stderr] --> examples/articles.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct Article { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 28 | title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 29 | body: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Article` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `domino` (example "articles") generated 1 warning [INFO] [stderr] warning: `domino` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/domino-54b0b9de69ca6260) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test element::tests::does_not_unescape_cdata ... ok [INFO] [stdout] test element::tests::parses_spectest_xml ... ok [INFO] [stdout] test convert::tests::test_into_attribute_value_on_ints ... ok [INFO] [stdout] test element::tests::test_from_reader_nested ... ok [INFO] [stdout] test element::tests::test_compare_all_ns ... ok [INFO] [stdout] test element::tests::test_from_reader_split_prefix ... ok [INFO] [stdout] test element::tests::test_from_reader_simple ... ok [INFO] [stdout] test element::tests::test_element_new ... ok [INFO] [stdout] test tests::builder_works ... ok [INFO] [stdout] test tests::children_iter_works ... ok [INFO] [stdout] test element::tests::test_from_reader_with_prefix ... ok [INFO] [stdout] test tests::fail_comments ... ok [INFO] [stdout] test tests::invalid_element_error ... ok [INFO] [stdout] test tests::get_child_works ... ok [INFO] [stdout] test tests::namespace_attributes_works ... ok [INFO] [stdout] test tests::missing_namespace_ok ... ok [INFO] [stdout] test tests::namespace_inherited_prefixed1 ... ok [INFO] [stdout] test tests::namespace_inherited_prefixed2 ... ok [INFO] [stdout] test tests::namespace_inherited_simple ... ok [INFO] [stdout] test tests::namespace_prefixed ... ok [INFO] [stdout] test tests::namespace_propagation_works ... ok [INFO] [stdout] test tests::namespace_simple ... ok [INFO] [stdout] test tests::reader_deduplicate_prefixes ... ok [INFO] [stdout] test tests::reader_works ... ok [INFO] [stdout] test tests::test_real_data ... ok [INFO] [stdout] test tests::two_elements_with_same_arguments_different_order_are_equal ... ok [INFO] [stdout] test tests::writer_escapes_attributes ... ok [INFO] [stdout] test tests::writer_escapes_text ... ok [INFO] [stdout] test tests::writer_no_prefix_namespace ... ok [INFO] [stdout] test tests::writer_no_prefix_namespace_child ... ok [INFO] [stdout] test tests::writer_prefix_namespace_child ... ok [INFO] [stdout] test tests::writer_with_decl_works ... ok [INFO] [stdout] test tests::writer_with_prefix ... ok [INFO] [stdout] test tests::writer_with_prefix_deduplicate ... ok [INFO] [stdout] test tests::xml_error ... ok [INFO] [stdout] test tests::wrongly_closed_elements_error ... ok [INFO] [stdout] test tests::writer_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests domino [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test src/lib.rs - (line 22) ... ignored [INFO] [stdout] test src/element.rs - element::Element::append_node (line 689) ... ok [INFO] [stdout] test src/element.rs - element::Element::remove_child (line 797) ... ok [INFO] [stdout] test src/element.rs - element::Element::is (line 266) ... ok [INFO] [stdout] test src/element.rs - element::Element::has_child (line 772) ... ok [INFO] [stdout] test src/element.rs - element::Element::children (line 579) ... ok [INFO] [stdout] test src/element.rs - element::Element::has_ns (line 289) ... ok [INFO] [stdout] test src/element.rs - element::Element::bare (line 180) ... ok [INFO] [stdout] test src/element.rs - element::Element::builder (line 150) ... ok [INFO] [stdout] test src/element.rs - element::Element::get_child (line 722) ... ok [INFO] [stdout] test src/element.rs - element::Element::append_text_node (line 670) ... ok [INFO] [stdout] test src/element.rs - element::Element::attrs (line 222) ... ok [INFO] [stdout] test src/element.rs - element::Element::text (line 706) ... ok [INFO] [stdout] test src/element.rs - element::Element::texts (line 609) ... ok [INFO] [stdout] test src/element.rs - element::Element::append_child (line 638) ... ok [INFO] [stdout] test src/element.rs - element::Element::nodes (line 550) ... ok [INFO] [stdout] test src/node.rs - node::Node::as_element (line 35) ... ok [INFO] [stdout] test src/node.rs - node::Node::as_element_mut (line 56) ... ok [INFO] [stdout] test src/node.rs - node::Node::into_text (line 146) ... ok [INFO] [stdout] test src/node.rs - node::Node::as_text (line 98) ... ok [INFO] [stdout] test src/node.rs - node::Node::as_text_mut (line 119) ... ok [INFO] [stdout] test src/node.rs - node::Node::into_element (line 77) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.81s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "264afd8fce1b0c16c97ab67d5ac268d7b00e717858fec69b57d0e0795544199e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "264afd8fce1b0c16c97ab67d5ac268d7b00e717858fec69b57d0e0795544199e", kill_on_drop: false }` [INFO] [stdout] 264afd8fce1b0c16c97ab67d5ac268d7b00e717858fec69b57d0e0795544199e