[INFO] cloning repository https://github.com/snakedye/paper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/snakedye/paper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnakedye%2Fpaper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnakedye%2Fpaper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc91d5e0963f41d57df97076681a03804b57a5e1 [INFO] checking snakedye/paper against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnakedye%2Fpaper" "/workspace/builds/worker-41/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-41/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snakedye/paper on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/snakedye/paper [INFO] finished tweaking git repo https://github.com/snakedye/paper [INFO] tweaked toml for git repo https://github.com/snakedye/paper written to /workspace/builds/worker-41/source/Cargo.toml [INFO] crate git repo https://github.com/snakedye/paper already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://gitlab.com/snakedye/snui.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8793421c34fa2548f9067df55fa1723cc385c2dba47fe5d2fbbb8b568bd27735 [INFO] running `Command { std: "docker" "start" "-a" "8793421c34fa2548f9067df55fa1723cc385c2dba47fe5d2fbbb8b568bd27735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8793421c34fa2548f9067df55fa1723cc385c2dba47fe5d2fbbb8b568bd27735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8793421c34fa2548f9067df55fa1723cc385c2dba47fe5d2fbbb8b568bd27735", kill_on_drop: false }` [INFO] [stdout] 8793421c34fa2548f9067df55fa1723cc385c2dba47fe5d2fbbb8b568bd27735 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15f2c6d830fc29fbdaa9a79bbbc7e77d0cf474ee36f34e1b09122c532c24c6f0 [INFO] running `Command { std: "docker" "start" "-a" "15f2c6d830fc29fbdaa9a79bbbc7e77d0cf474ee36f34e1b09122c532c24c6f0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking bytemuck v1.7.0 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking deflate v0.9.1 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking fontdue v0.5.2 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking png v0.17.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking memmap2 v0.2.3 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Checking tiny-skia v0.6.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking calloop v0.7.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking smithay-client-toolkit v0.14.0 [INFO] [stderr] Checking snui v0.1.0 (https://gitlab.com/snakedye/snui.git#018aaaf6) [INFO] [stderr] Checking paper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/app.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | let border_hor = Rectangle::new(width, gap, color); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::shapes::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use snui::widgets::shapes::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/app.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | let border_ver = Rectangle::new(gap, height, color); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::shapes::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use snui::widgets::shapes::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/app.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | let border_hor = Rectangle::new(width, gap, color); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::shapes::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use snui::widgets::shapes::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/app.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | let border_ver = Rectangle::new(gap, height, color); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::shapes::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use snui::widgets::shapes::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_width` found for mutable reference `&mut snui::wayland::Buffer<'_>` in the current scope [INFO] [stdout] --> src/app.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let scale = buf.get_width()/width; [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_width` found for mutable reference `&mut snui::wayland::Buffer<'_>` in the current scope [INFO] [stdout] --> src/app.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | let pxcount = buf.get_width() * buf.get_height(); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_height` found for mutable reference `&mut snui::wayland::Buffer<'_>` in the current scope [INFO] [stdout] --> src/app.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | let pxcount = buf.get_width() * buf.get_height(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | let mut writer = &mut buf.canvas[0..]; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `resize` found for reference `&snui::widgets::Image` in the current scope [INFO] [stdout] --> src/app.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | image.resize(width as u32 / scale, height as u32 / scale).draw( [INFO] [stdout] | ^^^^^^ method not found in `&snui::widgets::Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | &mut buf.canvas, [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_width` found for reference `&snui::widgets::Image` in the current scope [INFO] [stdout] --> src/app.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | let img_width = image.get_width(); [INFO] [stdout] | ^^^^^^^^^ method not found in `&snui::widgets::Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_width` found for mutable reference `&mut snui::wayland::Buffer<'_>` in the current scope [INFO] [stdout] --> src/app.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let scale = buf.get_width()/width; [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_width` found for mutable reference `&mut snui::wayland::Buffer<'_>` in the current scope [INFO] [stdout] --> src/app.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | let pxcount = buf.get_width() * buf.get_height(); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_height` found for reference `&snui::widgets::Image` in the current scope [INFO] [stdout] --> src/app.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | let img_height = image.get_height(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&snui::widgets::Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_height` found for mutable reference `&mut snui::wayland::Buffer<'_>` in the current scope [INFO] [stdout] --> src/app.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | let pxcount = buf.get_width() * buf.get_height(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | let mut writer = &mut buf.canvas[0..]; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | image.draw(&mut buf.canvas, x, y); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/app.rs:74:49 [INFO] [stdout] | [INFO] [stdout] 74 | image.draw(&mut buf.canvas, x, y); [INFO] [stdout] | ^ expected `f32`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can cast a `u32` to an `f32`, producing the floating point representation of the integer, [INFO] [stdout] | rounded if necessary [INFO] [stdout] 74 | image.draw(&mut buf.canvas, x as f32, y); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `resize` found for reference `&snui::widgets::Image` in the current scope [INFO] [stdout] --> src/app.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | image.resize(width as u32 / scale, height as u32 / scale).draw( [INFO] [stdout] | ^^^^^^ method not found in `&snui::widgets::Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | &mut buf.canvas, [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_width` found for reference `&snui::widgets::Image` in the current scope [INFO] [stdout] --> src/app.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | let img_width = image.get_width(); [INFO] [stdout] | ^^^^^^^^^ method not found in `&snui::widgets::Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_height` found for reference `&snui::widgets::Image` in the current scope [INFO] [stdout] --> src/app.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | let img_height = image.get_height(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&snui::widgets::Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | image.draw(&mut buf.canvas, x, y); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/app.rs:74:49 [INFO] [stdout] | [INFO] [stdout] 74 | image.draw(&mut buf.canvas, x, y); [INFO] [stdout] | ^ expected `f32`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can cast a `u32` to an `f32`, producing the floating point representation of the integer, [INFO] [stdout] | rounded if necessary [INFO] [stdout] 74 | image.draw(&mut buf.canvas, x as f32, y); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/app.rs:74:52 [INFO] [stdout] | [INFO] [stdout] 74 | image.draw(&mut buf.canvas, x, y); [INFO] [stdout] | ^ expected `&mut DrawContext<'_>`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:84:55 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(image) => image.draw(&mut buf.canvas, 0, 0), [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/app.rs:74:52 [INFO] [stdout] | [INFO] [stdout] 74 | image.draw(&mut buf.canvas, x, y); [INFO] [stdout] | ^ expected `&mut DrawContext<'_>`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:84:55 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(image) => image.draw(&mut buf.canvas, 0, 0), [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/app.rs:84:63 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(image) => image.draw(&mut buf.canvas, 0, 0), [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | help: use a float literal: `0.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/app.rs:84:63 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(image) => image.draw(&mut buf.canvas, 0, 0), [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | help: use a float literal: `0.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/app.rs:84:66 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(image) => image.draw(&mut buf.canvas, 0, 0), [INFO] [stdout] | ^ expected `&mut DrawContext<'_>`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | border_ver.draw(&mut buf.canvas, 0, 0); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | border_hor.draw(&mut buf.canvas, 0, 0); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | border_hor.draw(&mut buf.canvas, 0, height-gap); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | border_ver.draw(&mut buf.canvas, width-gap, 0); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/environment.rs:141:94 [INFO] [stdout] | [INFO] [stdout] 141 | ... if let Ok(mut buf) = Buffer::new( [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/snui-ca05e06b2609ae81/018aaaf/src/wayland/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn new(mempool: &'b mut MemPool, width: i32, height: i32) -> Result<(Self, WlBuffer), ()> { [INFO] [stdout] | ----------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/app.rs:84:66 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(image) => image.draw(&mut buf.canvas, 0, 0), [INFO] [stdout] | ^ expected `&mut DrawContext<'_>`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | border_ver.draw(&mut buf.canvas, 0, 0); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | border_hor.draw(&mut buf.canvas, 0, 0); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | border_hor.draw(&mut buf.canvas, 0, height-gap); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `canvas` on type `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] --> src/app.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | border_ver.draw(&mut buf.canvas, width-gap, 0); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/environment.rs:141:94 [INFO] [stdout] | [INFO] [stdout] 141 | ... if let Ok(mut buf) = Buffer::new( [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/snui-ca05e06b2609ae81/018aaaf/src/wayland/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn new(mempool: &'b mut MemPool, width: i32, height: i32) -> Result<(Self, WlBuffer), ()> { [INFO] [stdout] | ----------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/environment.rs:142:69 [INFO] [stdout] | [INFO] [stdout] 142 | ... width * scale, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `&mut MemPool`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/environment.rs:143:69 [INFO] [stdout] | [INFO] [stdout] 143 | ... height * scale, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 143 | (height * scale).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/environment.rs:142:69 [INFO] [stdout] | [INFO] [stdout] 142 | ... width * scale, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `&mut MemPool`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/environment.rs:143:69 [INFO] [stdout] | [INFO] [stdout] 143 | ... height * scale, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 143 | (height * scale).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/environment.rs:144:69 [INFO] [stdout] | [INFO] [stdout] 144 | ... &mut pool, [INFO] [stdout] | ^^^^^^^^^ expected `i32`, found `&mut &mut MemPool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/environment.rs:144:69 [INFO] [stdout] | [INFO] [stdout] 144 | ... &mut pool, [INFO] [stdout] | ^^^^^^^^^ expected `i32`, found `&mut &mut MemPool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/environment.rs:147:47 [INFO] [stdout] | [INFO] [stdout] 147 | ... app::draw(&mut buf, &env.paper, width, height); [INFO] [stdout] | ^^^^^^^^ expected struct `snui::wayland::Buffer`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] found mutable reference `&mut (snui::wayland::Buffer<'_>, WlBuffer)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `attach` found for tuple `(snui::wayland::Buffer<'_>, WlBuffer)` in the current scope [INFO] [stdout] --> src/environment.rs:148:77 [INFO] [stdout] | [INFO] [stdout] 148 | ... buf.attach(&surface, 0, 0); [INFO] [stdout] | ^^^^^^ method not found in `(snui::wayland::Buffer<'_>, WlBuffer)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/environment.rs:147:47 [INFO] [stdout] | [INFO] [stdout] 147 | ... app::draw(&mut buf, &env.paper, width, height); [INFO] [stdout] | ^^^^^^^^ expected struct `snui::wayland::Buffer`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut snui::wayland::Buffer<'_>` [INFO] [stdout] found mutable reference `&mut (snui::wayland::Buffer<'_>, WlBuffer)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `attach` found for tuple `(snui::wayland::Buffer<'_>, WlBuffer)` in the current scope [INFO] [stdout] --> src/environment.rs:148:77 [INFO] [stdout] | [INFO] [stdout] 148 | ... buf.attach(&surface, 0, 0); [INFO] [stdout] | ^^^^^^ method not found in `(snui::wayland::Buffer<'_>, WlBuffer)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/app.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/app.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599, E0609, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599, E0609, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `paper` due to 27 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "15f2c6d830fc29fbdaa9a79bbbc7e77d0cf474ee36f34e1b09122c532c24c6f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15f2c6d830fc29fbdaa9a79bbbc7e77d0cf474ee36f34e1b09122c532c24c6f0", kill_on_drop: false }` [INFO] [stdout] 15f2c6d830fc29fbdaa9a79bbbc7e77d0cf474ee36f34e1b09122c532c24c6f0