[INFO] cloning repository https://github.com/atwupack/editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atwupack/editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatwupack%2Feditor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatwupack%2Feditor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0c7b16df87b50037ecd693d1f619dcb40c6edd4 [INFO] checking atwupack/editor against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatwupack%2Feditor" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atwupack/editor on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/atwupack/editor [INFO] finished tweaking git repo https://github.com/atwupack/editor [INFO] tweaked toml for git repo https://github.com/atwupack/editor written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/atwupack/editor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60e0a524b57c4ac9f2464ccacbf3f996c04dc8e6fafeb11aebd67ebd82cb3e55 [INFO] running `Command { std: "docker" "start" "-a" "60e0a524b57c4ac9f2464ccacbf3f996c04dc8e6fafeb11aebd67ebd82cb3e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60e0a524b57c4ac9f2464ccacbf3f996c04dc8e6fafeb11aebd67ebd82cb3e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60e0a524b57c4ac9f2464ccacbf3f996c04dc8e6fafeb11aebd67ebd82cb3e55", kill_on_drop: false }` [INFO] [stdout] 60e0a524b57c4ac9f2464ccacbf3f996c04dc8e6fafeb11aebd67ebd82cb3e55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4081dcce03a2bcde73665b32b75654aee8ddbf35d8b7b4b078303e4f878d7cc4 [INFO] running `Command { std: "docker" "start" "-a" "4081dcce03a2bcde73665b32b75654aee8ddbf35d8b7b4b078303e4f878d7cc4", 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] Compiling libc v0.2.48 [INFO] [stderr] Compiling gio v0.5.1 [INFO] [stderr] Compiling cairo-rs v0.5.0 [INFO] [stderr] Compiling gdk-pixbuf v0.5.0 [INFO] [stderr] Checking fragile v0.3.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling gdk v0.9.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling gtk v0.5.0 [INFO] [stderr] Checking fluent-locale v0.4.1 [INFO] [stderr] Checking dunce v0.1.1 [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 cairo-sys-rs v0.7.0 [INFO] [stderr] Compiling gdk-pixbuf-sys 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 backtrace v0.3.13 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking annotate-snippets v0.1.0 [INFO] [stderr] Checking intl_pluralrules v1.0.2 [INFO] [stderr] Checking fluent-syntax v0.1.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking backtrace-sys v0.1.28 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking glib v0.6.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking pango v0.5.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking fluent v0.4.3 [INFO] [stderr] Checking editor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `App` [INFO] [stdout] --> src/service/mod.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::app::{App, AppContext}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/message.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | listeners: HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&App, &str, &dyn Any)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/message.rs:11:54 [INFO] [stdout] | [INFO] [stdout] 11 | connections: HashMap Box>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&dyn Any) -> Box` [INFO] [stdout] | [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 import: `App` [INFO] [stdout] --> src/service/mod.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::app::{App, AppContext}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/message.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | listeners: HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&App, &str, &dyn Any)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service/message.rs:11:54 [INFO] [stdout] | [INFO] [stdout] 11 | connections: HashMap Box>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&dyn Any) -> Box` [INFO] [stdout] | [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 import: `std::cell::RefMut` [INFO] [stdout] --> src/service/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | use std::cell::RefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `self.service_factory` as mutable more than once at a time [INFO] [stdout] --> src/app.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | self.service_factory.get_service(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----------^----^ [INFO] [stdout] | | | | [INFO] [stdout] | | | first mutable borrow occurs here [INFO] [stdout] | | first borrow later used by call [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/app.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_service(&mut self) -> &mut S { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 33 | self.service_factory.get_service(self) [INFO] [stdout] | ---------------------------------^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | second mutable borrow occurs here [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | returning this value requires that `self.service_factory` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `editor` due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/mod.rs:61:52 [INFO] [stdout] | [INFO] [stdout] 61 | let _ms = sr.get_service::(&app); [INFO] [stdout] | ^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut AppContext` [INFO] [stdout] found reference `&App` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/mod.rs:68:49 [INFO] [stdout] | [INFO] [stdout] 68 | let _ts = sr.get_service::(&app); [INFO] [stdout] | ^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut AppContext` [INFO] [stdout] found reference `&App` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/file.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | let mut fs = FileService::new(&app); [INFO] [stdout] | ^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut AppContext` [INFO] [stdout] found reference `&App` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/file.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 137 | let mut fs = FileService::new(&app); [INFO] [stdout] | ^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut AppContext` [INFO] [stdout] found reference `&App` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4081dcce03a2bcde73665b32b75654aee8ddbf35d8b7b4b078303e4f878d7cc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4081dcce03a2bcde73665b32b75654aee8ddbf35d8b7b4b078303e4f878d7cc4", kill_on_drop: false }` [INFO] [stdout] 4081dcce03a2bcde73665b32b75654aee8ddbf35d8b7b4b078303e4f878d7cc4