[INFO] fetching crate accessibility-tree 0.0.14... [INFO] checking accessibility-tree-0.0.14 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate accessibility-tree 0.0.14 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate accessibility-tree 0.0.14 [INFO] finished tweaking crates.io crate accessibility-tree 0.0.14 [INFO] tweaked toml for crates.io crate accessibility-tree 0.0.14 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate accessibility-tree 0.0.14 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 112 packages to latest compatible versions [INFO] [stderr] Adding cssparser v0.27.2 (available: v0.36.0) [INFO] [stderr] Adding dtoa v0.4.8 (available: v1.0.10) [INFO] [stderr] Adding euclid v0.19.9 (available: v0.22.11) [INFO] [stderr] Adding itoa v0.4.8 (available: v1.0.15) [INFO] [stderr] Adding lock_api v0.1.5 (available: v0.4.14) [INFO] [stderr] Adding rayon_croissant v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding selectors v0.22.0 (available: v0.33.0) [INFO] [stderr] Adding xi-unicode v0.1.0 (available: v0.3.0) [INFO] [stderr] Adding xml-rs v0.8.28 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3dbe0d384c403c84f2ea891a5861efa28545a23b2b3c9edac2054ff301f1212 [INFO] running `Command { std: "docker" "start" "-a" "d3dbe0d384c403c84f2ea891a5861efa28545a23b2b3c9edac2054ff301f1212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3dbe0d384c403c84f2ea891a5861efa28545a23b2b3c9edac2054ff301f1212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3dbe0d384c403c84f2ea891a5861efa28545a23b2b3c9edac2054ff301f1212", kill_on_drop: false }` [INFO] [stdout] d3dbe0d384c403c84f2ea891a5861efa28545a23b2b3c9edac2054ff301f1212 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57f249e5b233efe38f4ce4f1a868d7af3606c4acf8fbac92b08a990e8d7c07bf [INFO] running `Command { std: "docker" "start" "-a" "57f249e5b233efe38f4ce4f1a868d7af3606c4acf8fbac92b08a990e8d7c07bf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling fast_markup5ever v0.11.1 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Checking ego-tree v0.6.3 [INFO] [stderr] Checking moite_moite v0.2.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking smallbitvec v2.6.0 [INFO] [stderr] Checking xi-unicode v0.1.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking atomic_refcell v0.1.13 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking xml-rs v0.8.28 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling victor-tree-internal-proc-macros v0.0.1 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking rayon_croissant v0.1.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling fast_html5ever v0.26.6 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking accessibility-scraper v0.0.14 [INFO] [stderr] Checking accessibility-tree v0.0.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dom/mod.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn child_text_content(&self, node: NodeId) -> Cow { [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] 170 | pub fn child_text_content(&self, node: NodeId) -> Cow<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/fonts/parsing.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe { mem::transmute(bytes) } [INFO] [stdout] | --------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/fonts/parsing.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | unsafe { mem::transmute(bytes) } [INFO] [stdout] | --------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/fonts/parsing.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { mem::transmute(bytes) } [INFO] [stdout] | --------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/mod.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | match contents.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout/mod.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | fn as_replaced(&self) -> Result<&ReplacedContent, NonReplacedIFC> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 59 | fn as_replaced(&self) -> Result<&ReplacedContent, NonReplacedIFC<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/dom_traversal.rs:188:66 [INFO] [stdout] | [INFO] [stdout] 188 | fn try_from(contents: Contents) -> Result { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 189 | | match contents { [INFO] [stdout] 190 | | Contents::OfElement(id) => Ok(NonReplacedContents::OfElement(id)), [INFO] [stdout] 191 | | Contents::OfPseudoElement(items) => Ok(NonReplacedContents::OfPseudoElement(items)), [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/dom_traversal.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | / match contents { [INFO] [stdout] 190 | | Contents::OfElement(id) => Ok(NonReplacedContents::OfElement(id)), [INFO] [stdout] 191 | | Contents::OfPseudoElement(items) => Ok(NonReplacedContents::OfPseudoElement(items)), [INFO] [stdout] 192 | | Contents::Replaced(replaced) => Err(replaced), [INFO] [stdout] 193 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/dom_traversal.rs:190:40 [INFO] [stdout] | [INFO] [stdout] 190 | Contents::OfElement(id) => Ok(NonReplacedContents::OfElement(id)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/dom_traversal.rs:191:49 [INFO] [stdout] | [INFO] [stdout] 191 | Contents::OfPseudoElement(items) => Ok(NonReplacedContents::OfPseudoElement(items)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/dom_traversal.rs:192:45 [INFO] [stdout] | [INFO] [stdout] 192 | Contents::Replaced(replaced) => Err(replaced), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout/dom_traversal.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | fn layout_data_mut(&self, element_id: NodeId) -> AtomicRefMut { [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] 277 | fn layout_data_mut(&self, element_id: NodeId) -> AtomicRefMut<'_, LayoutDataForElement> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout/dom_traversal.rs:285:25 [INFO] [stdout] | [INFO] [stdout] 285 | fn element_box_slot(&self, element_id: NodeId) -> BoxSlot { [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] 285 | fn element_box_slot(&self, element_id: NodeId) -> BoxSlot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout/dom_traversal.rs:292:32 [INFO] [stdout] | [INFO] [stdout] 292 | fn pseudo_element_box_slot(&self, element_id: NodeId, which: WhichPseudoElement) -> BoxSlot { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 292 | fn pseudo_element_box_slot(&self, element_id: NodeId, which: WhichPseudoElement) -> BoxSlot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/flow/construct.rs:301:26 [INFO] [stdout] | [INFO] [stdout] 301 | let box_ = match contents.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/flow/construct.rs:386:38 [INFO] [stdout] | [INFO] [stdout] 386 | let intermediate_box = match contents.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/layout/positioned.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 36 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 39 | ) -> AbsolutelyPositionedFragment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | ) -> AbsolutelyPositionedFragment<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `accessibility-tree` (lib test) due to 8 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dom/mod.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn child_text_content(&self, node: NodeId) -> Cow { [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] 170 | pub fn child_text_content(&self, node: NodeId) -> Cow<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/fonts/parsing.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe { mem::transmute(bytes) } [INFO] [stdout] | --------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/fonts/parsing.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | unsafe { mem::transmute(bytes) } [INFO] [stdout] | --------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/fonts/parsing.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { mem::transmute(bytes) } [INFO] [stdout] | --------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/mod.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | match contents.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout/mod.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | fn as_replaced(&self) -> Result<&ReplacedContent, NonReplacedIFC> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 59 | fn as_replaced(&self) -> Result<&ReplacedContent, NonReplacedIFC<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/dom_traversal.rs:188:66 [INFO] [stdout] | [INFO] [stdout] 188 | fn try_from(contents: Contents) -> Result { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 189 | | match contents { [INFO] [stdout] 190 | | Contents::OfElement(id) => Ok(NonReplacedContents::OfElement(id)), [INFO] [stdout] 191 | | Contents::OfPseudoElement(items) => Ok(NonReplacedContents::OfPseudoElement(items)), [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/dom_traversal.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | / match contents { [INFO] [stdout] 190 | | Contents::OfElement(id) => Ok(NonReplacedContents::OfElement(id)), [INFO] [stdout] 191 | | Contents::OfPseudoElement(items) => Ok(NonReplacedContents::OfPseudoElement(items)), [INFO] [stdout] 192 | | Contents::Replaced(replaced) => Err(replaced), [INFO] [stdout] 193 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/dom_traversal.rs:190:40 [INFO] [stdout] | [INFO] [stdout] 190 | Contents::OfElement(id) => Ok(NonReplacedContents::OfElement(id)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/dom_traversal.rs:191:49 [INFO] [stdout] | [INFO] [stdout] 191 | Contents::OfPseudoElement(items) => Ok(NonReplacedContents::OfPseudoElement(items)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/dom_traversal.rs:192:45 [INFO] [stdout] | [INFO] [stdout] 192 | Contents::Replaced(replaced) => Err(replaced), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout/dom_traversal.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | fn layout_data_mut(&self, element_id: NodeId) -> AtomicRefMut { [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] 277 | fn layout_data_mut(&self, element_id: NodeId) -> AtomicRefMut<'_, LayoutDataForElement> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout/dom_traversal.rs:285:25 [INFO] [stdout] | [INFO] [stdout] 285 | fn element_box_slot(&self, element_id: NodeId) -> BoxSlot { [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] 285 | fn element_box_slot(&self, element_id: NodeId) -> BoxSlot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout/dom_traversal.rs:292:32 [INFO] [stdout] | [INFO] [stdout] 292 | fn pseudo_element_box_slot(&self, element_id: NodeId, which: WhichPseudoElement) -> BoxSlot { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 292 | fn pseudo_element_box_slot(&self, element_id: NodeId, which: WhichPseudoElement) -> BoxSlot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/flow/construct.rs:301:26 [INFO] [stdout] | [INFO] [stdout] 301 | let box_ = match contents.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layout/flow/construct.rs:386:38 [INFO] [stdout] | [INFO] [stdout] 386 | let intermediate_box = match contents.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/layout/positioned.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 36 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 39 | ) -> AbsolutelyPositionedFragment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | ) -> AbsolutelyPositionedFragment<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `accessibility-tree` (lib) due to 8 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "57f249e5b233efe38f4ce4f1a868d7af3606c4acf8fbac92b08a990e8d7c07bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57f249e5b233efe38f4ce4f1a868d7af3606c4acf8fbac92b08a990e8d7c07bf", kill_on_drop: false }` [INFO] [stdout] 57f249e5b233efe38f4ce4f1a868d7af3606c4acf8fbac92b08a990e8d7c07bf