[INFO] fetching crate intvg 0.1.7... [INFO] testing intvg-0.1.7 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate intvg 0.1.7 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate intvg 0.1.7 [INFO] finished tweaking crates.io crate intvg 0.1.7 [INFO] tweaked toml for crates.io crate intvg 0.1.7 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate intvg 0.1.7 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate intvg 0.1.7 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1823a1cbea2c583fce9ae8027703bb44fb31d711073426c5823ddc99a1bacf08 [INFO] running `Command { std: "docker" "start" "-a" "1823a1cbea2c583fce9ae8027703bb44fb31d711073426c5823ddc99a1bacf08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1823a1cbea2c583fce9ae8027703bb44fb31d711073426c5823ddc99a1bacf08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1823a1cbea2c583fce9ae8027703bb44fb31d711073426c5823ddc99a1bacf08", kill_on_drop: false }` [INFO] [stdout] 1823a1cbea2c583fce9ae8027703bb44fb31d711073426c5823ddc99a1bacf08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bfb2d379bca8b2ca715ed2ad6d636c1c8057cefa7143d95fa5b7d60719127a2 [INFO] running `Command { std: "docker" "start" "-a" "7bfb2d379bca8b2ca715ed2ad6d636c1c8057cefa7143d95fa5b7d60719127a2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling prettyplease v0.2.19 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling xmlparser v0.13.5 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling roxmltree v0.18.0 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling fontconfig-parser v0.5.3 [INFO] [stderr] Compiling kurbo v0.11.0 [INFO] [stderr] Compiling memmap2 v0.9.3 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling unicode-ccc v0.2.0 [INFO] [stderr] Compiling unicode-script v0.5.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling rustybuzz v0.14.0 [INFO] [stderr] Compiling svgtypes v0.15.1 [INFO] [stderr] Compiling png v0.17.9 [INFO] [stderr] Compiling fontdb v0.18.0 [INFO] [stderr] Compiling simplecss v0.2.1 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling data-url v0.3.1 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling imagesize v0.12.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tiny-skia v0.11.1 [INFO] [stderr] Compiling usvg v0.42.0 [INFO] [stderr] Compiling intvg v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/render.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 9 | fn render(&self, scale: f32) -> Result { [INFO] [stdout] | ---------------------------------------------------------- move the `impl` block outside of this method `render` [INFO] [stdout] ... [INFO] [stdout] 20 | impl From for skia::Rect { [INFO] [stdout] | ^^^^^----^----^^^^^^---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | `Rect` is not local [INFO] [stdout] | | `Rect` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/render.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 167 | / fn style_to_paint<'a, R: io::Read, W: io::Write>(img: &TinyVG, [INFO] [stdout] 168 | | style: &Style, trfm: skia::Transform) -> [INFO] [stdout] 169 | | Result, &'static str> { [INFO] [stdout] | |_________________________________________- move the `impl` block outside of this function `style_to_paint` [INFO] [stdout] 170 | impl From for skia::Color { // XXX: why not use ColorU8 defaultly in skia? [INFO] [stdout] | ^^^^^----^--------^^^^^^----------- [INFO] [stdout] | | | | [INFO] [stdout] | | | `Color` is not local [INFO] [stdout] | | `RGBA8888` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/render.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 167 | / fn style_to_paint<'a, R: io::Read, W: io::Write>(img: &TinyVG, [INFO] [stdout] 168 | | style: &Style, trfm: skia::Transform) -> [INFO] [stdout] 169 | | Result, &'static str> { [INFO] [stdout] | |_________________________________________- move the `impl` block outside of this function `style_to_paint` [INFO] [stdout] ... [INFO] [stdout] 174 | impl From for skia::Point { [INFO] [stdout] | ^^^^^----^-----^^^^^^----------- [INFO] [stdout] | | | | [INFO] [stdout] | | | `Point` is not local [INFO] [stdout] | | `Point` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/convert.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | fn convert_path(path: &skia::Path, trfm: &usvg::Transform) -> Vec { [INFO] [stdout] | -------------------------------------------------------------------------- move the `impl` block outside of this function `convert_path` [INFO] [stdout] 80 | impl From for Point { //unsafe { std::mem::transmute(pt) } [INFO] [stdout] | ^^^^^----^-----------^^^^^^----- [INFO] [stdout] | | | | [INFO] [stdout] | | | `Point` is not local [INFO] [stdout] | | `Point` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/convert.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 113 | / fn convert_paint(tvg: &mut TinyVG, [INFO] [stdout] 114 | | paint: &usvg::Paint, opacity: usvg::Opacity, _trfm: &usvg::Transform) -> Option