[INFO] fetching crate soft_skia 0.12.0... [INFO] building soft_skia-0.12.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate soft_skia 0.12.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate soft_skia 0.12.0 [INFO] finished tweaking crates.io crate soft_skia 0.12.0 [INFO] tweaked toml for crates.io crate soft_skia 0.12.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate soft_skia 0.12.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 138 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding fontdue v0.7.3 (available: v0.9.3) [INFO] [stderr] Adding png v0.17.16 (available: v0.18.0) [INFO] [stderr] Adding tiny-skia v0.10.0 (available: v0.11.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded equator-macro v0.4.2 [INFO] [stderr] Downloaded fax_derive v0.2.0 [INFO] [stderr] Downloaded avif-serialize v0.8.6 [INFO] [stderr] Downloaded av1-grain v0.2.4 [INFO] [stderr] Downloaded built v0.7.7 [INFO] [stderr] Downloaded arbitrary v1.4.2 [INFO] [stderr] Downloaded equator v0.4.2 [INFO] [stderr] Downloaded image-webp v0.2.4 [INFO] [stderr] Downloaded imgref v1.12.0 [INFO] [stderr] Downloaded zune-jpeg v0.4.21 [INFO] [stderr] Downloaded png v0.18.0 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.10 [INFO] [stderr] Downloaded moxcms v0.7.5 [INFO] [stderr] Downloaded tiny-skia-path v0.10.0 [INFO] [stderr] Downloaded aligned-vec v0.6.4 [INFO] [stderr] Downloaded tiny-skia v0.10.0 [INFO] [stderr] Downloaded ravif v0.11.20 [INFO] [stderr] Downloaded fax v0.2.6 [INFO] [stderr] Downloaded v_frame v0.3.9 [INFO] [stderr] Downloaded image v0.25.8 [INFO] [stderr] Downloaded pxfm v0.1.24 [INFO] [stderr] Downloaded tiff v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4436023d00a6b5649f4ba15b896bed9159c7fdbf1e5b8f9428b43ffd4cc7f7f [INFO] running `Command { std: "docker" "start" "-a" "e4436023d00a6b5649f4ba15b896bed9159c7fdbf1e5b8f9428b43ffd4cc7f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4436023d00a6b5649f4ba15b896bed9159c7fdbf1e5b8f9428b43ffd4cc7f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4436023d00a6b5649f4ba15b896bed9159c7fdbf1e5b8f9428b43ffd4cc7f7f", kill_on_drop: false }` [INFO] [stdout] e4436023d00a6b5649f4ba15b896bed9159c7fdbf1e5b8f9428b43ffd4cc7f7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97729f797aaecaa46498421982beacd8525af17e990727633a98198b293a18f9 [INFO] running `Command { std: "docker" "start" "-a" "97729f797aaecaa46498421982beacd8525af17e990727633a98198b293a18f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling pxfm v0.1.24 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling tiny-skia-path v0.10.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling tiny-skia v0.10.0 [INFO] [stderr] Compiling moxcms v0.7.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling web-sys v0.3.81 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling soft_skia v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::shape::Circle` [INFO] [stdout] --> src/tree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::shape::Circle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tiny_skia::ColorU8` [INFO] [stdout] --> src/tree.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tiny_skia::ColorU8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/shape.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use image::io::Reader as ImageReader; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/shape.rs:517:32 [INFO] [stdout] | [INFO] [stdout] 517 | let u8_array = base64::decode(&self.image).expect("base64 decode failed"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/shape.rs:520:23 [INFO] [stdout] | [INFO] [stdout] 520 | let mut img = ImageReader::new(Cursor::new(&u8_array as &[u8])).with_guessed_format().unwrap().decode().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instance.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut child = self.get_tree_node_by_id(child_id).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instance.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut child = self.get_tree_node_by_id(child_id).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/shape.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_path(&self, context: &DrawContext) -> Path { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/shape.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/shape.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 190 | PaintStyle::Stroke => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 199 | PaintStyle::Fill => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 209 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/shape.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/shape.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 259 | PaintStyle::Stroke => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 268 | PaintStyle::Fill => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 278 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/shape.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/shape.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 324 | PaintStyle::Stroke => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 333 | PaintStyle::Fill => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 343 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/shape.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/shape.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 462 | PaintStyle::Stroke => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 472 | PaintStyle::Fill => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 482 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/shape.rs:516:41 [INFO] [stdout] | [INFO] [stdout] 516 | fn draw(&self, pixmap: &mut Pixmap, context: &DrawContext) -> () { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/shape.rs:560:41 [INFO] [stdout] | [INFO] [stdout] 560 | fn draw(&self, pixmap: &mut Pixmap, context: &DrawContext) -> () { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn children_iter(&mut 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn children_iter(&mut self) -> Iter<'_, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn children_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] 93 | pub fn children_iter_mut(&mut self) -> IterMut<'_, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.01s [INFO] running `Command { std: "docker" "inspect" "97729f797aaecaa46498421982beacd8525af17e990727633a98198b293a18f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97729f797aaecaa46498421982beacd8525af17e990727633a98198b293a18f9", kill_on_drop: false }` [INFO] [stdout] 97729f797aaecaa46498421982beacd8525af17e990727633a98198b293a18f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 449fc17ae8d23d8c1195ed0e85293f9c0a9390798f017502e777285948f51049 [INFO] running `Command { std: "docker" "start" "-a" "449fc17ae8d23d8c1195ed0e85293f9c0a9390798f017502e777285948f51049", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::shape::Circle` [INFO] [stdout] --> src/tree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::shape::Circle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tiny_skia::ColorU8` [INFO] [stdout] --> src/tree.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tiny_skia::ColorU8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/shape.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use image::io::Reader as ImageReader; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/shape.rs:517:32 [INFO] [stdout] | [INFO] [stdout] 517 | let u8_array = base64::decode(&self.image).expect("base64 decode failed"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/shape.rs:520:23 [INFO] [stdout] | [INFO] [stdout] 520 | let mut img = ImageReader::new(Cursor::new(&u8_array as &[u8])).with_guessed_format().unwrap().decode().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instance.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut child = self.get_tree_node_by_id(child_id).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instance.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut child = self.get_tree_node_by_id(child_id).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/shape.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_path(&self, context: &DrawContext) -> Path { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/shape.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/shape.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 190 | PaintStyle::Stroke => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 199 | PaintStyle::Fill => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 209 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/shape.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/shape.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 259 | PaintStyle::Stroke => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 268 | PaintStyle::Fill => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 278 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/shape.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/shape.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 324 | PaintStyle::Stroke => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 333 | PaintStyle::Fill => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 343 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/shape.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/shape.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 462 | PaintStyle::Stroke => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 472 | PaintStyle::Fill => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 482 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/shape.rs:516:41 [INFO] [stdout] | [INFO] [stdout] 516 | fn draw(&self, pixmap: &mut Pixmap, context: &DrawContext) -> () { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/shape.rs:560:41 [INFO] [stdout] | [INFO] [stdout] 560 | fn draw(&self, pixmap: &mut Pixmap, context: &DrawContext) -> () { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn children_iter(&mut 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn children_iter(&mut self) -> Iter<'_, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn children_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] 93 | pub fn children_iter_mut(&mut self) -> IterMut<'_, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling soft_skia v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::shape::PaintStyle` [INFO] [stdout] --> src/instance.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use crate::shape::PaintStyle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorU8`, `FillRule`, `Paint`, `PathBuilder`, `Stroke`, and `Transform` [INFO] [stdout] --> src/shape.rs:636:17 [INFO] [stdout] | [INFO] [stdout] 636 | use super::{ColorU8, FillRule, Paint, PathBuilder, Pixmap, Stroke, Transform}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shape::Circle` [INFO] [stdout] --> src/shape.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | use crate::shape::Circle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shape::PaintStyle` [INFO] [stdout] --> src/shape.rs:639:9 [INFO] [stdout] | [INFO] [stdout] 639 | use crate::shape::PaintStyle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shape::PaintStyle` [INFO] [stdout] --> src/tree.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use crate::shape::PaintStyle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ColorU8` [INFO] [stdout] --> src/tree.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | use super::ColorU8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/shape.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use image::io::Reader as ImageReader; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/shape.rs:517:32 [INFO] [stdout] | [INFO] [stdout] 517 | let u8_array = base64::decode(&self.image).expect("base64 decode failed"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/shape.rs:520:23 [INFO] [stdout] | [INFO] [stdout] 520 | let mut img = ImageReader::new(Cursor::new(&u8_array as &[u8])).with_guessed_format().unwrap().decode().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/shape.rs:668:32 [INFO] [stdout] | [INFO] [stdout] 668 | let data_url = base64::encode(&data); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instance.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut child = self.get_tree_node_by_id(child_id).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instance.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut child = self.get_tree_node_by_id(child_id).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/instance.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | width, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `width: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/instance.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | height, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `height: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/instance.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | color, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `color: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/instance.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | style, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `style: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/instance.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | style, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `style: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/shape.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_path(&self, context: &DrawContext) -> Path { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/shape.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/shape.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 190 | PaintStyle::Stroke => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 199 | PaintStyle::Fill => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 209 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/shape.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/shape.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 259 | PaintStyle::Stroke => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 268 | PaintStyle::Fill => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 278 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/shape.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/shape.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 324 | PaintStyle::Stroke => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 333 | PaintStyle::Fill => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 343 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/shape.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/shape.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 462 | PaintStyle::Stroke => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 472 | PaintStyle::Fill => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 482 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/shape.rs:516:41 [INFO] [stdout] | [INFO] [stdout] 516 | fn draw(&self, pixmap: &mut Pixmap, context: &DrawContext) -> () { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/shape.rs:560:41 [INFO] [stdout] | [INFO] [stdout] 560 | fn draw(&self, pixmap: &mut Pixmap, context: &DrawContext) -> () { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tree.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | x, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/tree.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | y, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/tree.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | color, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `color: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/tree.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | style, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `style: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tree.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | x, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/tree.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | y, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/tree.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | color, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `color: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tree.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let mut root = tree.get_root(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cy` [INFO] [stdout] --> src/tree.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | cy, [INFO] [stdout] | ^^ help: try ignoring the field: `cy: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/tree.rs:309:21 [INFO] [stdout] | [INFO] [stdout] 309 | r, [INFO] [stdout] | ^ help: try ignoring the field: `r: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/tree.rs:310:21 [INFO] [stdout] | [INFO] [stdout] 310 | color, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `color: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/tree.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | style, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `style: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cy` [INFO] [stdout] --> src/tree.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | cy, [INFO] [stdout] | ^^ help: try ignoring the field: `cy: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/tree.rs:326:21 [INFO] [stdout] | [INFO] [stdout] 326 | r, [INFO] [stdout] | ^ help: try ignoring the field: `r: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/tree.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | color, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `color: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/tree.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | style, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `style: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tree.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let mut child_index_1 = node.get_mut_child_by_index(1).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn children_iter(&mut 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn children_iter(&mut self) -> Iter<'_, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn children_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] 93 | pub fn children_iter_mut(&mut self) -> IterMut<'_, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "449fc17ae8d23d8c1195ed0e85293f9c0a9390798f017502e777285948f51049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "449fc17ae8d23d8c1195ed0e85293f9c0a9390798f017502e777285948f51049", kill_on_drop: false }` [INFO] [stdout] 449fc17ae8d23d8c1195ed0e85293f9c0a9390798f017502e777285948f51049