[INFO] cloning repository https://github.com/linebender/piet-gpu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linebender/piet-gpu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinebender%2Fpiet-gpu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinebender%2Fpiet-gpu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 947a85f9cfb97f946b9bbd32ca9c2c1e5246b482 [INFO] building linebender/piet-gpu against master#c2804e6ec2c29a5c7368600ea173b890e2655c3d for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinebender%2Fpiet-gpu" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/linebender/piet-gpu on toolchain c2804e6ec2c29a5c7368600ea173b890e2655c3d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/linebender/piet-gpu [INFO] finished tweaking git repo https://github.com/linebender/piet-gpu [INFO] tweaked toml for git repo https://github.com/linebender/piet-gpu written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/linebender/piet-gpu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/dfrg/pinot` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cty v0.2.2 [INFO] [stderr] Downloaded ryu v1.0.10 [INFO] [stderr] Downloaded arrayvec v0.5.2 [INFO] [stderr] Downloaded raw-window-handle v0.3.4 [INFO] [stderr] Downloaded ndk-glue v0.3.0 [INFO] [stderr] Downloaded unic-ucd-version v0.9.0 [INFO] [stderr] Downloaded objc_exception v0.1.2 [INFO] [stderr] Downloaded ndk-glue v0.5.2 [INFO] [stderr] Downloaded wayland-cursor v0.29.4 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.4 [INFO] [stderr] Downloaded piet v0.2.0 [INFO] [stderr] Downloaded unic-char-range v0.9.0 [INFO] [stderr] Downloaded roxmltree v0.13.1 [INFO] [stderr] Downloaded core-foundation v0.7.0 [INFO] [stderr] Downloaded darling_macro v0.13.4 [INFO] [stderr] Downloaded itoa v1.0.2 [INFO] [stderr] Downloaded mio v0.8.4 [INFO] [stderr] Downloaded serde_json v1.0.82 [INFO] [stderr] Downloaded darling_core v0.13.4 [INFO] [stderr] Downloaded darling v0.13.4 [INFO] [stderr] Downloaded pinot v0.1.5 [INFO] [stderr] Downloaded unic-common v0.9.0 [INFO] [stderr] Downloaded unic-ucd-bidi v0.9.0 [INFO] [stderr] Downloaded ndk-macro v0.3.0 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded strsim v0.9.3 [INFO] [stderr] Downloaded serde_derive v1.0.139 [INFO] [stderr] Downloaded hashbrown v0.12.2 [INFO] [stderr] Downloaded core-graphics v0.19.2 [INFO] [stderr] Downloaded unic-char-property v0.9.0 [INFO] [stderr] Downloaded dispatch v0.2.0 [INFO] [stderr] Downloaded core-video-sys v0.1.4 [INFO] [stderr] Downloaded nom v7.1.1 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded cocoa v0.24.0 [INFO] [stderr] Downloaded kurbo v0.7.1 [INFO] [stderr] Downloaded ndk-context v0.1.1 [INFO] [stderr] Downloaded ndk-macro v0.2.0 [INFO] [stderr] Downloaded serde v1.0.139 [INFO] [stderr] Downloaded x11-dl v2.19.1 [INFO] [stderr] Downloaded xcursor v0.3.4 [INFO] [stderr] Downloaded objc v0.2.7 [INFO] [stderr] Downloaded raw-window-metal v0.1.2 [INFO] [stderr] Downloaded unic-bidi v0.9.0 [INFO] [stderr] Downloaded zeno v0.2.2 [INFO] [stderr] Downloaded ash-window v0.7.0 [INFO] [stderr] Downloaded cocoa-foundation v0.1.0 [INFO] [stderr] Downloaded metal v0.22.0 [INFO] [stderr] Downloaded kurbo v0.8.3 [INFO] [stderr] Downloaded raw-window-handle v0.4.3 [INFO] [stderr] Downloaded ash v0.33.3+1.2.191 [INFO] [stderr] Downloaded xmlparser v0.13.3 [INFO] [stderr] Downloaded jni-sys v0.3.0 [INFO] [stderr] Downloaded ndk v0.3.0 [INFO] [stderr] Downloaded yazi v0.1.4 [INFO] [stderr] Downloaded core-foundation-sys v0.7.0 [INFO] [stderr] Downloaded ndk v0.5.0 [INFO] [stderr] Downloaded calloop v0.9.3 [INFO] [stderr] Downloaded cbindgen v0.20.0 [INFO] [stderr] Downloaded swash v0.1.4 [INFO] [stderr] Downloaded ndk-sys v0.2.2 [INFO] [stderr] Downloaded winit v0.26.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e066acd7336b6a6c2ebc91dc06aa48eede81f3f8ae206e61df0c989ca4dd27c [INFO] running `Command { std: "docker" "start" "-a" "2e066acd7336b6a6c2ebc91dc06aa48eede81f3f8ae206e61df0c989ca4dd27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e066acd7336b6a6c2ebc91dc06aa48eede81f3f8ae206e61df0c989ca4dd27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e066acd7336b6a6c2ebc91dc06aa48eede81f3f8ae206e61df0c989ca4dd27c", kill_on_drop: false }` [INFO] [stdout] 2e066acd7336b6a6c2ebc91dc06aa48eede81f3f8ae206e61df0c989ca4dd27c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a21427c11c98b3032ea2b07cf26353125ff2ad4581837c0b884b8ad8b850fe5 [INFO] running `Command { std: "docker" "start" "-a" "9a21427c11c98b3032ea2b07cf26353125ff2ad4581837c0b884b8ad8b850fe5", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling yazi v0.1.4 [INFO] [stderr] Compiling xmlparser v0.13.3 [INFO] [stderr] Compiling zeno v0.2.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling cbindgen v0.20.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling hashbrown v0.12.2 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling pinot v0.1.5 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling kurbo v0.7.1 [INFO] [stderr] Compiling roxmltree v0.13.1 [INFO] [stderr] Compiling swash v0.1.4 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling ash v0.33.3+1.2.191 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unic-ucd-bidi v0.9.0 [INFO] [stderr] Compiling moscato v0.1.2 (https://github.com/dfrg/pinot#59db153f) [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling unic-bidi v0.9.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling piet v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling bytemuck_derive v1.1.0 [INFO] [stderr] Compiling piet-gpu-derive v0.0.0 (/opt/rustwide/workdir/piet-gpu-derive) [INFO] [stderr] Compiling ash-window v0.7.0 [INFO] [stderr] Compiling bytemuck v1.10.0 [INFO] [stderr] Compiling piet-gpu-hal v0.1.0 (/opt/rustwide/workdir/piet-gpu-hal) [INFO] [stderr] Compiling piet-scene v0.1.0 (/opt/rustwide/workdir/piet-scene) [INFO] [stderr] Compiling piet-gpu-types v0.0.0 (/opt/rustwide/workdir/piet-gpu-types) [INFO] [stdout] warning: unused variable: `brush` [INFO] [stdout] --> piet-scene/src/glyph/mod.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | Command::Fill(brush, brush_xform) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_brush` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `brush_xform` [INFO] [stdout] --> piet-scene/src/glyph/mod.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | Command::Fill(brush, brush_xform) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_brush_xform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `brush` [INFO] [stdout] --> piet-scene/src/resource/mod.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn destroy_brush(&mut self, brush: PersistentBrush) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_brush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> piet-scene/src/scene/builder.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | style: Fill, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `brush` is never read [INFO] [stdout] --> piet-scene/src/resource/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct PersistentBrushData { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 55 | brush: Brush, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> piet-scene/src/resource/gradient.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BestFit` is never constructed [INFO] [stdout] --> piet-gpu-hal/src/bestfit.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BestFit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> piet-gpu-hal/src/bestfit.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(size: u32) -> BestFit { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `alloc` is never used [INFO] [stdout] --> piet-gpu-hal/src/bestfit.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn alloc(&mut self, size: u32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `free` is never used [INFO] [stdout] --> piet-gpu-hal/src/bestfit.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn free(&mut self, ix: u32, size: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling piet-gpu v0.1.0 (/opt/rustwide/workdir/piet-gpu) [INFO] [stdout] warning: unused import: `TRANSFORM_SIZE` [INFO] [stdout] --> piet-gpu/src/encoder.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{Blend, SceneStats, DRAWTAG_SIZE, TRANSFORM_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompositionMode` [INFO] [stdout] --> piet-gpu/src/test_scenes.rs:5:53 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{Blend, BlendMode, Colrv1RadialGradient, CompositionMode, PietGpuRenderContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> piet-gpu/src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod test_scenes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ramp` is never read [INFO] [stdout] --> piet-gpu/src/gradient.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct BakedGradient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 41 | ramp: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `BakedGradient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rect_to_f32_4` is never used [INFO] [stdout] --> piet-gpu/src/render_ctx.rs:419:4 [INFO] [stdout] | [INFO] [stdout] 419 | fn rect_to_f32_4(rect: Rect) -> [f32; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> piet-gpu/src/text.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct Glyph { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Glyph` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling piet-gpu-tests v0.1.0 (/opt/rustwide/workdir/tests) [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> tests/src/draw.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | use rand::{seq::SliceRandom, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pgpu-render v0.1.0 (/opt/rustwide/workdir/pgpu-render) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 18s [INFO] running `Command { std: "docker" "inspect" "9a21427c11c98b3032ea2b07cf26353125ff2ad4581837c0b884b8ad8b850fe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a21427c11c98b3032ea2b07cf26353125ff2ad4581837c0b884b8ad8b850fe5", kill_on_drop: false }` [INFO] [stdout] 9a21427c11c98b3032ea2b07cf26353125ff2ad4581837c0b884b8ad8b850fe5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 721e7d525533a157fa4cbeed2bd88b1730fca325b154cfcd78646b8bd92375be [INFO] running `Command { std: "docker" "start" "-a" "721e7d525533a157fa4cbeed2bd88b1730fca325b154cfcd78646b8bd92375be", kill_on_drop: false }` [INFO] [stderr] Compiling piet-gpu-derive v0.0.0 (/opt/rustwide/workdir/piet-gpu-derive) [INFO] [stderr] Compiling piet-gpu-types v0.0.0 (/opt/rustwide/workdir/piet-gpu-types) [INFO] [stdout] warning: struct `BestFit` is never constructed [INFO] [stdout] --> piet-gpu-hal/src/bestfit.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BestFit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> piet-gpu-hal/src/bestfit.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(size: u32) -> BestFit { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `alloc` is never used [INFO] [stdout] --> piet-gpu-hal/src/bestfit.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn alloc(&mut self, size: u32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `free` is never used [INFO] [stdout] --> piet-gpu-hal/src/bestfit.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn free(&mut self, ix: u32, size: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `brush` [INFO] [stdout] --> piet-scene/src/glyph/mod.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | Command::Fill(brush, brush_xform) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_brush` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `brush_xform` [INFO] [stdout] --> piet-scene/src/glyph/mod.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | Command::Fill(brush, brush_xform) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_brush_xform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `brush` [INFO] [stdout] --> piet-scene/src/resource/mod.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn destroy_brush(&mut self, brush: PersistentBrush) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_brush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> piet-scene/src/scene/builder.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | style: Fill, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `brush` is never read [INFO] [stdout] --> piet-scene/src/resource/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct PersistentBrushData { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 55 | brush: Brush, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> piet-scene/src/resource/gradient.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling piet-scene v0.1.0 (/opt/rustwide/workdir/piet-scene) [INFO] [stderr] Compiling piet-gpu-hal v0.1.0 (/opt/rustwide/workdir/piet-gpu-hal) [INFO] [stderr] Compiling piet-gpu v0.1.0 (/opt/rustwide/workdir/piet-gpu) [INFO] [stderr] Compiling piet-gpu-tests v0.1.0 (/opt/rustwide/workdir/tests) [INFO] [stdout] warning: unused import: `TRANSFORM_SIZE` [INFO] [stdout] --> piet-gpu/src/encoder.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{Blend, SceneStats, DRAWTAG_SIZE, TRANSFORM_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompositionMode` [INFO] [stdout] --> piet-gpu/src/test_scenes.rs:5:53 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{Blend, BlendMode, Colrv1RadialGradient, CompositionMode, PietGpuRenderContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> piet-gpu/src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod test_scenes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ramp` is never read [INFO] [stdout] --> piet-gpu/src/gradient.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct BakedGradient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 41 | ramp: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `BakedGradient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rect_to_f32_4` is never used [INFO] [stdout] --> piet-gpu/src/render_ctx.rs:419:4 [INFO] [stdout] | [INFO] [stdout] 419 | fn rect_to_f32_4(rect: Rect) -> [f32; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> piet-gpu/src/text.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct Glyph { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Glyph` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> tests/src/draw.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | use rand::{seq::SliceRandom, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TRANSFORM_SIZE` [INFO] [stdout] --> piet-gpu/src/encoder.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{Blend, SceneStats, DRAWTAG_SIZE, TRANSFORM_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompositionMode` [INFO] [stdout] --> piet-gpu/src/test_scenes.rs:5:53 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{Blend, BlendMode, Colrv1RadialGradient, CompositionMode, PietGpuRenderContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `brush` [INFO] [stdout] --> piet-scene/src/glyph/mod.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | Command::Fill(brush, brush_xform) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_brush` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `brush_xform` [INFO] [stdout] --> piet-scene/src/glyph/mod.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | Command::Fill(brush, brush_xform) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_brush_xform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `brush` [INFO] [stdout] --> piet-scene/src/resource/mod.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn destroy_brush(&mut self, brush: PersistentBrush) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_brush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> piet-scene/src/scene/builder.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | style: Fill, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `brush` is never read [INFO] [stdout] --> piet-scene/src/resource/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct PersistentBrushData { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 55 | brush: Brush, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> piet-scene/src/resource/gradient.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ramp` is never read [INFO] [stdout] --> piet-gpu/src/gradient.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct BakedGradient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 41 | ramp: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `BakedGradient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rect_to_f32_4` is never used [INFO] [stdout] --> piet-gpu/src/render_ctx.rs:419:4 [INFO] [stdout] | [INFO] [stdout] 419 | fn rect_to_f32_4(rect: Rect) -> [f32; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> piet-gpu/src/text.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct Glyph { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Glyph` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BestFit` is never constructed [INFO] [stdout] --> piet-gpu-hal/src/bestfit.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BestFit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> piet-gpu-hal/src/bestfit.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(size: u32) -> BestFit { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `alloc` is never used [INFO] [stdout] --> piet-gpu-hal/src/bestfit.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn alloc(&mut self, size: u32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `free` is never used [INFO] [stdout] --> piet-gpu-hal/src/bestfit.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn free(&mut self, ix: u32, size: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pgpu-render v0.1.0 (/opt/rustwide/workdir/pgpu-render) [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.52s [INFO] running `Command { std: "docker" "inspect" "721e7d525533a157fa4cbeed2bd88b1730fca325b154cfcd78646b8bd92375be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "721e7d525533a157fa4cbeed2bd88b1730fca325b154cfcd78646b8bd92375be", kill_on_drop: false }` [INFO] [stdout] 721e7d525533a157fa4cbeed2bd88b1730fca325b154cfcd78646b8bd92375be