[INFO] fetching crate svgdom 0.18.0... [INFO] testing svgdom-0.18.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate svgdom 0.18.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate svgdom 0.18.0 [INFO] finished tweaking crates.io crate svgdom 0.18.0 [INFO] tweaked toml for crates.io crate svgdom 0.18.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate svgdom 0.18.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate svgdom 0.18.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fc3446be425551faf9d75cce7c2f9fe8a921c22ff62e8ca24b07f757cdce94c [INFO] running `Command { std: "docker" "start" "-a" "8fc3446be425551faf9d75cce7c2f9fe8a921c22ff62e8ca24b07f757cdce94c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fc3446be425551faf9d75cce7c2f9fe8a921c22ff62e8ca24b07f757cdce94c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fc3446be425551faf9d75cce7c2f9fe8a921c22ff62e8ca24b07f757cdce94c", kill_on_drop: false }` [INFO] [stdout] 8fc3446be425551faf9d75cce7c2f9fe8a921c22ff62e8ca24b07f757cdce94c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbed319ba7a3b3f654bbe29d4e84cb9c776f87ac8aadeabecf2a71a45f55fa3c [INFO] running `Command { std: "docker" "start" "-a" "cbed319ba7a3b3f654bbe29d4e84cb9c776f87ac8aadeabecf2a71a45f55fa3c", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling xmlparser v0.9.0 [INFO] [stderr] Compiling float-cmp v0.5.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling simplecss v0.2.0 [INFO] [stderr] Compiling roxmltree v0.6.0 [INFO] [stderr] Compiling svgtypes v0.5.0 [INFO] [stderr] Compiling svgdom v0.18.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn text(&self) -> Ref { [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] 172 | pub fn text(&self) -> Ref<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn text_mut(&mut self) -> RefMut { [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] 183 | pub fn text_mut(&mut self) -> RefMut<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn id(&self) -> Ref { [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] 202 | pub fn id(&self) -> Ref<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn tag_name(&self) -> Ref { [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] 250 | pub fn tag_name(&self) -> Ref<'_, TagName> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:305:23 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn attributes(&self) -> Ref { [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] 305 | pub fn attributes(&self) -> Ref<'_, Attributes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:314:27 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn attributes_mut(&mut self) -> RefMut { [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] 314 | pub fn attributes_mut(&mut self) -> RefMut<'_, Attributes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:596:25 [INFO] [stdout] | [INFO] [stdout] 596 | pub fn linked_nodes(&self) -> Ref> { [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] 596 | pub fn linked_nodes(&self) -> Ref<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:607:29 [INFO] [stdout] | [INFO] [stdout] 607 | pub fn linked_nodes_mut(&mut self) -> RefMut> { [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] 607 | pub fn linked_nodes_mut(&mut self) -> RefMut<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) fn borrow(&self) -> Ref { [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] 153 | pub(crate) fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | pub(crate) fn borrow_mut(&mut self) -> RefMut { [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] 162 | pub(crate) fn borrow_mut(&mut self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/name.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn as_ref(&self) -> QNameRef { [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] 35 | pub fn as_ref(&self) -> QNameRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/names.rs:869:24 [INFO] [stdout] | [INFO] [stdout] 869 | let b = entry.0.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/attributes.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | Some(i) => { mem::replace(&mut self.0[i], attr); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | Some(i) => { let _ = mem::replace(&mut self.0[i], attr); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/attributes.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn iter(&self) -> Iter { [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] 184 | pub fn iter(&self) -> Iter<'_, Attribute> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/attributes.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn iter_mut(&mut self) -> IterMut { [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] 190 | pub fn iter_mut(&mut self) -> IterMut<'_, Attribute> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.80s [INFO] running `Command { std: "docker" "inspect" "cbed319ba7a3b3f654bbe29d4e84cb9c776f87ac8aadeabecf2a71a45f55fa3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbed319ba7a3b3f654bbe29d4e84cb9c776f87ac8aadeabecf2a71a45f55fa3c", kill_on_drop: false }` [INFO] [stdout] cbed319ba7a3b3f654bbe29d4e84cb9c776f87ac8aadeabecf2a71a45f55fa3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b45bd06c71cc3231a0f128711f67107513d461b84d1de4a17796429d6393b92f [INFO] running `Command { std: "docker" "start" "-a" "b45bd06c71cc3231a0f128711f67107513d461b84d1de4a17796429d6393b92f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling fern v0.5.8 [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn text(&self) -> Ref { [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] 172 | pub fn text(&self) -> Ref<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn text_mut(&mut self) -> RefMut { [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] 183 | pub fn text_mut(&mut self) -> RefMut<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn id(&self) -> Ref { [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] 202 | pub fn id(&self) -> Ref<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn tag_name(&self) -> Ref { [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] 250 | pub fn tag_name(&self) -> Ref<'_, TagName> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:305:23 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn attributes(&self) -> Ref { [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] 305 | pub fn attributes(&self) -> Ref<'_, Attributes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:314:27 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn attributes_mut(&mut self) -> RefMut { [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] 314 | pub fn attributes_mut(&mut self) -> RefMut<'_, Attributes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:596:25 [INFO] [stdout] | [INFO] [stdout] 596 | pub fn linked_nodes(&self) -> Ref> { [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] 596 | pub fn linked_nodes(&self) -> Ref<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:607:29 [INFO] [stdout] | [INFO] [stdout] 607 | pub fn linked_nodes_mut(&mut self) -> RefMut> { [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] 607 | pub fn linked_nodes_mut(&mut self) -> RefMut<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) fn borrow(&self) -> Ref { [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] 153 | pub(crate) fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | pub(crate) fn borrow_mut(&mut self) -> RefMut { [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] 162 | pub(crate) fn borrow_mut(&mut self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/name.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn as_ref(&self) -> QNameRef { [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] 35 | pub fn as_ref(&self) -> QNameRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/names.rs:869:24 [INFO] [stdout] | [INFO] [stdout] 869 | let b = entry.0.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/attributes.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | Some(i) => { mem::replace(&mut self.0[i], attr); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | Some(i) => { let _ = mem::replace(&mut self.0[i], attr); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/attributes.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn iter(&self) -> Iter { [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] 184 | pub fn iter(&self) -> Iter<'_, Attribute> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/attributes.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn iter_mut(&mut self) -> IterMut { [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] 190 | pub fn iter_mut(&mut self) -> IterMut<'_, Attribute> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling svgdom v0.18.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn text(&self) -> Ref { [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] 172 | pub fn text(&self) -> Ref<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn text_mut(&mut self) -> RefMut { [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] 183 | pub fn text_mut(&mut self) -> RefMut<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn id(&self) -> Ref { [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] 202 | pub fn id(&self) -> Ref<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn tag_name(&self) -> Ref { [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] 250 | pub fn tag_name(&self) -> Ref<'_, TagName> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:305:23 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn attributes(&self) -> Ref { [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] 305 | pub fn attributes(&self) -> Ref<'_, Attributes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:314:27 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn attributes_mut(&mut self) -> RefMut { [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] 314 | pub fn attributes_mut(&mut self) -> RefMut<'_, Attributes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:596:25 [INFO] [stdout] | [INFO] [stdout] 596 | pub fn linked_nodes(&self) -> Ref> { [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] 596 | pub fn linked_nodes(&self) -> Ref<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:607:29 [INFO] [stdout] | [INFO] [stdout] 607 | pub fn linked_nodes_mut(&mut self) -> RefMut> { [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] 607 | pub fn linked_nodes_mut(&mut self) -> RefMut<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) fn borrow(&self) -> Ref { [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] 153 | pub(crate) fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | pub(crate) fn borrow_mut(&mut self) -> RefMut { [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] 162 | pub(crate) fn borrow_mut(&mut self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/name.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn as_ref(&self) -> QNameRef { [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] 35 | pub fn as_ref(&self) -> QNameRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/names.rs:869:24 [INFO] [stdout] | [INFO] [stdout] 869 | let b = entry.0.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/attributes.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | Some(i) => { mem::replace(&mut self.0[i], attr); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | Some(i) => { let _ = mem::replace(&mut self.0[i], attr); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/attributes.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn iter(&self) -> Iter { [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] 184 | pub fn iter(&self) -> Iter<'_, Attribute> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/attributes.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn iter_mut(&mut self) -> IterMut { [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] 190 | pub fn iter_mut(&mut self) -> IterMut<'_, Attribute> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.66s [INFO] running `Command { std: "docker" "inspect" "b45bd06c71cc3231a0f128711f67107513d461b84d1de4a17796429d6393b92f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b45bd06c71cc3231a0f128711f67107513d461b84d1de4a17796429d6393b92f", kill_on_drop: false }` [INFO] [stdout] b45bd06c71cc3231a0f128711f67107513d461b84d1de4a17796429d6393b92f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1acc615a587dc82439160e1e8a1c0583cedb2bedee9766f5f3bd973642d8fe5e [INFO] running `Command { std: "docker" "start" "-a" "1acc615a587dc82439160e1e8a1c0583cedb2bedee9766f5f3bd973642d8fe5e", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] [INFO] [stderr] --> src/node.rs:172:17 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stderr] 172 | pub fn text(&self) -> Ref { [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] [stdout] [INFO] [stderr] | [INFO] [stderr] 172 | pub fn text(&self) -> Ref<'_, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/node.rs:183:21 [INFO] [stderr] | [INFO] [stderr] 183 | pub fn text_mut(&mut self) -> RefMut { [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] 183 | pub fn text_mut(&mut self) -> RefMut<'_, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/node.rs:202:15 [INFO] [stderr] | [INFO] [stderr] 202 | pub fn id(&self) -> Ref { [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] 202 | pub fn id(&self) -> Ref<'_, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/node.rs:250:21 [INFO] [stderr] | [INFO] [stderr] 250 | pub fn tag_name(&self) -> Ref { [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] 250 | pub fn tag_name(&self) -> Ref<'_, TagName> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/node.rs:305:23 [INFO] [stderr] | [INFO] [stderr] 305 | pub fn attributes(&self) -> Ref { [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] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 305 | pub fn attributes(&self) -> Ref<'_, Attributes> { [INFO] [stdout] [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/node.rs:314:27 [INFO] [stderr] | [INFO] [stderr] 314 | pub fn attributes_mut(&mut self) -> RefMut { [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] 314 | pub fn attributes_mut(&mut self) -> RefMut<'_, Attributes> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/node.rs:596:25 [INFO] [stderr] | [INFO] [stderr] 596 | pub fn linked_nodes(&self) -> Ref> { [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] 596 | pub fn linked_nodes(&self) -> Ref<'_, Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/node.rs:607:29 [INFO] [stderr] | [INFO] [stderr] 607 | pub fn linked_nodes_mut(&mut self) -> RefMut> { [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] 607 | pub fn linked_nodes_mut(&mut self) -> RefMut<'_, Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/tree.rs:153:26 [INFO] [stderr] | [INFO] [stderr] 153 | pub(crate) fn borrow(&self) -> Ref { [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] 153 | pub(crate) fn borrow(&self) -> Ref<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/tree.rs:162:30 [INFO] [stderr] | [INFO] [stderr] 162 | pub(crate) fn borrow_mut(&mut self) -> RefMut { [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] 162 | pub(crate) fn borrow_mut(&mut self) -> RefMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/name.rs:35:19 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn as_ref(&self) -> QNameRef { [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] 35 | pub fn as_ref(&self) -> QNameRef<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/names.rs:869:24 [INFO] [stderr] | [INFO] [stderr] 869 | let b = entry.0.borrow(); [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/attributes.rs:145:26 [INFO] [stderr] | [INFO] [stderr] 145 | Some(i) => { mem::replace(&mut self.0[i], attr); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 145 | Some(i) => { let _ = mem::replace(&mut self.0[i], attr); } [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/attributes.rs:184:17 [INFO] [stderr] | [INFO] [stderr] 184 | pub fn iter(&self) -> Iter { [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] 184 | pub fn iter(&self) -> Iter<'_, Attribute> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/attributes.rs:190:21 [INFO] [stderr] | [INFO] [stderr] 190 | pub fn iter_mut(&mut self) -> IterMut { [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] 190 | pub fn iter_mut(&mut self) -> IterMut<'_, Attribute> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `svgdom` (lib) generated 15 warnings (run `cargo fix --lib -p svgdom` to apply 14 suggestions) [INFO] [stderr] warning: `svgdom` (lib test) generated 15 warnings (15 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/svgdom-f5f646e52bc10b45) [INFO] [stderr] Running tests/css.rs (/opt/rustwide/target/debug/deps/css-4c7b278517c1bddf) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test parse_css_11 ... ok [INFO] [stdout] test parse_css_12 ... ok [INFO] [stdout] test parse_css_16 ... ok [INFO] [stdout] test parse_css_15 ... ok [INFO] [stdout] test parse_css_1 ... ok [INFO] [stdout] test parse_css_10 ... ok [INFO] [stdout] test parse_css_17 ... ok [INFO] [stdout] test parse_css_21 ... ok [INFO] [stdout] test parse_css_18 ... ok [INFO] [stdout] test parse_css_23 ... ok [INFO] [stdout] test parse_css_2 ... ok [INFO] [stdout] test parse_css_24 ... ok [INFO] [stdout] test parse_css_9 ... ok [INFO] [stdout] test parse_css_20 ... ok [INFO] [stdout] test parse_css_4 ... ok [INFO] [stdout] test parse_css_6 ... ok [INFO] [stdout] test parse_css_25 ... ok [INFO] [stdout] test parse_css_5 ... ok [INFO] [stdout] test parse_css_7 ... ok [INFO] [stdout] test parse_css_14 ... ok [INFO] [stdout] test parse_css_8 ... ok [INFO] [stdout] test parse_css_19 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/debug.rs (/opt/rustwide/target/debug/deps/debug-5549a77ccbdff3a4) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test attributes_1 ... ok [INFO] [stdout] test comment_1 ... ok [INFO] [stdout] test elem_1 ... ok [INFO] [stdout] test elem_4 ... ok [INFO] [stdout] test root_1 ... ok [INFO] [stdout] test text_1 ... ok [INFO] [stdout] test elem_3 ... ok [INFO] [stdout] test elem_2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/domapi.rs (/opt/rustwide/target/debug/deps/domapi-827750a2b9646c5d) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test attributes_compare_1 ... ok [INFO] [stdout] test attributes_exist_2 ... ok [INFO] [stdout] test attributes_must_be_uniq ... ok [INFO] [stdout] test deep_copy_1 ... ok [INFO] [stdout] test deep_copy_2 ... ok [INFO] [stdout] test deep_copy_3 ... ok [INFO] [stdout] test drain_2 ... ok [INFO] [stdout] test drain_1 ... ok [INFO] [stdout] test drain_3 ... ok [INFO] [stdout] test linked_attributes_1 ... ok [INFO] [stdout] test linked_attributes_2 ... ok [INFO] [stdout] test remove_attribute_1 ... ok [INFO] [stdout] test linked_attributes_5 ... ok [INFO] [stdout] test set_attr_1 ... ok [INFO] [stdout] test drain_4 ... ok [INFO] [stdout] test linked_attributes_3 ... ok [INFO] [stdout] test linked_attributes_6 ... ok [INFO] [stdout] test linked_attributes_4 ... ok [INFO] [stdout] test attributes_exist_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/parser.rs (/opt/rustwide/target/debug/deps/parser-18919da61ca068af) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test crosslink_3 ... ok [INFO] [stdout] test parse_comment_1 ... ok [INFO] [stdout] test parse_empty_1 ... ok [INFO] [stdout] test parse_empty_2 ... ok [INFO] [stdout] test parse_empty_3 ... ok [INFO] [stdout] test crosslink_1 ... ok [INFO] [stdout] test parse_empty_4 ... ok [INFO] [stdout] test parse_empty_attribute_3 ... ok [INFO] [stdout] test parse_empty_attribute_2 ... ok [INFO] [stdout] test parse_empty_attribute_1 ... ok [INFO] [stdout] test parse_func_iri_2 ... ok [INFO] [stdout] test crosslink_2 ... ok [INFO] [stdout] test parse_iri_1 ... ok [INFO] [stdout] test parse_func_iri_1 ... ok [INFO] [stdout] test parse_iri_2 ... ok [INFO] [stdout] test parse_non_svg_2 ... ok [INFO] [stdout] test parse_paint_4 ... ok [INFO] [stdout] test parse_paint_1 ... ok [INFO] [stdout] test parse_paint_5 ... ok [INFO] [stdout] test parse_paint_2 ... ok [INFO] [stdout] test parse_paint_7 ... ok [INFO] [stdout] test parse_style_2 ... ok [INFO] [stdout] test parse_paint_6 ... ok [INFO] [stdout] test parse_invalid_path ... ok [INFO] [stdout] test parse_text_1 ... ok [INFO] [stdout] test parse_style_7 ... ok [INFO] [stdout] test parse_paint_3 ... ok [INFO] [stdout] test parse_style_1 ... ok [INFO] [stdout] test parse_text_2 ... ok [INFO] [stdout] test parse_viewbox_1 ... ok [INFO] [stdout] test parse_non_svg_1 ... ok [INFO] [stdout] test parse_style_3 ... ok [INFO] [stdout] test parse_style_8 ... ok [INFO] [stdout] test parse_style_4 ... ok [INFO] [stdout] test parse_style_5 ... ok [INFO] [stdout] test parse_style_6 ... ok [INFO] [stdout] test parse_single_node_1 ... ok [INFO] [stdout] [INFO] [stderr] Running tests/text.rs (/opt/rustwide/target/debug/deps/text-0485084951393072) [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/writer.rs (/opt/rustwide/target/debug/deps/writer-f0dfb58cea9d3a86) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test text_1 ... ok [INFO] [stdout] test text_10 ... ok [INFO] [stdout] test text_4 ... ok [INFO] [stdout] test text_3 ... ok [INFO] [stdout] test text_content_1 ... ok [INFO] [stdout] test text_7 ... ok [INFO] [stdout] test text_space_preserve_2 ... ok [INFO] [stdout] test text_content_2 ... ok [INFO] [stdout] test text_space_preserve_4 ... ok [INFO] [stdout] test text_space_preserve_6 ... ok [INFO] [stdout] test text_space_preserve_5 ... ok [INFO] [stdout] test text_content_3 ... ok [INFO] [stdout] test text_9 ... ok [INFO] [stdout] test text_space_preserve_3 ... ok [INFO] [stdout] test text_content_5 ... ok [INFO] [stdout] test text_tspan_2 ... ok [INFO] [stdout] test text_tspan_6 ... ok [INFO] [stdout] test text_tspan_7 ... ok [INFO] [stdout] test text_tspan_10 ... ok [INFO] [stdout] test text_tspan_8 ... ok [INFO] [stdout] test text_content_4 ... ok [INFO] [stdout] test text_tspan_3 ... ok [INFO] [stdout] test text_space_preserve_7 ... ok [INFO] [stdout] test text_tspan_4 ... ok [INFO] [stdout] test text_5 ... ok [INFO] [stdout] test text_tspan_5 ... ok [INFO] [stdout] test text_tspan_9 ... ok [INFO] [stdout] test text_tspan_1 ... ok [INFO] [stdout] test text_space_preserve_1 ... ok [INFO] [stdout] test text_8 ... ok [INFO] [stdout] test text_6 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test attributes_types_1 ... ok [INFO] [stdout] test attrs_indent_1 ... ok [INFO] [stdout] test aspect_ratio_1 ... ok [INFO] [stdout] test child_node_1 ... ok [INFO] [stdout] test cdata_4 ... ok [INFO] [stdout] test cdata_2 ... ok [INFO] [stdout] test cdata_3 ... ok [INFO] [stdout] test child_nodes_1 ... ok [INFO] [stdout] test empty_doc_1 ... ok [INFO] [stdout] test comment_1 ... ok [INFO] [stdout] test escape_3 ... ok [INFO] [stdout] test escape_4 ... ok [INFO] [stdout] test indent_2 ... ok [INFO] [stdout] test indent_5 ... ok [INFO] [stdout] test links_2 ... ok [INFO] [stdout] test namespaces_3 ... ok [INFO] [stdout] test namespaces_4 ... ok [INFO] [stdout] test single_node_1 ... ok [INFO] [stdout] test non_svg_1 ... ok [INFO] [stdout] test namespaces_2 ... ok [INFO] [stdout] test escape_1 ... ok [INFO] [stdout] test links_1 ... ok [INFO] [stdout] test escape_2 ... ok [INFO] [stdout] test indent_1 ... ok [INFO] [stdout] test indent_4 ... ok [INFO] [stdout] test single_quote_1 ... ok [INFO] [stdout] test cdata_1 ... ok [INFO] [stdout] test indent_3 ... ok [INFO] [stdout] test namespaces_1 ... ok [INFO] [stderr] Doc-tests svgdom [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/node.rs - node::Node::set_attribute_if_none (line 536) ... ignored [INFO] [stdout] test src/node.rs - node::Node::set_attribute_checked (line 406) ... ok [INFO] [stdout] test src/element_type.rs - element_type::ElementType::is_referenced (line 28) ... ok [INFO] [stdout] test src/document.rs - document::Document::remove_node (line 214) ... ok [INFO] [stdout] test src/node.rs - node::Node::set_attribute_checked (line 373) ... ok [INFO] [stdout] test src/document.rs - document::Document::svg_element (line 185) ... ok [INFO] [stdout] test src/node.rs - node::Node::has_parent (line 89) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1acc615a587dc82439160e1e8a1c0583cedb2bedee9766f5f3bd973642d8fe5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1acc615a587dc82439160e1e8a1c0583cedb2bedee9766f5f3bd973642d8fe5e", kill_on_drop: false }` [INFO] [stdout] 1acc615a587dc82439160e1e8a1c0583cedb2bedee9766f5f3bd973642d8fe5e