[INFO] fetching crate intvg 0.1.3... [INFO] checking intvg-0.1.3 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate intvg 0.1.3 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate intvg 0.1.3 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate intvg 0.1.3 [INFO] finished tweaking crates.io crate intvg 0.1.3 [INFO] tweaked toml for crates.io crate intvg 0.1.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate intvg 0.1.3 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded js-sys v0.3.64 [INFO] [stderr] Downloaded unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Downloaded smallvec v1.11.0 [INFO] [stderr] Downloaded usvg v0.35.0 [INFO] [stderr] Downloaded siphasher v0.3.10 [INFO] [stderr] Downloaded imagesize v0.12.0 [INFO] [stderr] Downloaded unicode-ccc v0.1.2 [INFO] [stderr] Downloaded base64 v0.21.2 [INFO] [stderr] Downloaded rustybuzz v0.7.0 [INFO] [stderr] Downloaded syn v2.0.28 [INFO] [stderr] Downloaded wasm-bindgen v0.2.87 [INFO] [stderr] Downloaded chrono v0.4.26 [INFO] [stderr] Downloaded kurbo v0.9.5 [INFO] [stderr] Downloaded num-traits v0.2.16 [INFO] [stderr] Downloaded ttf-parser v0.18.1 [INFO] [stderr] Downloaded windows v0.48.0 [INFO] [stderr] Downloaded tiny-skia-path v0.11.1 [INFO] [stderr] Downloaded tiny-skia v0.11.1 [INFO] [stderr] Downloaded tiny-skia-path v0.10.0 [INFO] [stderr] Downloaded ttf-parser v0.19.1 [INFO] [stderr] Downloaded fontdb v0.14.1 [INFO] [stderr] Downloaded cc v1.0.82 [INFO] [stderr] Downloaded bumpalo v3.13.0 [INFO] [stderr] Downloaded png v0.17.9 [INFO] [stderr] Downloaded flate2 v1.0.26 [INFO] [stderr] Downloaded usvg-parser v0.35.0 [INFO] [stderr] Downloaded unicode-general-category v0.6.0 [INFO] [stderr] Downloaded usvg-tree v0.35.0 [INFO] [stderr] Downloaded usvg-text-layout v0.35.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.57 [INFO] [stderr] Downloaded time v0.1.45 [INFO] [stderr] Downloaded proc-macro2 v1.0.66 [INFO] [stderr] Downloaded quote v1.0.32 [INFO] [stderr] Downloaded unicode-ident v1.0.11 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.87 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.87 [INFO] [stderr] Downloaded fdeflate v0.3.0 [INFO] [stderr] Downloaded data-url v0.2.0 [INFO] [stderr] Downloaded simplecss v0.2.1 [INFO] [stderr] Downloaded xmlparser v0.13.5 [INFO] [stderr] Downloaded roxmltree v0.18.0 [INFO] [stderr] Downloaded fontconfig-parser v0.5.2 [INFO] [stderr] Downloaded memmap2 v0.6.2 [INFO] [stderr] Downloaded unicode-script v0.5.5 [INFO] [stderr] Downloaded unicode-vo v0.1.0 [INFO] [stderr] Downloaded pico-args v0.5.0 [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] [stderr] Downloaded rctree v0.5.0 [INFO] [stderr] Downloaded bytemuck v1.13.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.87 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Downloaded svgtypes v0.11.0 [INFO] [stderr] Downloaded xmlwriter v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 065a5bca9954bed0d556b4a83ea0cb303979cc79a51eef44842cb8bcd2bb8f96 [INFO] running `Command { std: "docker" "start" "-a" "065a5bca9954bed0d556b4a83ea0cb303979cc79a51eef44842cb8bcd2bb8f96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "065a5bca9954bed0d556b4a83ea0cb303979cc79a51eef44842cb8bcd2bb8f96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "065a5bca9954bed0d556b4a83ea0cb303979cc79a51eef44842cb8bcd2bb8f96", kill_on_drop: false }` [INFO] [stdout] 065a5bca9954bed0d556b4a83ea0cb303979cc79a51eef44842cb8bcd2bb8f96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a08d303da07ba7fed94d0ab4a81c33886daed2ba39897fe06d66e840f8eeff8c [INFO] running `Command { std: "docker" "start" "-a" "a08d303da07ba7fed94d0ab4a81c33886daed2ba39897fe06d66e840f8eeff8c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking xmlparser v0.13.5 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling unicode-general-category v0.6.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Checking kurbo v0.9.5 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking rctree v0.5.0 [INFO] [stderr] Checking ttf-parser v0.19.1 [INFO] [stderr] Checking unicode-ccc v0.1.2 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking unicode-script v0.5.5 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking ttf-parser v0.18.1 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Checking unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Checking simplecss v0.2.1 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking tiny-skia-path v0.10.0 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Checking roxmltree v0.18.0 [INFO] [stderr] Checking imagesize v0.12.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking data-url v0.2.0 [INFO] [stderr] Checking tiny-skia-path v0.11.1 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking fontconfig-parser v0.5.2 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking svgtypes v0.11.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Checking memmap2 v0.6.2 [INFO] [stderr] Checking usvg-tree v0.35.0 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Checking usvg-parser v0.35.0 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Checking rustybuzz v0.7.0 [INFO] [stderr] Checking tiny-skia v0.11.1 [INFO] [stderr] Checking fontdb v0.14.1 [INFO] [stderr] Compiling intvg v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking usvg-text-layout v0.35.0 [INFO] [stderr] Checking usvg v0.35.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.76s [INFO] running `Command { std: "docker" "inspect" "a08d303da07ba7fed94d0ab4a81c33886daed2ba39897fe06d66e840f8eeff8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a08d303da07ba7fed94d0ab4a81c33886daed2ba39897fe06d66e840f8eeff8c", kill_on_drop: false }` [INFO] [stdout] a08d303da07ba7fed94d0ab4a81c33886daed2ba39897fe06d66e840f8eeff8c [INFO] checking intvg-0.1.3 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate intvg 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate intvg 0.1.3 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate intvg 0.1.3 [INFO] finished tweaking crates.io crate intvg 0.1.3 [INFO] tweaked toml for crates.io crate intvg 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate intvg 0.1.3 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a12ae7404108b8303d4095e8e6c88991efd770aaf20748f6dfbad736f950668b [INFO] running `Command { std: "docker" "start" "-a" "a12ae7404108b8303d4095e8e6c88991efd770aaf20748f6dfbad736f950668b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a12ae7404108b8303d4095e8e6c88991efd770aaf20748f6dfbad736f950668b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a12ae7404108b8303d4095e8e6c88991efd770aaf20748f6dfbad736f950668b", kill_on_drop: false }` [INFO] [stdout] a12ae7404108b8303d4095e8e6c88991efd770aaf20748f6dfbad736f950668b [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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07b925befbfe166b3df32dee048b721f13923a1f5665ebc1632fe47e82c6cb4a [INFO] running `Command { std: "docker" "start" "-a" "07b925befbfe166b3df32dee048b721f13923a1f5665ebc1632fe47e82c6cb4a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking xmlparser v0.13.5 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Compiling unicode-general-category v0.6.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking kurbo v0.9.5 [INFO] [stderr] Checking rctree v0.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking unicode-ccc v0.1.2 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Checking unicode-script v0.5.5 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking ttf-parser v0.18.1 [INFO] [stderr] Checking ttf-parser v0.19.1 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking simplecss v0.2.1 [INFO] [stderr] Checking imagesize v0.12.0 [INFO] [stderr] Checking tiny-skia-path v0.10.0 [INFO] [stderr] Checking roxmltree v0.18.0 [INFO] [stderr] Checking data-url v0.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Checking tiny-skia-path v0.11.1 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking fontconfig-parser v0.5.2 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking svgtypes v0.11.0 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Checking usvg-tree v0.35.0 [INFO] [stderr] Checking memmap2 v0.6.2 [INFO] [stderr] Checking usvg-parser v0.35.0 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Checking tiny-skia v0.11.1 [INFO] [stderr] Checking rustybuzz v0.7.0 [INFO] [stderr] Checking fontdb v0.14.1 [INFO] [stderr] Compiling intvg v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking usvg-text-layout v0.35.0 [INFO] [stderr] Checking usvg v0.35.0 [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/render.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / impl From for skia::Rect { [INFO] [stdout] 16 | | fn from(r: Rect) -> Self { unsafe { std::mem::transmute(r) }} [INFO] [stdout] 17 | | //fn from(r: Rect) -> Self { skia::Rect::from_ltrb(r.l, r.t, r.r, r.b).unwrap() } [INFO] [stdout] 18 | | //fn from(r: Rect) -> Self { skia::Rect::from_xywh(r.x, r.y, r.w, r.h).unwrap() } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `render` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/render.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / impl From for skia::Rect { [INFO] [stdout] 16 | | fn from(r: Rect) -> Self { unsafe { std::mem::transmute(r) }} [INFO] [stdout] 17 | | //fn from(r: Rect) -> Self { skia::Rect::from_ltrb(r.l, r.t, r.r, r.b).unwrap() } [INFO] [stdout] 18 | | //fn from(r: Rect) -> Self { skia::Rect::from_xywh(r.x, r.y, r.w, r.h).unwrap() } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `render` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/render.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | / impl From for skia::Color { // XXX: why not use ColorU8 defaultly in skia? [INFO] [stdout] 187 | | fn from(c: RGBA8888) -> Self { Self::from_rgba8(c.r, c.g, c.b, c.a) } [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `style_to_paint` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/render.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | / impl From for skia::Color { // XXX: why not use ColorU8 defaultly in skia? [INFO] [stdout] 187 | | fn from(c: RGBA8888) -> Self { Self::from_rgba8(c.r, c.g, c.b, c.a) } [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `style_to_paint` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/render.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / impl From for skia::Point { [INFO] [stdout] 191 | | //fn from(pt: Point) -> Self { (pt.x, pt.y).into() } [INFO] [stdout] 192 | | //fn from(pt: Point) -> Self { Self { x: pt.x, y: pt.y } } [INFO] [stdout] 193 | | fn from(pt: Point) -> Self { unsafe { std::mem::transmute(pt) } } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `style_to_paint` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/render.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / impl From for skia::Point { [INFO] [stdout] 191 | | //fn from(pt: Point) -> Self { (pt.x, pt.y).into() } [INFO] [stdout] 192 | | //fn from(pt: Point) -> Self { Self { x: pt.x, y: pt.y } } [INFO] [stdout] 193 | | fn from(pt: Point) -> Self { unsafe { std::mem::transmute(pt) } } [INFO] [stdout] 194 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `style_to_paint` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `intvg` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `intvg` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "07b925befbfe166b3df32dee048b721f13923a1f5665ebc1632fe47e82c6cb4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07b925befbfe166b3df32dee048b721f13923a1f5665ebc1632fe47e82c6cb4a", kill_on_drop: false }` [INFO] [stdout] 07b925befbfe166b3df32dee048b721f13923a1f5665ebc1632fe47e82c6cb4a