[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/f0c7b16df87b50037ecd693d1f619dcb40c6edd4 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatwupack%2Feditor" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atwupack/editor on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pango v0.5.0 [INFO] [stderr] Downloaded pango-sys v0.7.0 [INFO] [stderr] Downloaded gobject-sys v0.7.0 [INFO] [stderr] Downloaded gio-sys v0.7.0 [INFO] [stderr] Downloaded glib-sys v0.7.0 [INFO] [stderr] Downloaded gdk-pixbuf v0.5.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.13 [INFO] [stderr] Downloaded annotate-snippets v0.1.0 [INFO] [stderr] Downloaded fluent v0.4.3 [INFO] [stderr] Downloaded cairo-rs v0.5.0 [INFO] [stderr] Downloaded dunce v0.1.1 [INFO] [stderr] Downloaded gdk v0.9.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.28 [INFO] [stderr] Downloaded downcast-rs v1.0.3 [INFO] [stderr] Downloaded fluent-locale v0.4.1 [INFO] [stderr] Downloaded fluent-syntax v0.1.1 [INFO] [stderr] Downloaded fragile v0.3.0 [INFO] [stderr] Downloaded backtrace v0.3.13 [INFO] [stderr] Downloaded gdk-sys v0.7.0 [INFO] [stderr] Downloaded intl_pluralrules v1.0.2 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.7.0 [INFO] [stderr] Downloaded gio v0.5.1 [INFO] [stderr] Downloaded atk-sys v0.7.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.7.0 [INFO] [stderr] Downloaded gtk-sys v0.7.0 [INFO] [stderr] Downloaded glib v0.6.1 [INFO] [stderr] Downloaded gtk v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c196d2a824e43dc0309a99cc2b9fc2668b2da4cedc2889ca55dacaeaeae3e1ff [INFO] running `Command { std: "docker" "start" "-a" "c196d2a824e43dc0309a99cc2b9fc2668b2da4cedc2889ca55dacaeaeae3e1ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c196d2a824e43dc0309a99cc2b9fc2668b2da4cedc2889ca55dacaeaeae3e1ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c196d2a824e43dc0309a99cc2b9fc2668b2da4cedc2889ca55dacaeaeae3e1ff", kill_on_drop: false }` [INFO] [stdout] c196d2a824e43dc0309a99cc2b9fc2668b2da4cedc2889ca55dacaeaeae3e1ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58569f539da3618c132617dec93ebf34525c2b3564f2882950314dab9b4572ea [INFO] running `Command { std: "docker" "start" "-a" "58569f539da3618c132617dec93ebf34525c2b3564f2882950314dab9b4572ea", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Compiling gio v0.5.1 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Checking fragile v0.3.0 [INFO] [stderr] Compiling cairo-rs v0.5.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling gdk-pixbuf v0.5.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling gdk v0.9.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Compiling gtk v0.5.0 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Checking fluent-locale v0.4.1 [INFO] [stderr] Checking dunce v0.1.1 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Checking annotate-snippets v0.1.0 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling backtrace v0.3.13 [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] Checking intl_pluralrules v1.0.2 [INFO] [stderr] Checking fluent-syntax v0.1.1 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking glib v0.6.1 [INFO] [stderr] Checking pango v0.5.0 [INFO] [stderr] Compiling synstructure v0.10.1 [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] 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[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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut AppContext` [INFO] [stdout] found reference `&App` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/service/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(ctx: &mut AppContext) -> Self [INFO] [stdout] | ^^^ [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut AppContext` [INFO] [stdout] found reference `&App` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/service/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(ctx: &mut AppContext) -> Self [INFO] [stdout] | ^^^ [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` (bin "editor") due to 2 previous errors [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] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut AppContext` [INFO] [stdout] found reference `&App` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/service/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_service(&mut self, ctx: &mut AppContext) -> &mut S { [INFO] [stdout] | ^^^^^^^^^^^ -------------------- [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] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut AppContext` [INFO] [stdout] found reference `&App` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/service/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_service(&mut self, ctx: &mut AppContext) -> &mut S { [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] Some errors have detailed explanations: E0308, E0499. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `editor` (bin "editor" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "58569f539da3618c132617dec93ebf34525c2b3564f2882950314dab9b4572ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58569f539da3618c132617dec93ebf34525c2b3564f2882950314dab9b4572ea", kill_on_drop: false }` [INFO] [stdout] 58569f539da3618c132617dec93ebf34525c2b3564f2882950314dab9b4572ea