[INFO] fetching crate htmldom_read 0.5.0...
[INFO] checking htmldom_read-0.5.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1
[INFO] extracting crate htmldom_read 0.5.0 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate htmldom_read 0.5.0
[INFO] finished tweaking crates.io crate htmldom_read 0.5.0
[INFO] tweaked toml for crates.io crate htmldom_read 0.5.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate htmldom_read 0.5.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 30 packages to latest compatible versions
[INFO] [stderr] Adding quick-xml v0.13.3 (available: v0.38.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded quick-xml v0.13.3
[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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0714e249c5a5a13a3cb0964601e3f3163628f477d79909f5edc065e5bd8a3488
[INFO] running `Command { std: "docker" "start" "-a" "0714e249c5a5a13a3cb0964601e3f3163628f477d79909f5edc065e5bd8a3488", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0714e249c5a5a13a3cb0964601e3f3163628f477d79909f5edc065e5bd8a3488", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0714e249c5a5a13a3cb0964601e3f3163628f477d79909f5edc065e5bd8a3488", kill_on_drop: false }`
[INFO] [stdout] 0714e249c5a5a13a3cb0964601e3f3163628f477d79909f5edc065e5bd8a3488
[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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f78164773b0e96e15b7751d29422b4bdc672c64697fce7acc2f881ce1707f8b8
[INFO] running `Command { std: "docker" "start" "-a" "f78164773b0e96e15b7751d29422b4bdc672c64697fce7acc2f881ce1707f8b8", kill_on_drop: false }`
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Checking backtrace v0.3.75
[INFO] [stderr] Compiling synstructure v0.12.6
[INFO] [stderr] Compiling failure_derive v0.1.8
[INFO] [stderr] Checking failure v0.1.8
[INFO] [stderr] Checking quick-xml v0.13.3
[INFO] [stderr] Checking htmldom_read v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/lib.rs:737:17
[INFO] [stdout] |
[INFO] [stdout] 737 | let mut result;
[INFO] [stdout] | ----^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/lib.rs:737:17
[INFO] [stdout] |
[INFO] [stdout] 737 | let mut result;
[INFO] [stdout] | ----^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:426:29
[INFO] [stdout] |
[INFO] [stdout] 426 | fn collect_events(html: &str) -> LinkedList {
[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] 426 | fn collect_events(html: &str) -> LinkedList> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:850:27
[INFO] [stdout] |
[INFO] [stdout] 850 | pub fn children_fetch(&self) -> ChildrenFetch {
[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] 850 | pub fn children_fetch(&self) -> ChildrenFetch<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:854:31
[INFO] [stdout] |
[INFO] [stdout] 854 | pub fn children_fetch_mut(&mut self) -> ChildrenFetchMut {
[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] 854 | pub fn children_fetch_mut(&mut self) -> ChildrenFetchMut<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:1022:26
[INFO] [stdout] |
[INFO] [stdout] 1022 | fn sub(criteria: ChildrenFetch) -> LinkedList<&NodeAccess> {
[INFO] [stdout] | ^^^^^^^^^^^^^ ----------- the same lifetime is elided here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is hidden here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 1022 | fn sub(criteria: ChildrenFetch<'_>) -> LinkedList<&NodeAccess> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout] --> src/lib.rs:1096:30
[INFO] [stdout] |
[INFO] [stdout] 1095 | let a = i as *const NodeAccess as *mut NodeAccess;
[INFO] [stdout] | ----------------------------------------- casting happened here
[INFO] [stdout] 1096 | let a = unsafe { &mut *a };
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, visit
[INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:426:29
[INFO] [stdout] |
[INFO] [stdout] 426 | fn collect_events(html: &str) -> LinkedList {
[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] 426 | fn collect_events(html: &str) -> LinkedList> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:850:27
[INFO] [stdout] |
[INFO] [stdout] 850 | pub fn children_fetch(&self) -> ChildrenFetch {
[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] 850 | pub fn children_fetch(&self) -> ChildrenFetch<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:854:31
[INFO] [stdout] |
[INFO] [stdout] 854 | pub fn children_fetch_mut(&mut self) -> ChildrenFetchMut {
[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] 854 | pub fn children_fetch_mut(&mut self) -> ChildrenFetchMut<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lib.rs:1022:26
[INFO] [stdout] |
[INFO] [stdout] 1022 | fn sub(criteria: ChildrenFetch) -> LinkedList<&NodeAccess> {
[INFO] [stdout] | ^^^^^^^^^^^^^ ----------- the same lifetime is elided here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is hidden here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 1022 | fn sub(criteria: ChildrenFetch<'_>) -> LinkedList<&NodeAccess> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout] --> src/lib.rs:1096:30
[INFO] [stdout] |
[INFO] [stdout] 1095 | let a = i as *const NodeAccess as *mut NodeAccess;
[INFO] [stdout] | ----------------------------------------- casting happened here
[INFO] [stdout] 1096 | let a = unsafe { &mut *a };
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, visit
[INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `htmldom_read` (lib test) due to 1 previous error; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `htmldom_read` (lib) due to 1 previous error; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f78164773b0e96e15b7751d29422b4bdc672c64697fce7acc2f881ce1707f8b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f78164773b0e96e15b7751d29422b4bdc672c64697fce7acc2f881ce1707f8b8", kill_on_drop: false }`
[INFO] [stdout] f78164773b0e96e15b7751d29422b4bdc672c64697fce7acc2f881ce1707f8b8