[INFO] fetching crate svgdom 0.18.0... [INFO] testing svgdom-0.18.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate svgdom 0.18.0 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate svgdom 0.18.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xmlwriter v0.1.0 [INFO] [stderr] Downloaded time v0.1.42 [INFO] [stderr] Downloaded cfg-if v0.1.9 [INFO] [stderr] Downloaded svgtypes v0.5.0 [INFO] [stderr] Downloaded quote v0.6.12 [INFO] [stderr] Downloaded difference v2.0.0 [INFO] [stderr] Downloaded pretty_assertions v0.6.1 [INFO] [stderr] Downloaded roxmltree v0.6.0 [INFO] [stderr] Downloaded xmlparser v0.9.0 [INFO] [stderr] Downloaded redox_syscall v0.1.54 [INFO] [stderr] Downloaded float-cmp v0.5.0 [INFO] [stderr] Downloaded output_vt100 v0.1.2 [INFO] [stderr] Downloaded simplecss v0.2.0 [INFO] [stderr] Downloaded libc v0.2.58 [INFO] [stderr] Downloaded winapi v0.3.7 [INFO] [stderr] Downloaded fern v0.5.8 [INFO] [stderr] Downloaded ctor v0.1.9 [INFO] [stderr] Downloaded syn v0.15.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 027c74157851aec55f18d0a94696cc90985c8811f87d6d4b69b29e0bc80a35bd [INFO] running `Command { std: "docker" "start" "-a" "027c74157851aec55f18d0a94696cc90985c8811f87d6d4b69b29e0bc80a35bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "027c74157851aec55f18d0a94696cc90985c8811f87d6d4b69b29e0bc80a35bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "027c74157851aec55f18d0a94696cc90985c8811f87d6d4b69b29e0bc80a35bd", kill_on_drop: false }` [INFO] [stdout] 027c74157851aec55f18d0a94696cc90985c8811f87d6d4b69b29e0bc80a35bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc8194963825daf5a0caf56185f5bf3428e1044a34ffcd739fef7c285f80cea4 [INFO] running `Command { std: "docker" "start" "-a" "cc8194963825daf5a0caf56185f5bf3428e1044a34ffcd739fef7c285f80cea4", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling xmlparser v0.9.0 [INFO] [stderr] Compiling siphasher v0.2.3 [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 svgtypes v0.5.0 [INFO] [stderr] Compiling roxmltree v0.6.0 [INFO] [stderr] Compiling simplecss v0.2.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)]` 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 3.03s [INFO] running `Command { std: "docker" "inspect" "cc8194963825daf5a0caf56185f5bf3428e1044a34ffcd739fef7c285f80cea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc8194963825daf5a0caf56185f5bf3428e1044a34ffcd739fef7c285f80cea4", kill_on_drop: false }` [INFO] [stdout] cc8194963825daf5a0caf56185f5bf3428e1044a34ffcd739fef7c285f80cea4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68eb0100d204f5bf0869941d736ca6fd452447cc1c0f10b14980f83c2f8c7f73 [INFO] running `Command { std: "docker" "start" "-a" "68eb0100d204f5bf0869941d736ca6fd452447cc1c0f10b14980f83c2f8c7f73", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling fern v0.5.8 [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)]` 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)]` 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 2.79s [INFO] running `Command { std: "docker" "inspect" "68eb0100d204f5bf0869941d736ca6fd452447cc1c0f10b14980f83c2f8c7f73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68eb0100d204f5bf0869941d736ca6fd452447cc1c0f10b14980f83c2f8c7f73", kill_on_drop: false }` [INFO] [stdout] 68eb0100d204f5bf0869941d736ca6fd452447cc1c0f10b14980f83c2f8c7f73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f53647b695acf333ddce3c61971891840f0cb03b1bd93a1d3dd891ee9f3b854e [INFO] running `Command { std: "docker" "start" "-a" "f53647b695acf333ddce3c61971891840f0cb03b1bd93a1d3dd891ee9f3b854e", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/node.rs:172:17 [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] [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] [stderr] 305 | pub fn attributes(&self) -> Ref<'_, Attributes> { [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)]` 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.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/svgdom-f5f646e52bc10b45) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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_1 ... ok [INFO] [stdout] test parse_css_11 ... ok [INFO] [stdout] test parse_css_12 ... ok [INFO] [stdout] test parse_css_10 ... ok [INFO] [stdout] test parse_css_14 ... ok [INFO] [stdout] test parse_css_19 ... ok [INFO] [stdout] test parse_css_18 ... ok [INFO] [stdout] test parse_css_16 ... ok [INFO] [stdout] test parse_css_17 ... ok [INFO] [stdout] test parse_css_2 ... ok [INFO] [stdout] test parse_css_15 ... ok [INFO] [stdout] test parse_css_20 ... ok [INFO] [stdout] test parse_css_21 ... ok [INFO] [stdout] test parse_css_24 ... ok [INFO] [stdout] test parse_css_23 ... ok [INFO] [stdout] test parse_css_9 ... 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_7 ... ok [INFO] [stdout] test parse_css_8 ... ok [INFO] [stdout] test parse_css_5 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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 elem_1 ... ok [INFO] [stdout] test elem_2 ... ok [INFO] [stdout] test attributes_1 ... ok [INFO] [stdout] test elem_3 ... ok [INFO] [stdout] test comment_1 ... ok [INFO] [stdout] test elem_4 ... ok [INFO] [stdout] test root_1 ... ok [INFO] [stdout] test text_1 ... 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_must_be_uniq ... ok [INFO] [stdout] test attributes_exist_1 ... ok [INFO] [stdout] test attributes_exist_2 ... ok [INFO] [stdout] test deep_copy_2 ... ok [INFO] [stdout] test deep_copy_3 ... ok [INFO] [stdout] test drain_1 ... ok [INFO] [stdout] test linked_attributes_1 ... ok [INFO] [stdout] test drain_3 ... ok [INFO] [stdout] test linked_attributes_3 ... ok [INFO] [stdout] test linked_attributes_4 ... ok [INFO] [stdout] test drain_4 ... ok [INFO] [stdout] test linked_attributes_5 ... ok [INFO] [stdout] test linked_attributes_2 ... ok [INFO] [stdout] test drain_2 ... ok [INFO] [stdout] test deep_copy_1 ... ok [INFO] [stdout] test remove_attribute_1 ... ok [INFO] [stdout] test set_attr_1 ... ok [INFO] [stdout] test linked_attributes_6 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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_2 ... ok [INFO] [stdout] test crosslink_1 ... ok [INFO] [stdout] test parse_empty_1 ... ok [INFO] [stdout] test parse_comment_1 ... ok [INFO] [stdout] test parse_empty_3 ... ok [INFO] [stdout] test parse_empty_2 ... ok [INFO] [stdout] test parse_empty_attribute_1 ... ok [INFO] [stdout] test crosslink_3 ... ok [INFO] [stdout] test parse_empty_4 ... ok [INFO] [stdout] test parse_empty_attribute_2 ... ok [INFO] [stdout] test parse_func_iri_2 ... ok [INFO] [stdout] test parse_iri_2 ... ok [INFO] [stdout] test parse_iri_1 ... ok [INFO] [stdout] test parse_empty_attribute_3 ... ok [INFO] [stdout] test parse_non_svg_1 ... ok [INFO] [stdout] test parse_func_iri_1 ... ok [INFO] [stdout] test parse_invalid_path ... ok [INFO] [stdout] test parse_paint_4 ... ok [INFO] [stdout] test parse_style_6 ... ok [INFO] [stdout] test parse_style_8 ... ok [INFO] [stdout] test parse_paint_5 ... ok [INFO] [stdout] test parse_style_7 ... ok [INFO] [stdout] test parse_paint_6 ... ok [INFO] [stdout] test parse_text_1 ... ok [INFO] [stdout] test parse_paint_7 ... ok [INFO] [stdout] test parse_non_svg_2 ... ok [INFO] [stdout] test parse_style_2 ... ok [INFO] [stdout] test parse_style_3 ... ok [INFO] [stdout] test parse_style_4 ... ok [INFO] [stdout] test parse_paint_1 ... ok [INFO] [stdout] test parse_paint_2 ... ok [INFO] [stdout] test parse_text_2 ... ok [INFO] [stdout] test parse_style_1 ... ok [INFO] [stdout] test parse_viewbox_1 ... ok [INFO] [stdout] test parse_style_5 ... ok [INFO] [stdout] test parse_paint_3 ... ok [INFO] [stdout] test parse_single_node_1 ... ok [INFO] [stdout] [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/text.rs (/opt/rustwide/target/debug/deps/text-0485084951393072) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test text_1 ... ok [INFO] [stdout] test text_10 ... ok [INFO] [stdout] test text_8 ... ok [INFO] [stdout] test text_content_1 ... ok [INFO] [stdout] test text_9 ... ok [INFO] [stdout] test text_3 ... ok [INFO] [stdout] test text_space_preserve_3 ... ok [INFO] [stdout] test text_4 ... ok [INFO] [stdout] test text_5 ... ok [INFO] [stdout] test text_content_2 ... ok [INFO] [stdout] test text_7 ... ok [INFO] [stdout] test text_content_4 ... ok [INFO] [stdout] test text_content_5 ... ok [INFO] [stdout] test text_space_preserve_2 ... ok [INFO] [stdout] test text_space_preserve_4 ... ok [INFO] [stdout] test text_tspan_2 ... ok [INFO] [stdout] test text_tspan_4 ... ok [INFO] [stdout] test text_content_3 ... ok [INFO] [stdout] test text_tspan_10 ... ok [INFO] [stdout] test text_6 ... ok [INFO] [stdout] test text_space_preserve_5 ... ok [INFO] [stdout] test text_tspan_3 ... ok [INFO] [stdout] test text_tspan_1 ... ok [INFO] [stdout] test text_space_preserve_1 ... ok [INFO] [stdout] test text_tspan_5 ... ok [INFO] [stdout] test text_space_preserve_7 ... ok [INFO] [stdout] test text_tspan_9 ... ok [INFO] [stdout] test text_tspan_6 ... ok [INFO] [stdout] test text_space_preserve_6 ... ok [INFO] [stdout] test text_tspan_7 ... ok [INFO] [stdout] test text_tspan_8 ... ok [INFO] [stderr] Running tests/writer.rs (/opt/rustwide/target/debug/deps/writer-f0dfb58cea9d3a86) [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 aspect_ratio_1 ... ok [INFO] [stdout] test cdata_1 ... ok [INFO] [stdout] test attrs_indent_1 ... ok [INFO] [stdout] test cdata_2 ... ok [INFO] [stdout] test cdata_3 ... ok [INFO] [stdout] test child_nodes_1 ... ok [INFO] [stdout] test cdata_4 ... ok [INFO] [stdout] test child_node_1 ... ok [INFO] [stdout] test escape_1 ... ok [INFO] [stdout] test comment_1 ... ok [INFO] [stdout] test empty_doc_1 ... ok [INFO] [stdout] test indent_2 ... ok [INFO] [stdout] test indent_3 ... ok [INFO] [stdout] test indent_5 ... ok [INFO] [stdout] test links_1 ... ok [INFO] [stdout] test namespaces_3 ... ok [INFO] [stdout] test indent_4 ... ok [INFO] [stdout] test non_svg_1 ... ok [INFO] [stdout] test escape_2 ... ok [INFO] [stdout] test single_quote_1 ... ok [INFO] [stdout] test escape_3 ... ok [INFO] [stdout] test escape_4 ... ok [INFO] [stdout] test indent_1 ... ok [INFO] [stdout] test single_node_1 ... ok [INFO] [stdout] test namespaces_2 ... ok [INFO] [stdout] test namespaces_4 ... ok [INFO] [stdout] test links_2 ... ok [INFO] [stdout] test namespaces_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests svgdom [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 373) ... 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 406) ... ok [INFO] [stdout] test src/node.rs - node::Node::has_parent (line 89) ... ok [INFO] [stdout] test src/element_type.rs - element_type::ElementType::is_referenced (line 28) ... ok [INFO] [stdout] test src/document.rs - document::Document::svg_element (line 185) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.83s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f53647b695acf333ddce3c61971891840f0cb03b1bd93a1d3dd891ee9f3b854e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f53647b695acf333ddce3c61971891840f0cb03b1bd93a1d3dd891ee9f3b854e", kill_on_drop: false }` [INFO] [stdout] f53647b695acf333ddce3c61971891840f0cb03b1bd93a1d3dd891ee9f3b854e