[INFO] cloning repository https://github.com/pzmarzly/kiosk-miarka [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pzmarzly/kiosk-miarka" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpzmarzly%2Fkiosk-miarka", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpzmarzly%2Fkiosk-miarka'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94537cc8a043ec9e3e19aa5fd0d226f29f3e4358 [INFO] checking pzmarzly/kiosk-miarka against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpzmarzly%2Fkiosk-miarka" "/workspace/builds/worker-78/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-78/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pzmarzly/kiosk-miarka on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pzmarzly/kiosk-miarka [INFO] finished tweaking git repo https://github.com/pzmarzly/kiosk-miarka [INFO] tweaked toml for git repo https://github.com/pzmarzly/kiosk-miarka written to /workspace/builds/worker-78/source/Cargo.toml [INFO] crate git repo https://github.com/pzmarzly/kiosk-miarka already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gtk-sys v0.7.0 [INFO] [stderr] Downloaded glib v0.6.0 [INFO] [stderr] Downloaded gdk-sys v0.7.0 [INFO] [stderr] Downloaded glib-sys v0.7.0 [INFO] [stderr] Downloaded gdk-pixbuf v0.5.0 [INFO] [stderr] Downloaded gio v0.5.1 [INFO] [stderr] Downloaded cairo-rs v0.5.0 [INFO] [stderr] Downloaded tokio-uds v0.2.3 [INFO] [stderr] Downloaded tokio v0.1.11 [INFO] [stderr] Downloaded redox_syscall v0.1.42 [INFO] [stderr] Downloaded tokio-threadpool v0.1.8 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.7.0 [INFO] [stderr] Downloaded tokio-current-thread v0.1.3 [INFO] [stderr] Downloaded cairo-sys-rs v0.7.0 [INFO] [stderr] Downloaded atk-sys v0.7.0 [INFO] [stderr] Downloaded encoding_rs v0.8.11 [INFO] [stderr] Downloaded soup-sys v0.7.0 [INFO] [stderr] Downloaded webkit2gtk v0.5.1 [INFO] [stderr] Downloaded gobject-sys v0.7.0 [INFO] [stderr] Downloaded javascriptcore-rs-sys v0.1.1 [INFO] [stderr] Downloaded tokio-timer v0.2.7 [INFO] [stderr] Downloaded javascriptcore-rs v0.5.0 [INFO] [stderr] Downloaded pango-sys v0.7.0 [INFO] [stderr] Downloaded gdk v0.9.0 [INFO] [stderr] Downloaded pango v0.5.0 [INFO] [stderr] Downloaded gtk v0.5.0 [INFO] [stderr] Downloaded gio-sys v0.7.0 [INFO] [stderr] Downloaded tokio-reactor v0.1.6 [INFO] [stderr] Downloaded webkit2gtk-sys v0.7.0 [INFO] [stderr] Downloaded tokio-udp v0.1.2 [INFO] [stderr] Downloaded bytes v0.4.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6045dc3d22f53292c2205f5a3aa95301cc203416cf773994ae10048acd2c3f22 [INFO] running `Command { std: "docker" "start" "-a" "6045dc3d22f53292c2205f5a3aa95301cc203416cf773994ae10048acd2c3f22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6045dc3d22f53292c2205f5a3aa95301cc203416cf773994ae10048acd2c3f22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6045dc3d22f53292c2205f5a3aa95301cc203416cf773994ae10048acd2c3f22", kill_on_drop: false }` [INFO] [stdout] 6045dc3d22f53292c2205f5a3aa95301cc203416cf773994ae10048acd2c3f22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeba4ee5b883fa313fa86ef600ea3d1c5c12482319941f1f31d81fd42c48689c [INFO] running `Command { std: "docker" "start" "-a" "eeba4ee5b883fa313fa86ef600ea3d1c5c12482319941f1f31d81fd42c48689c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] phf_shared v0.7.23 (as host dependency): unicase [INFO] [stderr] [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking lazycell v1.2.0 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling gio v0.5.1 [INFO] [stderr] Compiling openssl v0.10.15 [INFO] [stderr] Compiling gdk-pixbuf v0.5.0 [INFO] [stderr] Checking fragile v0.3.0 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling cairo-rs v0.5.0 [INFO] [stderr] Checking string v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Compiling gdk v0.9.0 [INFO] [stderr] Compiling encoding_rs v0.8.11 [INFO] [stderr] Compiling gtk v0.5.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Compiling glib-sys v0.7.0 [INFO] [stderr] Compiling gobject-sys v0.7.0 [INFO] [stderr] Compiling gio-sys v0.7.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.7.0 [INFO] [stderr] Compiling cairo-sys-rs v0.7.0 [INFO] [stderr] Compiling pango-sys v0.7.0 [INFO] [stderr] Compiling gdk-sys v0.7.0 [INFO] [stderr] Compiling atk-sys v0.7.0 [INFO] [stderr] Compiling gtk-sys v0.7.0 [INFO] [stderr] Compiling soup-sys v0.7.0 [INFO] [stderr] Compiling webkit2gtk-sys v0.7.0 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking crossbeam-utils v0.6.1 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Checking smallvec v0.6.6 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking libflate v0.1.18 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking tokio-executor v0.1.5 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking javascriptcore-rs-sys v0.1.1 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Checking tokio-timer v0.2.7 [INFO] [stderr] Checking tokio-current-thread v0.1.3 [INFO] [stderr] Checking crossbeam-deque v0.6.2 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking mime v0.3.12 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking phf_shared v0.7.23 [INFO] [stderr] Checking tokio-io v0.1.10 [INFO] [stderr] Checking http v0.1.13 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Compiling openssl-sys v0.9.39 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Checking glib v0.6.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking tokio-threadpool v0.1.8 [INFO] [stderr] Checking uuid v0.7.1 [INFO] [stderr] Checking tokio-fs v0.1.4 [INFO] [stderr] Checking pango v0.5.0 [INFO] [stderr] Checking javascriptcore-rs v0.5.0 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking h2 v0.1.13 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking serde_urlencoded v0.5.3 [INFO] [stderr] Checking tokio-reactor v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking tokio-udp v0.1.2 [INFO] [stderr] Checking tokio-uds v0.2.3 [INFO] [stderr] Checking tokio v0.1.11 [INFO] [stderr] Checking hyper v0.12.14 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking reqwest v0.9.5 [INFO] [stderr] Checking webkit2gtk v0.5.1 [INFO] [stderr] Checking kiosk-miarka v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/miarka.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fetch() -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Orientation`, `WindowType` [INFO] [stdout] --> src/main.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | use gtk::{Box, Builder, Image, Label, Orientation, Window, WindowType}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicPtr` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::atomic::AtomicPtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option<&cairo::Surface>: From>` is not satisfied [INFO] [stdout] --> src/main.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | img1.set_from_surface(Some(ptr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `From>` is not implemented for `Option<&cairo::Surface>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&'a Option>> [INFO] [stdout] as From<&'a mut Option>> [INFO] [stdout] as From> [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option<&cairo::Surface>: From>` is not satisfied [INFO] [stdout] --> src/main.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | img2.set_from_surface(Some(ptr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `From>` is not implemented for `Option<&cairo::Surface>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&'a Option>> [INFO] [stdout] as From<&'a mut Option>> [INFO] [stdout] as From> [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut cairo_sys::cairo_surface_t` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `*mut cairo_sys::cairo_surface_t` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `cairo::Surface`, the trait `Send` is not implemented for `*mut cairo_sys::cairo_surface_t` [INFO] [stdout] = note: required because it appears within the type `cairo::Surface` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Sender` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `NonNull` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `NonNull` cannot be sent between threads safely [INFO] [stdout] ... [INFO] [stdout] 127 | / move |res| { [INFO] [stdout] 128 | | let pstx = pstx.clone(); [INFO] [stdout] 129 | | if let Ok(surface) = res { [INFO] [stdout] 130 | | img.set_from_surface(Some(&surface)); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }, [INFO] [stdout] | |_________________- within this `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:127:17: 135:18]`, the trait `Send` is not implemented for `NonNull` [INFO] [stdout] = note: required because it appears within the type `glib::shared::Shared` [INFO] [stdout] = note: required because it appears within the type `glib::object::ObjectRef` [INFO] [stdout] = note: required because it appears within the type `gtk::Image` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut gtk_sys::GtkImagePrivate` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `*mut gtk_sys::GtkImagePrivate` cannot be sent between threads safely [INFO] [stdout] ... [INFO] [stdout] 127 | / move |res| { [INFO] [stdout] 128 | | let pstx = pstx.clone(); [INFO] [stdout] 129 | | if let Ok(surface) = res { [INFO] [stdout] 130 | | img.set_from_surface(Some(&surface)); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }, [INFO] [stdout] | |_________________- within this `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:127:17: 135:18]`, the trait `Send` is not implemented for `*mut gtk_sys::GtkImagePrivate` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkImage` [INFO] [stdout] = note: required because it appears within the type `PhantomData` [INFO] [stdout] = note: required because it appears within the type `gtk::Image` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*const glib::object::MemoryManager` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `*const glib::object::MemoryManager` cannot be sent between threads safely [INFO] [stdout] ... [INFO] [stdout] 127 | / move |res| { [INFO] [stdout] 128 | | let pstx = pstx.clone(); [INFO] [stdout] 129 | | if let Ok(surface) = res { [INFO] [stdout] 130 | | img.set_from_surface(Some(&surface)); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }, [INFO] [stdout] | |_________________- within this `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:127:17: 135:18]`, the trait `Send` is not implemented for `*const glib::object::MemoryManager` [INFO] [stdout] = note: required because it appears within the type `PhantomData<*const glib::object::MemoryManager>` [INFO] [stdout] = note: required because it appears within the type `glib::shared::Shared` [INFO] [stdout] = note: required because it appears within the type `glib::object::ObjectRef` [INFO] [stdout] = note: required because it appears within the type `gtk::Image` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut gtk_sys::GtkMiscPrivate` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `*mut gtk_sys::GtkMiscPrivate` cannot be sent between threads safely [INFO] [stdout] ... [INFO] [stdout] 127 | / move |res| { [INFO] [stdout] 128 | | let pstx = pstx.clone(); [INFO] [stdout] 129 | | if let Ok(surface) = res { [INFO] [stdout] 130 | | img.set_from_surface(Some(&surface)); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }, [INFO] [stdout] | |_________________- within this `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:127:17: 135:18]`, the trait `Send` is not implemented for `*mut gtk_sys::GtkMiscPrivate` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkMisc` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkImage` [INFO] [stdout] = note: required because it appears within the type `PhantomData` [INFO] [stdout] = note: required because it appears within the type `gtk::Image` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut gtk_sys::GtkWidgetPrivate` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `*mut gtk_sys::GtkWidgetPrivate` cannot be sent between threads safely [INFO] [stdout] ... [INFO] [stdout] 127 | / move |res| { [INFO] [stdout] 128 | | let pstx = pstx.clone(); [INFO] [stdout] 129 | | if let Ok(surface) = res { [INFO] [stdout] 130 | | img.set_from_surface(Some(&surface)); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }, [INFO] [stdout] | |_________________- within this `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:127:17: 135:18]`, the trait `Send` is not implemented for `*mut gtk_sys::GtkWidgetPrivate` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkWidget` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkMisc` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkImage` [INFO] [stdout] = note: required because it appears within the type `PhantomData` [INFO] [stdout] = note: required because it appears within the type `gtk::Image` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut glib_sys::GData` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `*mut glib_sys::GData` cannot be sent between threads safely [INFO] [stdout] ... [INFO] [stdout] 127 | / move |res| { [INFO] [stdout] 128 | | let pstx = pstx.clone(); [INFO] [stdout] 129 | | if let Ok(surface) = res { [INFO] [stdout] 130 | | img.set_from_surface(Some(&surface)); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }, [INFO] [stdout] | |_________________- within this `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:127:17: 135:18]`, the trait `Send` is not implemented for `*mut glib_sys::GData` [INFO] [stdout] = note: required because it appears within the type `gobject_sys::GInitiallyUnowned` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkWidget` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkMisc` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkImage` [INFO] [stdout] = note: required because it appears within the type `PhantomData` [INFO] [stdout] = note: required because it appears within the type `gtk::Image` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut gobject_sys::GTypeClass` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `*mut gobject_sys::GTypeClass` cannot be sent between threads safely [INFO] [stdout] ... [INFO] [stdout] 127 | / move |res| { [INFO] [stdout] 128 | | let pstx = pstx.clone(); [INFO] [stdout] 129 | | if let Ok(surface) = res { [INFO] [stdout] 130 | | img.set_from_surface(Some(&surface)); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }, [INFO] [stdout] | |_________________- within this `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:127:17: 135:18]`, the trait `Send` is not implemented for `*mut gobject_sys::GTypeClass` [INFO] [stdout] = note: required because it appears within the type `gobject_sys::GTypeInstance` [INFO] [stdout] = note: required because it appears within the type `gobject_sys::GInitiallyUnowned` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkWidget` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkMisc` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkImage` [INFO] [stdout] = note: required because it appears within the type `PhantomData` [INFO] [stdout] = note: required because it appears within the type `gtk::Image` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kiosk-miarka` due to 11 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/miarka.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fetch() -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Orientation`, `WindowType` [INFO] [stdout] --> src/main.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | use gtk::{Box, Builder, Image, Label, Orientation, Window, WindowType}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicPtr` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::atomic::AtomicPtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option<&cairo::Surface>: From>` is not satisfied [INFO] [stdout] --> src/main.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | img1.set_from_surface(Some(ptr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `From>` is not implemented for `Option<&cairo::Surface>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&'a Option>> [INFO] [stdout] as From<&'a mut Option>> [INFO] [stdout] as From> [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option<&cairo::Surface>: From>` is not satisfied [INFO] [stdout] --> src/main.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | img2.set_from_surface(Some(ptr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `From>` is not implemented for `Option<&cairo::Surface>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&'a Option>> [INFO] [stdout] as From<&'a mut Option>> [INFO] [stdout] as From> [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut cairo_sys::cairo_surface_t` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `*mut cairo_sys::cairo_surface_t` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `cairo::Surface`, the trait `Send` is not implemented for `*mut cairo_sys::cairo_surface_t` [INFO] [stdout] = note: required because it appears within the type `cairo::Surface` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Sender` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `NonNull` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `NonNull` cannot be sent between threads safely [INFO] [stdout] ... [INFO] [stdout] 127 | / move |res| { [INFO] [stdout] 128 | | let pstx = pstx.clone(); [INFO] [stdout] 129 | | if let Ok(surface) = res { [INFO] [stdout] 130 | | img.set_from_surface(Some(&surface)); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }, [INFO] [stdout] | |_________________- within this `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:127:17: 135:18]`, the trait `Send` is not implemented for `NonNull` [INFO] [stdout] = note: required because it appears within the type `glib::shared::Shared` [INFO] [stdout] = note: required because it appears within the type `glib::object::ObjectRef` [INFO] [stdout] = note: required because it appears within the type `gtk::Image` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut gtk_sys::GtkImagePrivate` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `*mut gtk_sys::GtkImagePrivate` cannot be sent between threads safely [INFO] [stdout] ... [INFO] [stdout] 127 | / move |res| { [INFO] [stdout] 128 | | let pstx = pstx.clone(); [INFO] [stdout] 129 | | if let Ok(surface) = res { [INFO] [stdout] 130 | | img.set_from_surface(Some(&surface)); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }, [INFO] [stdout] | |_________________- within this `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:127:17: 135:18]`, the trait `Send` is not implemented for `*mut gtk_sys::GtkImagePrivate` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkImage` [INFO] [stdout] = note: required because it appears within the type `PhantomData` [INFO] [stdout] = note: required because it appears within the type `gtk::Image` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*const glib::object::MemoryManager` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `*const glib::object::MemoryManager` cannot be sent between threads safely [INFO] [stdout] ... [INFO] [stdout] 127 | / move |res| { [INFO] [stdout] 128 | | let pstx = pstx.clone(); [INFO] [stdout] 129 | | if let Ok(surface) = res { [INFO] [stdout] 130 | | img.set_from_surface(Some(&surface)); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }, [INFO] [stdout] | |_________________- within this `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:127:17: 135:18]`, the trait `Send` is not implemented for `*const glib::object::MemoryManager` [INFO] [stdout] = note: required because it appears within the type `PhantomData<*const glib::object::MemoryManager>` [INFO] [stdout] = note: required because it appears within the type `glib::shared::Shared` [INFO] [stdout] = note: required because it appears within the type `glib::object::ObjectRef` [INFO] [stdout] = note: required because it appears within the type `gtk::Image` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut gtk_sys::GtkMiscPrivate` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `*mut gtk_sys::GtkMiscPrivate` cannot be sent between threads safely [INFO] [stdout] ... [INFO] [stdout] 127 | / move |res| { [INFO] [stdout] 128 | | let pstx = pstx.clone(); [INFO] [stdout] 129 | | if let Ok(surface) = res { [INFO] [stdout] 130 | | img.set_from_surface(Some(&surface)); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }, [INFO] [stdout] | |_________________- within this `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:127:17: 135:18]`, the trait `Send` is not implemented for `*mut gtk_sys::GtkMiscPrivate` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkMisc` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkImage` [INFO] [stdout] = note: required because it appears within the type `PhantomData` [INFO] [stdout] = note: required because it appears within the type `gtk::Image` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut gtk_sys::GtkWidgetPrivate` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `*mut gtk_sys::GtkWidgetPrivate` cannot be sent between threads safely [INFO] [stdout] ... [INFO] [stdout] 127 | / move |res| { [INFO] [stdout] 128 | | let pstx = pstx.clone(); [INFO] [stdout] 129 | | if let Ok(surface) = res { [INFO] [stdout] 130 | | img.set_from_surface(Some(&surface)); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }, [INFO] [stdout] | |_________________- within this `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:127:17: 135:18]`, the trait `Send` is not implemented for `*mut gtk_sys::GtkWidgetPrivate` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkWidget` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkMisc` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkImage` [INFO] [stdout] = note: required because it appears within the type `PhantomData` [INFO] [stdout] = note: required because it appears within the type `gtk::Image` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut glib_sys::GData` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `*mut glib_sys::GData` cannot be sent between threads safely [INFO] [stdout] ... [INFO] [stdout] 127 | / move |res| { [INFO] [stdout] 128 | | let pstx = pstx.clone(); [INFO] [stdout] 129 | | if let Ok(surface) = res { [INFO] [stdout] 130 | | img.set_from_surface(Some(&surface)); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }, [INFO] [stdout] | |_________________- within this `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:127:17: 135:18]`, the trait `Send` is not implemented for `*mut glib_sys::GData` [INFO] [stdout] = note: required because it appears within the type `gobject_sys::GInitiallyUnowned` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkWidget` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkMisc` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkImage` [INFO] [stdout] = note: required because it appears within the type `PhantomData` [INFO] [stdout] = note: required because it appears within the type `gtk::Image` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut gobject_sys::GTypeClass` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | wv.get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ `*mut gobject_sys::GTypeClass` cannot be sent between threads safely [INFO] [stdout] ... [INFO] [stdout] 127 | / move |res| { [INFO] [stdout] 128 | | let pstx = pstx.clone(); [INFO] [stdout] 129 | | if let Ok(surface) = res { [INFO] [stdout] 130 | | img.set_from_surface(Some(&surface)); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }, [INFO] [stdout] | |_________________- within this `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:127:17: 135:18]`, the trait `Send` is not implemented for `*mut gobject_sys::GTypeClass` [INFO] [stdout] = note: required because it appears within the type `gobject_sys::GTypeInstance` [INFO] [stdout] = note: required because it appears within the type `gobject_sys::GInitiallyUnowned` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkWidget` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkMisc` [INFO] [stdout] = note: required because it appears within the type `gtk_sys::GtkImage` [INFO] [stdout] = note: required because it appears within the type `PhantomData` [INFO] [stdout] = note: required because it appears within the type `gtk::Image` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:127:17: 135:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "eeba4ee5b883fa313fa86ef600ea3d1c5c12482319941f1f31d81fd42c48689c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeba4ee5b883fa313fa86ef600ea3d1c5c12482319941f1f31d81fd42c48689c", kill_on_drop: false }` [INFO] [stdout] eeba4ee5b883fa313fa86ef600ea3d1c5c12482319941f1f31d81fd42c48689c