[INFO] updating cached repository https://github.com/atwupack/editor
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] f0c7b16df87b50037ecd693d1f619dcb40c6edd4
[INFO] checking atwupack/editor against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatwupack%2Feditor" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/atwupack/editor on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-1/source/Cargo.toml
[INFO] crate git repo https://github.com/atwupack/editor already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] 9a2a560f55154934a355e4e0906bc0186fbbdf58b10d7aa65ee3f6efddda390f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "9a2a560f55154934a355e4e0906bc0186fbbdf58b10d7aa65ee3f6efddda390f"`
[INFO] [stderr]    Compiling gio v0.5.1
[INFO] [stderr]    Compiling gdk-pixbuf v0.5.0
[INFO] [stderr]    Compiling cairo-rs v0.5.0
[INFO] [stderr]    Compiling gdk v0.9.0
[INFO] [stderr]    Compiling gtk v0.5.0
[INFO] [stderr]     Checking fluent-locale v0.4.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 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 gtk-sys v0.7.0
[INFO] [stderr]     Checking annotate-snippets v0.1.0
[INFO] [stderr]     Checking intl_pluralrules v1.0.2
[INFO] [stderr]     Checking clap v2.32.0
[INFO] [stderr]     Checking backtrace v0.3.13
[INFO] [stderr]    Compiling syn v0.15.26
[INFO] [stderr]     Checking fluent-syntax v0.1.1
[INFO] [stderr]    Compiling atk-sys v0.7.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] [stderr] warning: unused import: `App`
[INFO] [stderr]  --> src/service/mod.rs:5:18
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::app::{App, AppContext};
[INFO] [stderr]   |                  ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/service/message.rs:10:40
[INFO] [stderr]    |
[INFO] [stderr] 10 |     listeners: HashMap<TypeId, Vec<Box<Fn(&App, &str, &dyn Any)>>>,
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&App, &str, &dyn Any)`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/service/message.rs:11:54
[INFO] [stderr]    |
[INFO] [stderr] 11 |     connections: HashMap<TypeId, HashMap<TypeId, Box<Fn(&dyn Any) -> Box<dyn Any>>>>,
[INFO] [stderr]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&dyn Any) -> Box<dyn Any>`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cell::RefMut`
[INFO] [stderr]   --> src/service/mod.rs:55:9
[INFO] [stderr]    |
[INFO] [stderr] 55 |     use std::cell::RefMut;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `App`
[INFO] [stderr]  --> src/service/mod.rs:5:18
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::app::{App, AppContext};
[INFO] [stderr]   |                  ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/service/message.rs:10:40
[INFO] [stderr]    |
[INFO] [stderr] 10 |     listeners: HashMap<TypeId, Vec<Box<Fn(&App, &str, &dyn Any)>>>,
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&App, &str, &dyn Any)`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/service/message.rs:11:54
[INFO] [stderr]    |
[INFO] [stderr] 11 |     connections: HashMap<TypeId, HashMap<TypeId, Box<Fn(&dyn Any) -> Box<dyn Any>>>>,
[INFO] [stderr]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&dyn Any) -> Box<dyn Any>`
[INFO] [stderr] 
[INFO] [stderr] error[E0499]: cannot borrow `self.service_factory` as mutable more than once at a time
[INFO] [stderr]   --> src/app.rs:33:9
[INFO] [stderr]    |
[INFO] [stderr] 33 |         self.service_factory.get_service(self)
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^-----------^----^
[INFO] [stderr]    |         |                    |           |
[INFO] [stderr]    |         |                    |           first mutable borrow occurs here
[INFO] [stderr]    |         |                    first borrow later used by call
[INFO] [stderr]    |         second mutable borrow occurs here
[INFO] [stderr] 
[INFO] [stderr] error[E0499]: cannot borrow `*self` as mutable more than once at a time
[INFO] [stderr]   --> src/app.rs:33:42
[INFO] [stderr]    |
[INFO] [stderr] 32 |     pub fn get_service<S: Service>(&mut self) -> &mut S {
[INFO] [stderr]    |                                    - let's call the lifetime of this reference `'1`
[INFO] [stderr] 33 |         self.service_factory.get_service(self)
[INFO] [stderr]    |         ---------------------------------^^^^-
[INFO] [stderr]    |         |                                |
[INFO] [stderr]    |         |                                second mutable borrow occurs here
[INFO] [stderr]    |         first mutable borrow occurs here
[INFO] [stderr]    |         returning this value requires that `self.service_factory` is borrowed for `'1`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/service/mod.rs:61:52
[INFO] [stderr]    |
[INFO] [stderr] 61 |         let _ms = sr.get_service::<MessageService>(&app);
[INFO] [stderr]    |                                                    ^^^^ types differ in mutability
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected mutable reference `&mut app::AppContext`
[INFO] [stderr]                       found reference `&app::App`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0499`.
[INFO] [stderr] error: could not compile `editor`.
[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] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/service/mod.rs:68:49
[INFO] [stderr]    |
[INFO] [stderr] 68 |         let _ts = sr.get_service::<TaskService>(&app);
[INFO] [stderr]    |                                                 ^^^^ types differ in mutability
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected mutable reference `&mut app::AppContext`
[INFO] [stderr]                       found reference `&app::App`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/service/file.rs:125:39
[INFO] [stderr]     |
[INFO] [stderr] 125 |         let mut fs = FileService::new(&app);
[INFO] [stderr]     |                                       ^^^^ types differ in mutability
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected mutable reference `&mut app::AppContext`
[INFO] [stderr]                        found reference `&app::App`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/service/file.rs:137:39
[INFO] [stderr]     |
[INFO] [stderr] 137 |         let mut fs = FileService::new(&app);
[INFO] [stderr]     |                                       ^^^^ types differ in mutability
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected mutable reference `&mut app::AppContext`
[INFO] [stderr]                        found reference `&app::App`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `editor`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "9a2a560f55154934a355e4e0906bc0186fbbdf58b10d7aa65ee3f6efddda390f"`
[INFO] running `"docker" "rm" "-f" "9a2a560f55154934a355e4e0906bc0186fbbdf58b10d7aa65ee3f6efddda390f"`
[INFO] [stdout] 9a2a560f55154934a355e4e0906bc0186fbbdf58b10d7aa65ee3f6efddda390f
