[INFO] fetching crate intvg 0.1.7... [INFO] checking intvg-0.1.7 against try#80370147ae6685a1436ab7bcd206f61157af70d2 for pr-147017-1 [INFO] extracting crate intvg 0.1.7 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate intvg 0.1.7 on toolchain 80370147ae6685a1436ab7bcd206f61157af70d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80370147ae6685a1436ab7bcd206f61157af70d2" "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" "+80370147ae6685a1436ab7bcd206f61157af70d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+80370147ae6685a1436ab7bcd206f61157af70d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9f323f2737e0eba6f4e768849637d4d7ecfe9f4b2571d3b24faf4f525c30c5d [INFO] running `Command { std: "docker" "start" "-a" "f9f323f2737e0eba6f4e768849637d4d7ecfe9f4b2571d3b24faf4f525c30c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9f323f2737e0eba6f4e768849637d4d7ecfe9f4b2571d3b24faf4f525c30c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9f323f2737e0eba6f4e768849637d4d7ecfe9f4b2571d3b24faf4f525c30c5d", kill_on_drop: false }` [INFO] [stdout] f9f323f2737e0eba6f4e768849637d4d7ecfe9f4b2571d3b24faf4f525c30c5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+80370147ae6685a1436ab7bcd206f61157af70d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83dc55bb54cf98ba8cbad5e4466d9315f8abb72cab2e916f8ebea0f27c520248 [INFO] running `Command { std: "docker" "start" "-a" "83dc55bb54cf98ba8cbad5e4466d9315f8abb72cab2e916f8ebea0f27c520248", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.19 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking xmlparser v0.13.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking roxmltree v0.18.0 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking fontconfig-parser v0.5.3 [INFO] [stderr] Checking kurbo v0.11.0 [INFO] [stderr] Checking memmap2 v0.9.3 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Checking unicode-script v0.5.5 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking unicode-ccc v0.2.0 [INFO] [stderr] Checking rustybuzz v0.14.0 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Checking svgtypes v0.15.1 [INFO] [stderr] Checking fontdb v0.18.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking simplecss v0.2.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking data-url v0.3.1 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking imagesize v0.12.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking usvg v0.42.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking tiny-skia v0.11.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling intvg v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking criterion v0.5.1 [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