[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#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamamu%2Fpenna-text-editor" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tamamu/penna-text-editor on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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-0/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 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 submodule `https://github.com/gtk-rs/gir` [INFO] [stderr] Updating git submodule `https://github.com/gtk-rs/gir-files` [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] error: the lock file /workspace/builds/worker-0/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6867893197bfedc6269278f0621f0e19763d7fc4cf08bf03f07b8bc4b3e7939 [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" "e6867893197bfedc6269278f0621f0e19763d7fc4cf08bf03f07b8bc4b3e7939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6867893197bfedc6269278f0621f0e19763d7fc4cf08bf03f07b8bc4b3e7939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6867893197bfedc6269278f0621f0e19763d7fc4cf08bf03f07b8bc4b3e7939", kill_on_drop: false }` [INFO] [stdout] e6867893197bfedc6269278f0621f0e19763d7fc4cf08bf03f07b8bc4b3e7939 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e42282d5bcb20edf3e16efde39d74fcad8b324c5fc803b00e2b90af5b1b83ce6 [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" "e42282d5bcb20edf3e16efde39d74fcad8b324c5fc803b00e2b90af5b1b83ce6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling gio v0.9.0 (https://github.com/gtk-rs/gio#c7e6b523) [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 (https://github.com/gtk-rs/gdk-pixbuf#2502779e) [INFO] [stderr] Compiling cairo-rs v0.9.0 (https://github.com/gtk-rs/cairo#2d5a1cb0) [INFO] [stderr] Compiling pango v0.9.0 (https://github.com/gtk-rs/pango#b98784c9) [INFO] [stderr] Compiling gdk v0.13.0 (https://github.com/gtk-rs/gdk.git#44fc03e8) [INFO] [stderr] Compiling atk v0.9.0 (https://github.com/gtk-rs/atk#9e3eb263) [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling gtk v0.9.0 (https://github.com/gtk-rs/gtk.git#2afee382) [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling glib-macros v0.10.0 (https://github.com/gtk-rs/glib#8df2d205) [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Compiling glib-sys v0.10.0 (https://github.com/gtk-rs/sys#56e03c02) [INFO] [stderr] Compiling gobject-sys v0.10.0 (https://github.com/gtk-rs/sys#56e03c02) [INFO] [stderr] Compiling gio-sys v0.10.0 (https://github.com/gtk-rs/sys#56e03c02) [INFO] [stderr] Compiling pango-sys v0.10.0 (https://github.com/gtk-rs/sys#56e03c02) [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 (https://github.com/gtk-rs/sys#56e03c02) [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 (https://github.com/gtk-rs/cairo#2d5a1cb0) [INFO] [stderr] Compiling gdk-sys v0.10.0 (https://github.com/gtk-rs/sys#56e03c02) [INFO] [stderr] Compiling atk-sys v0.10.0 (https://github.com/gtk-rs/sys#56e03c02) [INFO] [stderr] Compiling gtk-sys v0.10.0 (https://github.com/gtk-rs/sys#56e03c02) [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking glib v0.10.0 (https://github.com/gtk-rs/glib#8df2d205) [INFO] [stderr] Checking futures v0.3.5 [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] 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 gtk::TextBuffer, &'s mut gtk::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 gtk::TextBuffer, &'s gtk::TextIter, &'t0 str) -> _` [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 gtk::TextBuffer, &'s mut gtk::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 gtk::TextBuffer, &'s gtk::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 `std::string::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 gtk::TextBuffer, &'s gtk::TextIter, &'t0 gtk::TextIter) -> _` [INFO] [stdout] | | [INFO] [stdout] | expected signature of `for<'r, 's, 't0> fn(&'r gtk::TextBuffer, &'s mut gtk::TextIter, &'t0 mut gtk::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 `gtk::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 `gtk::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 `gtk::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 `gtk::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 `std::option::Option`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::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] [stderr] [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[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 `std::string::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 gtk::TextBuffer, &'s gtk::TextIter, &'t0 gtk::TextIter) -> _` [INFO] [stdout] | | [INFO] [stdout] | expected signature of `for<'r, 's, 't0> fn(&'r gtk::TextBuffer, &'s mut gtk::TextIter, &'t0 mut gtk::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 `gtk::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 `gtk::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 `gtk::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 `gtk::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 `std::option::Option`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::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" "e42282d5bcb20edf3e16efde39d74fcad8b324c5fc803b00e2b90af5b1b83ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e42282d5bcb20edf3e16efde39d74fcad8b324c5fc803b00e2b90af5b1b83ce6", kill_on_drop: false }` [INFO] [stdout] e42282d5bcb20edf3e16efde39d74fcad8b324c5fc803b00e2b90af5b1b83ce6