[INFO] cloning repository https://github.com/tamamu/penna-text-editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tamamu/penna-text-editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamamu%2Fpenna-text-editor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamamu%2Fpenna-text-editor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3c0a70c216755465e1d0cf65a1fa3be37cab65a [INFO] checking tamamu/penna-text-editor against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamamu%2Fpenna-text-editor" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tamamu/penna-text-editor on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tamamu/penna-text-editor [INFO] finished tweaking git repo https://github.com/tamamu/penna-text-editor [INFO] tweaked toml for git repo https://github.com/tamamu/penna-text-editor written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/tamamu/penna-text-editor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/gdk.git` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir.git` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir-files.git` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/gtk.git` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir.git` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir-files.git` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/cairo` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/gdk-pixbuf` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/sys` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir-files` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/gio` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir.git` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir-files.git` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/glib` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/pango` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/gdk.git` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir.git` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir-files.git` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/gtk.git` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir.git` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir-files.git` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/cairo` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/gdk-pixbuf` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir.git` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir-files.git` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/sys` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir-files` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/gio` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir.git` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir-files.git` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/glib` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir.git` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir-files.git` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/pango` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir.git` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir-files.git` [INFO] [stderr] Updating git repository `https://github.com/gtk-rs/atk` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir-files` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-crate v0.1.5 [INFO] [stderr] Downloaded strum v0.18.0 [INFO] [stderr] Downloaded strum_macros v0.18.0 [INFO] [stderr] Downloaded system-deps v1.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6161184c4999f20dfd8af2b768a956fc00f5f0e2ffaff8b18bace5f15600c338 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6161184c4999f20dfd8af2b768a956fc00f5f0e2ffaff8b18bace5f15600c338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6161184c4999f20dfd8af2b768a956fc00f5f0e2ffaff8b18bace5f15600c338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6161184c4999f20dfd8af2b768a956fc00f5f0e2ffaff8b18bace5f15600c338", kill_on_drop: false }` [INFO] [stdout] 6161184c4999f20dfd8af2b768a956fc00f5f0e2ffaff8b18bace5f15600c338 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f302ab6aee61439a1b581d5d7f4da8c7c6059d160e67a3e15eaea13c96ae9b53 [INFO] running `Command { std: "docker" "start" "-a" "f302ab6aee61439a1b581d5d7f4da8c7c6059d160e67a3e15eaea13c96ae9b53", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling pin-project-internal v0.4.26 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Checking futures-sink v0.3.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-io v0.3.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling gio v0.9.0 (https://github.com/gtk-rs/gio#c7e6b523) [INFO] [stderr] Compiling pango v0.9.0 (https://github.com/gtk-rs/pango#b98784c9) [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 (https://github.com/gtk-rs/gdk-pixbuf#ca0bc587) [INFO] [stderr] Compiling cairo-rs v0.9.0 (https://github.com/gtk-rs/cairo#b7097572) [INFO] [stderr] Compiling gdk v0.13.0 (https://github.com/gtk-rs/gdk.git#fbb38fdb) [INFO] [stderr] Compiling atk v0.9.0 (https://github.com/gtk-rs/atk#9e3eb263) [INFO] [stderr] Checking futures-channel v0.3.6 [INFO] [stderr] Checking futures-task v0.3.6 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling gtk v0.9.0 (https://github.com/gtk-rs/gtk.git#940cf9a7) [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling glib-macros v0.10.0 (https://github.com/gtk-rs/glib#039e7698) [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Checking pin-project v0.4.26 [INFO] [stderr] Checking futures-util v0.3.6 [INFO] [stderr] Compiling glib-sys v0.10.0 (https://github.com/gtk-rs/sys#dbd887f1) [INFO] [stderr] Compiling gobject-sys v0.10.0 (https://github.com/gtk-rs/sys#dbd887f1) [INFO] [stderr] Compiling gio-sys v0.10.0 (https://github.com/gtk-rs/sys#dbd887f1) [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 (https://github.com/gtk-rs/sys#dbd887f1) [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 (https://github.com/gtk-rs/cairo#b7097572) [INFO] [stderr] Compiling pango-sys v0.10.0 (https://github.com/gtk-rs/sys#dbd887f1) [INFO] [stderr] Compiling gdk-sys v0.10.0 (https://github.com/gtk-rs/sys#dbd887f1) [INFO] [stderr] Compiling atk-sys v0.10.0 (https://github.com/gtk-rs/sys#dbd887f1) [INFO] [stderr] Compiling gtk-sys v0.10.0 (https://github.com/gtk-rs/sys#dbd887f1) [INFO] [stderr] Checking futures-executor v0.3.6 [INFO] [stderr] Checking glib v0.10.0 (https://github.com/gtk-rs/glib#039e7698) [INFO] [stderr] Checking futures v0.3.6 [INFO] [stderr] Checking penna v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `gtk::ImageMenuItem` [INFO] [stdout] --> src/main.rs:11:70 [INFO] [stdout] | [INFO] [stdout] 11 | use gtk::{Window, WindowType, HeaderBar, Box, Orientation, TextView, ImageMenuItem, MenuButton, [INFO] [stdout] | ^^^^^^^^^^^^^ no `ImageMenuItem` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AccelGroup` [INFO] [stdout] --> src/main.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | Image, Popover, TextBuffer, TextIter, AccelGroup, Button}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventKey`, `ModifierType` [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use gdk::{EventKey, ModifierType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gtk::ImageMenuItem` [INFO] [stdout] --> src/main.rs:11:70 [INFO] [stdout] | [INFO] [stdout] 11 | use gtk::{Window, WindowType, HeaderBar, Box, Orientation, TextView, ImageMenuItem, MenuButton, [INFO] [stdout] | ^^^^^^^^^^^^^ no `ImageMenuItem` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AccelGroup` [INFO] [stdout] --> src/main.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | Image, Popover, TextBuffer, TextIter, AccelGroup, Button}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventKey`, `ModifierType` [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use gdk::{EventKey, ModifierType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in closure arguments [INFO] [stdout] --> src/main.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | self.buffer.connect_insert_text(move |buf: &TextBuffer, [INFO] [stdout] | _____________________^^^^^^^^^^^^^^^^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | expected signature of `for<'r, 's, 't0> fn(&'r TextBuffer, &'s mut TextIter, &'t0 str) -> _` [INFO] [stdout] 71 | | iter: &TextIter, [INFO] [stdout] 72 | | new_text: &str| { [INFO] [stdout] 73 | | if ua_ptr3.get() == false { [INFO] [stdout] ... | [INFO] [stdout] 87 | | }); [INFO] [stdout] 88 | | }); [INFO] [stdout] | |_________- found signature of `for<'r, 's, 't0> fn(&'r TextBuffer, &'s TextIter, &'t0 str) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in closure arguments [INFO] [stdout] --> src/main.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | self.buffer.connect_insert_text(move |buf: &TextBuffer, [INFO] [stdout] | _____________________^^^^^^^^^^^^^^^^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | expected signature of `for<'r, 's, 't0> fn(&'r TextBuffer, &'s mut TextIter, &'t0 str) -> _` [INFO] [stdout] 71 | | iter: &TextIter, [INFO] [stdout] 72 | | new_text: &str| { [INFO] [stdout] 73 | | if ua_ptr3.get() == false { [INFO] [stdout] ... | [INFO] [stdout] 87 | | }); [INFO] [stdout] 88 | | }); [INFO] [stdout] | |_________- found signature of `for<'r, 's, 't0> fn(&'r TextBuffer, &'s TextIter, &'t0 str) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | text: text, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found struct `glib::gstring::GString` [INFO] [stdout] | help: try using a conversion method: `text.to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in closure arguments [INFO] [stdout] --> src/main.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | .connect_delete_range(move |buf: &TextBuffer, start: &TextIter, end: &TextIter| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ --------------------------------------------------------- found signature of `for<'r, 's, 't0> fn(&'r TextBuffer, &'s TextIter, &'t0 TextIter) -> _` [INFO] [stdout] | | [INFO] [stdout] | expected signature of `for<'r, 's, 't0> fn(&'r TextBuffer, &'s mut TextIter, &'t0 mut TextIter) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_from_icon_name` found for struct `gtk::Button` in the current scope [INFO] [stdout] --> src/main.rs:181:31 [INFO] [stdout] | [INFO] [stdout] 181 | let undo_button = Button::new_from_icon_name("edit-undo", 24); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `gtk::Button` [INFO] [stdout] | help: there is an associated function with a similar name: `from_icon_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_from_icon_name` found for struct `gtk::Button` in the current scope [INFO] [stdout] --> src/main.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | let redo_button = Button::new_from_icon_name("edit-redo", 24); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `gtk::Button` [INFO] [stdout] | help: there is an associated function with a similar name: `from_icon_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_from_icon_name` found for struct `Image` in the current scope [INFO] [stdout] --> src/main.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | let gears_icon = Image::new_from_icon_name("open-menu", 24); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Image` [INFO] [stdout] | help: there is an associated function with a similar name: `from_icon_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_from_icon_name` found for struct `Image` in the current scope [INFO] [stdout] --> src/main.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | let open_icon = Image::new_from_icon_name("document-open", 24); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Image` [INFO] [stdout] | help: there is an associated function with a similar name: `from_icon_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | file_menu_button.set_image(&gears_icon); [INFO] [stdout] | ^^^^^^^^^^^ expected enum `Option`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&_>` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 199 | file_menu_button.set_image(Some(&gears_icon)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 199 | file_menu_button.set_image(gears_icon); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `penna` [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | text: text, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found struct `glib::gstring::GString` [INFO] [stdout] | help: try using a conversion method: `text.to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0631]: type mismatch in closure arguments [INFO] [stdout] --> src/main.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | .connect_delete_range(move |buf: &TextBuffer, start: &TextIter, end: &TextIter| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ --------------------------------------------------------- found signature of `for<'r, 's, 't0> fn(&'r TextBuffer, &'s TextIter, &'t0 TextIter) -> _` [INFO] [stdout] | | [INFO] [stdout] | expected signature of `for<'r, 's, 't0> fn(&'r TextBuffer, &'s mut TextIter, &'t0 mut TextIter) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `new_from_icon_name` found for struct `gtk::Button` in the current scope [INFO] [stdout] --> src/main.rs:181:31 [INFO] [stdout] | [INFO] [stdout] 181 | let undo_button = Button::new_from_icon_name("edit-undo", 24); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `gtk::Button` [INFO] [stdout] | help: there is an associated function with a similar name: `from_icon_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_from_icon_name` found for struct `gtk::Button` in the current scope [INFO] [stdout] --> src/main.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | let redo_button = Button::new_from_icon_name("edit-redo", 24); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `gtk::Button` [INFO] [stdout] | help: there is an associated function with a similar name: `from_icon_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_from_icon_name` found for struct `Image` in the current scope [INFO] [stdout] --> src/main.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | let gears_icon = Image::new_from_icon_name("open-menu", 24); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Image` [INFO] [stdout] | help: there is an associated function with a similar name: `from_icon_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_from_icon_name` found for struct `Image` in the current scope [INFO] [stdout] --> src/main.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | let open_icon = Image::new_from_icon_name("document-open", 24); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Image` [INFO] [stdout] | help: there is an associated function with a similar name: `from_icon_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | file_menu_button.set_image(&gears_icon); [INFO] [stdout] | ^^^^^^^^^^^ expected enum `Option`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&_>` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 199 | file_menu_button.set_image(Some(&gears_icon)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 199 | file_menu_button.set_image(gears_icon); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f302ab6aee61439a1b581d5d7f4da8c7c6059d160e67a3e15eaea13c96ae9b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f302ab6aee61439a1b581d5d7f4da8c7c6059d160e67a3e15eaea13c96ae9b53", kill_on_drop: false }` [INFO] [stdout] f302ab6aee61439a1b581d5d7f4da8c7c6059d160e67a3e15eaea13c96ae9b53